aboutsummaryrefslogtreecommitdiffstats
path: root/src/io.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2012-02-16 08:44:55 +0100
committerLukas Fleischer <calcurse@cryptocrack.de>2012-02-16 08:44:55 +0100
commitf73f50055987a5ba644ab9721741ef1b9861b079 (patch)
treed7d38e86fd6609c1bde5f7e7dc3d70f76ea5c1b4 /src/io.c
parentdfc98b5fa1f7744b17ead661f2919f5b7c2105a7 (diff)
downloadcalcurse-f73f50055987a5ba644ab9721741ef1b9861b079.tar.gz
calcurse-f73f50055987a5ba644ab9721741ef1b9861b079.zip
src/llist.c: Bail out early on negative indexes
Make sure we don't return bogus list elements if negative indexes are used in llist_{,find_}nth(). Bail out early and return NULL instead. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/io.c')
0 files changed, 0 insertions, 0 deletions