Patrick Georgi 802ad52180 ifdtool: Provide bounds on string parser
While the result will not be pretty (ie. ifdtool will
mis-parse string components longer than 255 characters),
at least it doesn't overflow stack variables anymore.

Change-Id: I263c5cf823a2d8a863dcece7c4ee0b26475f9fc4
Found-by: Coverity Scan
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/6562
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Tested-by: build bot (Jenkins)
2014-08-10 18:50:30 +02:00
..
2014-08-10 08:20:30 +02:00
2014-03-09 21:19:29 +01:00
2014-05-17 21:15:14 +02:00
2014-08-04 20:57:12 +02:00
2013-03-16 04:30:16 +01:00
2013-06-12 05:18:24 +02:00
2012-11-30 23:59:58 +01:00