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

Serde panics when deserializing a malformed SystemTime #1996

Closed
cyang1 opened this issue Mar 6, 2021 · 0 comments · Fixed by #1997
Closed

Serde panics when deserializing a malformed SystemTime #1996

cyang1 opened this issue Mar 6, 2021 · 0 comments · Fixed by #1997

Comments

@cyang1
Copy link

cyang1 commented Mar 6, 2021

SystemTime is deserialized by deserializing a duration and adding it to UNIX_EPOCH. The documentation states that this can panic if the resulting point in time cannot be represented by the underlying data structure.

Also, SystemTime panics in the same situations as described for Duration in #1993.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant