summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-02-11 15:57:24 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-02-11 16:00:27 +0100
commit0aae1dc98cf1b0c858e630448a1ec59d69bcec9d (patch)
treedb91bf6b3ab198bab751e8c9bfa77248e4b90782 /Makefile
parent0fe011b6ffb4b04ae484c8c9ac5fe326f10e41c0 (diff)
downloadbarebox-0aae1dc98cf1b0c858e630448a1ec59d69bcec9d.tar.gz
barebox-0aae1dc98cf1b0c858e630448a1ec59d69bcec9d.tar.xz
blspec: Do not crash on config files without newline on last line
When the last line in a config file has no newline then 'next' is NULL on the the loop iteration. Check that before derefencing 'next'. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions