diff options
author | Quentin Rameau <quinq+hackers@fifth.space> | 2015-11-18 23:21:33 +0100 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2015-11-18 23:26:33 +0100 |
commit | a1dcdad14fb3a8ccdc97e86cb3aa25684778819c (patch) | |
tree | 46def943c039794d0189b049de4b89980fc01a96 /config.def.h | |
parent | eac14478e949e29e442922d997f057573ddd9923 (diff) |
Bail out before allocating slides if file is empty
In load() we allocated slides before checking if we actually read
anything from the FILE fp and then continue with an allocated but
“empty” space wich would lead to errors.
Diffstat (limited to 'config.def.h')
0 files changed, 0 insertions, 0 deletions