mirror of
https://github.com/curl/curl.git
synced 2026-08-25 18:03:36 +03:00
parsedate: detect more invalid dates better
This commit is contained in:
parent
8da5da9b65
commit
57d51be60c
3 changed files with 14 additions and 1 deletions
|
|
@ -104,6 +104,11 @@ nothing
|
|||
75: Thu, 12-Aug-2007 20:61:99999999999 GMT => -1
|
||||
76: IAintNoDateFool => -1
|
||||
77: Thu Apr 18 22:50 2007 GMT => 1176936600
|
||||
78: 20110623 12:34:56 => 1308832496
|
||||
79: 20110632 12:34:56 => -1
|
||||
80: 20110623 56:34:56 => -1
|
||||
81: 20111323 12:34:56 => -1
|
||||
82: 20110623 12:34:79 => -1
|
||||
</stdout>
|
||||
|
||||
# This test case previously testes an overflow case ("2094 Nov 6 =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue