Messages in this thread | | | From | Dan Williams <> | Date | Wed, 18 Nov 2020 00:08:03 -0800 | Subject | Re: [PATCH 1/1] ACPI/nfit: avoid accessing uninitialized memory in acpi_nfit_ctl() |
| |
On Tue, Nov 17, 2020 at 11:36 PM Zhen Lei <thunder.leizhen@huawei.com> wrote: > > The ACPI_ALLOCATE() does not zero the "buf", so when the condition > "integer->type != ACPI_TYPE_INTEGER" in int_to_buf() is met, the result > is unpredictable in acpi_nfit_ctl(). > > Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Looks good to me.
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
I'll pick this up.
| |