[Webkit-unassigned] [Bug 194612] New: EnvironmentUtilities::stripValuesEndingWithString isn't thread-safe

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 13 14:38:02 PST 2019


https://bugs.webkit.org/show_bug.cgi?id=194612

            Bug ID: 194612
           Summary: EnvironmentUtilities::stripValuesEndingWithString
                    isn't thread-safe
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ross.kirsling at sony.com

EnvironmentUtilities::stripValuesEndingWithString isn't thread-safe -- its callsites in Source/ might(?) be, but its API test isn't (nor can it be, since WTF::initializeThreading() is called before the test even begins).

Since this function does little other than string manipulation, we could replace it with a function that *only* does string manipulation and let getenv/setenv be called separately.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190213/15f158b3/attachment.html>


More information about the webkit-unassigned mailing list