]> granicus.if.org Git - curl/commit
getdate: return -1 for out of range
authorDaniel Stenberg <daniel@haxx.se>
Thu, 1 Feb 2018 21:23:20 +0000 (22:23 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 2 Feb 2018 08:40:54 +0000 (09:40 +0100)
commita19afaccfeb5a77c15fdfc1c2be16fb27828cefc
tree047ea8326a842828f850367638ace51b025980b2
parent1eb4f5ac9d9b9a73e1dba890636b599037bd643d
getdate: return -1 for out of range

...as that's how the function is documented to work.

Reported-by: Michael Kaufmann
Bug found in an autobuild with 32 bit time_t

Closes #2278
lib/parsedate.c