coreboot-kgpe-d16/util/intelmetool
Youness Alaoui e0c53af470 util/intelmetool: Fix access to deleted data on stack
pci_me_interface_scan was returning (via argument 'name') a pointer
to the interface name which was stored in a stack variable.  This
caused part of the name to be printed as garbage stack data in some
situations if stack data was overwritten.

This moves the name buffer to the calling function so it can be accessed
before it gets overwritten.

Change-Id: I947a4c794ee37fe87e035593eaabcaf963b9875e
Signed-off-by: Youness Alaoui <youness.alaoui@puri.sm>
Reviewed-on: https://review.coreboot.org/19066
Tested-by: build bot (Jenkins)
Reviewed-by: Nico Huber <nico.h@gmx.de>
2017-04-04 00:22:29 +02:00
..
intelmetool.c util/intelmetool: Fix access to deleted data on stack 2017-04-04 00:22:29 +02:00
intelmetool.h util/intelmetool: Add support for Wildcat Point LP 2017-03-08 04:36:04 +01:00
Makefile util/intelmetool: Add intelmetool from Damien Zammit 2016-03-25 18:28:03 +01:00
me.c util/intelmetool: Add intelmetool from Damien Zammit 2016-03-25 18:28:03 +01:00
me.h util/intelmetool: Add intelmetool from Damien Zammit 2016-03-25 18:28:03 +01:00
me_status.c util/intelmetool: Add intelmetool from Damien Zammit 2016-03-25 18:28:03 +01:00
mmap.c util/intelmetool: Fix warning building with 32-bit 2016-12-28 17:25:56 +01:00
mmap.h util/intelmetool: Fix warning building with 32-bit 2016-12-28 17:25:56 +01:00