Zhen Lei 1a57b1a3e1 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 <thunder.leizhen@huawei.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Link: https://lore.kernel.org/r/20201118073517.1884-1-thunder.leizhen@huawei.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2020-11-18 11:46:18 -08:00
..
2020-10-30 14:51:01 -07:00
2020-11-12 13:59:04 -07:00
2020-10-24 10:39:22 -07:00
2020-11-15 10:15:17 -08:00
2020-10-16 12:21:15 -07:00
2020-10-19 14:28:30 -07:00
2020-10-28 19:12:03 +01:00
2020-10-15 14:43:29 -07:00
2020-10-12 13:26:49 -07:00
2020-11-11 09:53:09 +01:00
2020-11-05 11:32:03 -08:00
2020-10-13 12:12:44 -07:00
2020-10-23 10:54:13 -07:00
2020-11-15 09:49:56 -08:00
2020-10-16 12:21:15 -07:00
2020-10-24 10:39:22 -07:00
2020-10-15 14:43:29 -07:00
2020-10-24 10:39:22 -07:00
2020-10-14 15:56:58 -07:00
2020-10-20 10:36:41 -07:00
2020-10-25 11:12:31 -07:00
2020-10-22 12:41:00 -07:00
2020-11-10 15:35:41 +01:00
2020-10-27 19:23:04 +01:00
2020-10-24 10:33:08 -07:00
2020-10-24 10:33:08 -07:00
2020-10-22 12:56:33 -07:00
2020-10-24 10:39:22 -07:00
2020-10-22 12:58:21 -07:00
2020-10-21 11:22:08 -07:00
2020-11-14 12:19:21 -08:00
2020-10-01 22:59:55 +02:00
2020-11-08 11:28:08 -08:00
2020-10-31 14:41:48 -07:00
2020-11-09 08:17:46 +01:00
2020-10-23 11:00:57 -07:00
2020-10-24 10:33:08 -07:00