diff options
| author | Zhen Lei <[email protected]> | 2020-11-18 15:35:17 +0800 |
|---|---|---|
| committer | Dan Williams <[email protected]> | 2020-11-18 11:46:18 -0800 |
| commit | 1a57b1a3e11086a4f183b245754b213b1d9b2d40 (patch) | |
| tree | 94fbce75353fbba7b7c53fe3eea7333e03f53211 /drivers/fpga/ts73xx-fpga.c | |
| parent | 09162bc32c880a791c6c0668ce0745cf7958f576 (diff) | |
ACPI/nfit: avoid accessing uninitialized memory in acpi_nfit_ctl()
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 <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/ts73xx-fpga.c')
0 files changed, 0 insertions, 0 deletions