diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-02-16 08:44:55 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-02-16 08:44:55 +0100 |
commit | f73f50055987a5ba644ab9721741ef1b9861b079 (patch) | |
tree | d7d38e86fd6609c1bde5f7e7dc3d70f76ea5c1b4 /test/run-test-001.sh | |
parent | dfc98b5fa1f7744b17ead661f2919f5b7c2105a7 (diff) | |
download | calcurse-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 'test/run-test-001.sh')
0 files changed, 0 insertions, 0 deletions