Skip to content

Commit a1001c3

Browse files
committed
Merge branch 'acpi-processor'
Merge a fix for recently introduced uninitialized memory access in the ACPI processor driver from Michal Wilczynski. * acpi-processor: ACPI: processor: Fix uninitialized access of buf in acpi_set_pdc_bits()
2 parents e86cdc8 + b2eb3e6 commit a1001c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/acpi/processor_pdc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ static void acpi_set_pdc_bits(u32 *buf)
1919
{
2020
buf[0] = ACPI_PDC_REVISION_ID;
2121
buf[1] = 1;
22+
buf[2] = 0;
2223

2324
/* Twiddle arch-specific bits needed for _PDC */
2425
arch_acpi_set_proc_cap_bits(&buf[2]);

0 commit comments

Comments
 (0)