If you pass a bogus layout file to the -l option flashrom will segfault.
authorUwe Hermann <uwe@hermann-uwe.de>
Mon, 22 Dec 2008 16:42:59 +0000 (16:42 +0000)
committerUwe Hermann <uwe@hermann-uwe.de>
Mon, 22 Dec 2008 16:42:59 +0000 (16:42 +0000)
commit29fbb761ec559b22b7aa9a4b6cb88409545b40c4
treecea1553b605035fe2341afeca179dbf9538d9907
parentfdc5470bcf21eb6e2f8c720bfc3f436357fe3209
If you pass a bogus layout file to the -l option flashrom will segfault.
Fix that by throwing an error instead.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3834 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
util/flashrom/layout.c