On Thu, Aug 26, 2021 at 04:08:22PM +0200, Hans de Goede wrote: > 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 <keescook@xxxxxxxxxxxx> > Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> Excellent! Thanks for doing this. :) -Kees -- Kees Cook