diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2014-08-09 17:12:23 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-08-10 18:50:30 +0200 |
commit | 802ad521804b8a9f473780fdff4058dd3f8520c3 (patch) | |
tree | aca769a833479c707d5e8a078c8dd17994a605e5 /payloads | |
parent | a438049422fae85fe4df3ab3f89dbca797d6f5a9 (diff) | |
download | coreboot-802ad521804b8a9f473780fdff4058dd3f8520c3.tar.xz |
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)
Diffstat (limited to 'payloads')
0 files changed, 0 insertions, 0 deletions