If you pass a bogus layout file to the -l option flashrom will segfault

Fix that by throwing an error instead.

Corresponding to flashrom svn r370 and coreboot v2 svn r3834.

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>
1 file changed