Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7ebe4087b99761c854617fb30fd37c83e8892ff7
      
https://github.com/WebKit/WebKit/commit/7ebe4087b99761c854617fb30fd37c83e8892ff7
  Author: Mike Wyrzykowski <[email protected]>
  Date:   2025-08-15 (Fri, 15 Aug 2025)

  Changed paths:
    M Source/WTF/wtf/StdLibExtras.h

  Log Message:
  -----------
  Errno is not cleared prior to checking it
https://bugs.webkit.org/show_bug.cgi?id=297459
rdar://158410814

Reviewed by Mark Lam.

errno, a thread local variable, can be set by other POSIX
functions prior to calling stringToDouble resulting in
stringToDouble failing when the input passed to it was
within a valid range.

Test: no failures as observed in https://github.com/WebKit/WebKit/pull/48706

* Source/WTF/wtf/StdLibExtras.h:
(WTF::stringToDouble):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to