coreboot-kgpe-d16/util/romcc
Patrick Georgi 34e7615235 romcc: avoid use-after-free
Windows bugchecks on this for a while, so we ifndef'd the free() call out.
Now some Linuxes (depending on their glibc) also fail on it, so just
remove the call altogether at the cost of some leaked memory (couple
hundred kilobytes) because tracking down the precise fix is too hard.

In case someone wants to fix it, valgrind sees the issues, so
revert this change and work on romcc's memory management until valgrind
is happy.
To get a fix in, provide a good explanation why your change is actually
the right way to fix it - for silencing valgrind, this change will do.

Change-Id: Iae3f847e09a0d7bcb8bb4f50983a1b0727570b23
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/6846
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins)
2014-09-06 09:21:07 +02:00
..
results Undoing all HDAMA commits from LNXI from r2005->2003 2005-08-10 15:16:44 +00:00
tests Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
COPYING GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
Makefile Enable -Werror for romcc 2012-03-31 12:07:10 +02:00
do_tests.sh Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
romcc.1 Rename almost all occurences of LinuxBIOS to coreboot. 2008-01-18 15:08:58 +00:00
romcc.c romcc: avoid use-after-free 2014-09-06 09:21:07 +02:00
tests.sh Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00