aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.c
diff options
context:
space:
mode:
authorHans de Goede <[email protected]>2021-08-26 14:08:22 +0000
committerHans de Goede <[email protected]>2021-08-26 14:09:43 +0000
commit0487d4fc42d7f31a56cfd9e2237f9ebd889e6112 (patch)
treee13e56c0d08fb682952301ea3ad8de347d6d803b /fs/ext4/fast_commit.c
parentplatform/x86: dell-smbios-wmi: Avoid false-positive memcpy() warning (diff)
downloadkernel-0487d4fc42d7f31a56cfd9e2237f9ebd889e6112.tar.gz
kernel-0487d4fc42d7f31a56cfd9e2237f9ebd889e6112.zip
platform/x86: dell-smbios-wmi: Add missing kfree in error-exit from run_smbios_call
As pointed out be Kees Cook if we return -EIO because the obj->type != ACPI_TYPE_BUFFER, then we must kfree the output buffer before the return. Fixes: 1a258e670434 ("platform/x86: dell-smbios-wmi: Add new WMI dispatcher driver") Reported-by: Kees Cook <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions