Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parsedate: offer a getdate_capped() alternative #4651

Closed
wants to merge 2 commits into from

Conversation

@bagder
Copy link
Member

bagder commented Nov 28, 2019

... and use internally. This function will return TIME_T_MAX instead of
failure if the parsed data is found to be larger than what can be
represented. TIME_T_MAX being the largest value curl can represent.

Reported-by: @Tuniwutzi

This is an alternative take than but very similar to #4152

... and use internally. This function will return TIME_T_MAX instead of
failure if the parsed data is found to be larger than what can be
represented. TIME_T_MAX being the largest value curl can represent.

Reported-by: JanB on github
Ref: #4152
lib/parsedate.c Outdated Show resolved Hide resolved
@bagder bagder closed this in 0044443 Nov 29, 2019
@bagder bagder deleted the bagder/getdate-capped branch Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.