Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0a704bb74f1ebf85b886913aadb3675581180df7
      
https://github.com/WebKit/WebKit/commit/0a704bb74f1ebf85b886913aadb3675581180df7
  Author: Sergey Rubanov <[email protected]>
  Date:   2026-08-10 (Mon, 10 Aug 2026)

  Changed paths:
    M Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp

  Log Message:
  -----------
  [JSC][Wasm] Align IPInt loop OSR stack check with BBQ
https://bugs.webkit.org/show_bug.cgi?id=303686

Reviewed by Yusuke Suzuki.

BBQ's loop OSR entry rejects a stack pointer at or below the soft limit, and
crashes rather than falling back because the IPInt stack is gone by then. The
slow path compared with a strict less-than, so a stack pointer landing exactly
on the limit passed here and then crashed in BBQ. Reject it here too, and
reject underflow of the stack-size subtraction. sp is the IPInt operand stack
inside the callee frame, so it is the lowest address the BBQ frame must fit
under.

* Source/JavaScriptCore/wasm/WasmIPIntSlowPaths.cpp:
(ipint_extern_loop_osr):

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



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

Reply via email to