[webkit-changes] [WebKit/WebKit] 39d7b6: Null terminate string passed into strchr in PDFLin...

EWS noreply at github.com
Tue Feb 21 18:16:27 PST 2023


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

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

  Log Message:
  -----------
  Null terminate string passed into strchr in PDFLinkReferrer test
https://bugs.webkit.org/show_bug.cgi?id=252709

Reviewed by Chris Dumez.

strnchr would be nice, but it's not available on Cocoa platforms.

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

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




More information about the webkit-changes mailing list