diff options
author | Yuta Saito <[email protected]> | 2025-04-01 11:01:49 +0000 |
---|---|---|
committer | Yuta Saito <[email protected]> | 2025-04-02 01:11:01 +0900 |
commit | 30e5e7c005f4a0a2cd4b883ab8c2be48aa3bf6ed (patch) | |
tree | 8cd1698c24ae2485cdbdd8456dbf2c0afb1769ba /eval_intern.h | |
parent | a671b25525279706d1fa2ee3b25ef45e3ec0eb89 (diff) |
Revert "Fix jump buffer leak in setjmp handler in WASI builds"
This reverts the following commits as it's causing OOM in some cases in
ruby/ruby.wasm test suite.
* 372515f33c908b36b3f5fbd2edcb34c69b418500
* 3a730be8b464454878a42132f6fecb98ab4c1b5b
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13026
Diffstat (limited to 'eval_intern.h')
-rw-r--r-- | eval_intern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eval_intern.h b/eval_intern.h index 49229fa82d..ab0577e8ed 100644 --- a/eval_intern.h +++ b/eval_intern.h @@ -102,11 +102,11 @@ extern int select_large_fdset(int, fd_set *, fd_set *, fd_set *, struct timeval _tag.tag = Qundef; \ _tag.prev = _ec->tag; \ _tag.lock_rec = rb_ec_vm_lock_rec(_ec); \ - rb_vm_tag_jmpbuf_init(&_tag); + rb_vm_tag_jmpbuf_init(&_tag.buf); \ #define EC_POP_TAG() \ _ec->tag = _tag.prev; \ - rb_vm_tag_jmpbuf_deinit(&_tag); \ + rb_vm_tag_jmpbuf_deinit(&_tag.buf); \ } while (0) #define EC_TMPPOP_TAG() \ |