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

builtin.c: fix signed integer overflow in jv2tm #3070

Merged
merged 1 commit into from
Mar 19, 2024

Commits on Mar 15, 2024

  1. builtin.c: jv2tm: fix UB and accept array inputs with not all the values

    Now, time functions accept array inputs even if they don't have all the
    elements, 0 will be assumed if a value is not present.
    
    Also, jv2tm now properly clamps large number values to a signed 32-bit
    integer and rejects nan.
    
    Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=65885
    emanuele6 committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    7b52b67 View commit details
    Browse the repository at this point in the history