summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorQuentin Rameau <quinq+hackers@fifth.space>2015-11-18 23:21:33 +0100
committerMarkus Teich <markus.teich@stusta.mhn.de>2015-11-18 23:26:33 +0100
commita1dcdad14fb3a8ccdc97e86cb3aa25684778819c (patch)
tree46def943c039794d0189b049de4b89980fc01a96 /util.c
parenteac14478e949e29e442922d997f057573ddd9923 (diff)
downloadsent-a1dcdad14fb3a8ccdc97e86cb3aa25684778819c.tar.gz
sent-a1dcdad14fb3a8ccdc97e86cb3aa25684778819c.tar.bz2
sent-a1dcdad14fb3a8ccdc97e86cb3aa25684778819c.zip
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 'util.c')
0 files changed, 0 insertions, 0 deletions
Software created with 💖