coreboot/src
Martin Roth 2098778726 intel/common/opregion.c: only write 16 bytes to 16 byte field
Including the terminating null, 17 characters were being written to the
field, overwriting the a byte of the size field.

Fortunately, the size was updated soon after this.

Fixes coverity warning 1229570 - Destination buffer too small.

Change-Id: I39285a9283dd9a17d638afe5b2755c7e420d7698
Signed-off-by: Martin Roth <martinroth@google.com>
Reviewed-on: https://review.coreboot.org/15889
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
2016-07-28 19:22:35 +02:00
..
acpi arch/x86: provide common Intel ACPI hardware definitions 2016-07-15 08:31:21 +02:00
arch arch/riscv: Refactor bootblock.S 2016-07-28 18:31:28 +02:00
commonlib cbmem: share additional time stamps IDs 2016-07-20 22:09:24 +02:00
console skylake/mainboard: Define mainboard hook in bootblock 2016-07-28 05:17:03 +02:00
cpu cpu/x86: Support CPUs without rdmsr/wrmsr instructions 2016-07-27 13:50:11 +02:00
device bootmode: Get rid of CONFIG_BOOTMODE_STRAPS 2016-07-28 00:36:22 +02:00
drivers intel/fsp1_1: Add C entry support to locate FSP Temp RAM Init 2016-07-28 05:29:46 +02:00
ec skylake/mainboard: Define mainboard hook in bootblock 2016-07-28 05:17:03 +02:00
include bootmode: Get rid of CONFIG_BOOTMODE_STRAPS 2016-07-28 00:36:22 +02:00
lib skylake/mainboard: Define mainboard hook in bootblock 2016-07-28 05:17:03 +02:00
mainboard skylake/devicetree: Add LPC EC decode range 2016-07-28 05:17:56 +02:00
northbridge bootmode: Get rid of CONFIG_BOOTMODE_STRAPS 2016-07-28 00:36:22 +02:00
soc intel/common/opregion.c: only write 16 bytes to 16 byte field 2016-07-28 19:22:35 +02:00
southbridge bootmode: Get rid of CONFIG_BOOTMODE_STRAPS 2016-07-28 00:36:22 +02:00
superio sio/winbond/w83667hg-a: Add pinmux defines for UART B 2016-05-29 19:34:54 +02:00
vboot bootmode: Get rid of CONFIG_BOOTMODE_STRAPS 2016-07-28 00:36:22 +02:00
vendorcode chromeos/gnvs: Clean up use of vboot handoff 2016-07-28 00:40:20 +02:00
Kconfig bootmode: Get rid of CONFIG_BOOTMODE_STRAPS 2016-07-28 00:36:22 +02:00