spiegel_podman/pkg/machine
Mikhail Dmitrichenko ba6e527289 fix: check err returned by newGenericDecompressor
There is a couple of newGenericDecompressor function usages, where
returned possibly non-nil `err` is not checked before dereferencing
returned decompressor. It may lead to nil ptr dereferencing.

This commit adds check for `err` to prevent dereferencing potentially
nullable decompressor.

Found by Linux Verification Center (linuxtesting.org) with SVACE

Signed-off-by: Mikhail Dmitrichenko <m.dmitrichenko222@gmail.com>
2025-12-09 09:50:13 -05:00
..
apple pkg/machine: make mount units hook into local-fs 2025-11-25 20:27:47 +00:00
applehv lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
compression fix: check err returned by newGenericDecompressor 2025-12-09 09:50:13 -05:00
connection Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
define Fix cache misses when pulling WSL machine image 2025-11-05 11:53:57 +00:00
e2e fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
env fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
hyperv fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
ignition fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
libkrun lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
lock Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
ocipull Allow artifact add to override org.opencontainers.image.title annotation 2025-10-16 14:24:57 -04:00
os fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
ports fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
provider Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
proxyenv Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
qemu fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
shim lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
sockets run modernize -fix ./... 2025-09-10 16:17:04 +02:00
stdpull Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
vmconfigs lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
wsl Replace FindExecutablePeer with FindHelperBinary 2025-12-08 14:42:36 +01:00
cleanup.go Clean up gvproxy if machine start fails 2024-02-27 13:33:43 -06:00
config.go Switch common, storage and image to monorepo. 2025-09-01 12:33:04 +02:00
config_test.go Switch all calls of assert.Nil to assert.NoError 2025-01-15 07:08:27 -05:00
gvproxy.go Ignore ERROR_SHARING_VIOLATION error on windows 2024-08-06 14:09:36 -05:00
gvproxy_unix.go run modernize -fix ./... 2025-09-10 16:17:04 +02:00
gvproxy_windows.go Ignore ERROR_SHARING_VIOLATION error on windows 2024-08-06 14:09:36 -05:00
keys.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
machine_common.go fileperms: newer Go 1.13+ octal literal format 2025-10-16 14:11:29 -04:00
machine_unix.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
machine_unsupported.go chore: delete obsolete // +build lines 2024-01-04 11:53:38 +02:00
machine_windows.go Replace FindExecutablePeer with FindHelperBinary 2025-12-08 14:42:36 +01:00
machine_windows_test.go Update CI to run Windows unit tests 2025-03-16 13:40:16 +00:00
qemuprovider.go podman5 machine reconfig 1 2024-02-07 08:17:43 -06:00
ssh.go Be explicit about ssh configs suitable only for localhost 2025-05-15 23:04:49 +02:00
ssh_unix.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
ssh_windows.go machine: implement http proxy logic for all providers 2024-02-22 11:23:45 +01:00
update.go Be explicit about ssh configs suitable only for localhost 2025-05-15 23:04:49 +02:00
volumes.go machine/linux: Support virtiofs mounts (retain 9p default) 2024-06-07 10:03:06 -04:00