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

binding: avoid 2038 problem on 32-bit architectures #2450

Commits on Aug 3, 2020

  1. binding: avoid 2038 problem on 32-bit architectures

    Function setTimeField calls strconv.ParseInt with bit size 0 when
    parsing Unix time, which means it is equivalent to specifying 32 on
    32-bit architectures. This causes the function to suffer from the year
    2038 problem. To fix it and keep the behavior the same on both 32-bit
    and 64-bit architectures, explicitly specify bit size 64.
    lantw44 committed Aug 3, 2020
    Copy the full SHA
    16a29c4 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2020

  1. Copy the full SHA
    62af3c6 View commit details
    Browse the repository at this point in the history