diff options
| author | Hans de Goede <[email protected]> | 2021-08-26 14:08:22 +0000 |
|---|---|---|
| committer | Hans de Goede <[email protected]> | 2021-08-26 14:09:43 +0000 |
| commit | 0487d4fc42d7f31a56cfd9e2237f9ebd889e6112 (patch) | |
| tree | e13e56c0d08fb682952301ea3ad8de347d6d803b /fs/ext4/fast_commit.c | |
| parent | platform/x86: dell-smbios-wmi: Avoid false-positive memcpy() warning (diff) | |
| download | kernel-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
