diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-11 16:47:23 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-04-12 12:02:39 +0200 |
commit | 3a4431e5687cc45e2f3a774c8ea782aaef47efdd (patch) | |
tree | 61a850558e6b30ed5f04b91c2a30b9200b1316ad /src/day.c | |
parent | 5fc6d92866942fc46fb7d7e7147a97ad37615f7e (diff) | |
download | calcurse-3a4431e5687cc45e2f3a774c8ea782aaef47efdd.tar.gz calcurse-3a4431e5687cc45e2f3a774c8ea782aaef47efdd.zip |
Fix null pointer dereference in parse_date().
Passing a date in format "mm-dd-yy" where short forms are not allowed
would lead to a null pointer dereference here. This one fixes that.
Spotted by clang-analyzer.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/day.c')
0 files changed, 0 insertions, 0 deletions