[webkit-changes] [WebKit/WebKit] 00e89b: year 2038 problem in WebKit/Source/WTF/wtf/DateMat...

Fujii Hironori noreply at github.com
Mon Jan 16 12:24:26 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 00e89b0e200a9056a237a74d7315062043ebd26d
      https://github.com/WebKit/WebKit/commit/00e89b0e200a9056a237a74d7315062043ebd26d
  Author: Fujii Hironori <Hironori.Fujii at sony.com>
  Date:   2023-01-16 (Mon, 16 Jan 2023)

  Changed paths:
    M Source/WTF/wtf/DateMath.cpp

  Log Message:
  -----------
  year 2038 problem in WebKit/Source/WTF/wtf/DateMath.cpp
https://bugs.webkit.org/show_bug.cgi?id=250553

Reviewed by Darin Adler.

Int32x32To64 silently truncated a 64bit time_t into a 32bit integer.

* Source/WTF/wtf/DateMath.cpp:
(WTF::UnixTimeToFileTime):
Upated the implementation by copying the revised example.

Canonical link: https://commits.webkit.org/258961@main




More information about the webkit-changes mailing list