summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-05-01 21:38:46 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-05-02 10:37:33 +0200
commitebde5ae5ac1fa96211b974f444ceed4bc39c3d49 (patch)
tree5b5e5e5c87e7085b33447d27394fc32f96497e86 /Makefile
parentdeadc3dd7e18a4d177aabcad6df9045f69e53f2b (diff)
downloadbarebox-ebde5ae5ac1fa96211b974f444ceed4bc39c3d49.tar.gz
barebox-ebde5ae5ac1fa96211b974f444ceed4bc39c3d49.tar.xz
hush: bail out of scripts on syntax error
On a systax error we have to bail out of the shell instead of setting inp->p to NULL and crash barebox with a NULL pointer deref. This only happened in scripts. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> This fixes the problem I had (i.e. a boot loop caused by a stray fi in /env/bin/init). Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Tested-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions