summaryrefslogtreecommitdiff
path: root/src/northbridge/amd
diff options
context:
space:
mode:
authorYouness Alaoui <kakaroto@kakaroto.homelinux.net>2017-03-31 16:21:50 -0400
committerNico Huber <nico.h@gmx.de>2017-04-04 00:22:29 +0200
commite0c53af470feae1d7d66dc4aa9d067402a468626 (patch)
tree8787238682c7043aee7b212a2bddf62847a1f46f /src/northbridge/amd
parentfa420b49c5cbce160cfb4f46fc3542589a800a43 (diff)
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>
Diffstat (limited to 'src/northbridge/amd')
0 files changed, 0 insertions, 0 deletions