[webkit-changes] [WebKit/WebKit] ce8d9c: Use strnstr instead of strstr in RelaxThirdPartyCo...

EWS noreply at github.com
Tue Feb 21 18:25:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ce8d9c65b8ddebb0eaa5b12512ae584df451b1ad
      https://github.com/WebKit/WebKit/commit/ce8d9c65b8ddebb0eaa5b12512ae584df451b1ad
  Author: Alex Christensen <achristensen at webkit.org>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M Tools/TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm

  Log Message:
  -----------
  Use strnstr instead of strstr in RelaxThirdPartyCookieBlocking API test
https://bugs.webkit.org/show_bug.cgi?id=252704

Reviewed by Wenson Hsieh.

Make sure we don't read out of bounds.

* Tools/TestWebKitAPI/Tests/WebKitCocoa/Proxy.mm:
(TestWebKitAPI::TEST):

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




More information about the webkit-changes mailing list