[webkit-changes] [WebKit/WebKit] f9a7aa: JSStringGetUTF8CString writes beyond the provided ...

Yusuke Suzuki noreply at github.com
Mon Jun 3 14:27:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f9a7aaf14df9fe74f266abc8fbb70cf5201e3b00
      https://github.com/WebKit/WebKit/commit/f9a7aaf14df9fe74f266abc8fbb70cf5201e3b00
  Author: Yusuke Suzuki <ysuzuki at apple.com>
  Date:   2024-06-03 (Mon, 03 Jun 2024)

  Changed paths:
    M Source/JavaScriptCore/API/tests/testapi.c

  Log Message:
  -----------
  JSStringGetUTF8CString writes beyond the provided buffer size
https://bugs.webkit.org/show_bug.cgi?id=275073
rdar://122388595

Reviewed by Yusuke Suzuki.

Patch created by Justin Michaud (referring to the original commit in the last line).
ToT already fixed the issue. Only landing the test (with newer semantics adjustment) is necessary.

* Source/JavaScriptCore/API/tests/testapi.c:
(checkJSStringOOBUTF8):
(checkJSStringOOBUTF16):
(checkJSStringOOBUTF16AtEnd):
(checkJSStringOOB):
(main):

Originally-landed-as: 272448.625 at safari-7618-branch (800c12a28dea). rdar://128091153
Canonical link: https://commits.webkit.org/279673@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list