mirror of
https://github.com/nodejs/node.git
synced 2025-05-07 12:03:30 +00:00
![]() id |= 0 turns unsigned 32-bit integer values exceeding the unsigned 31-bit range into negative integers, causing a crash. Use id >>>= 0 instead, which works properly for all unsigned 32-bit integers. Refs: https://github.com/nodejs/node/pull/36786 PR-URL: https://github.com/nodejs/node/pull/44910 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Erick Wendel <erick.workspace@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> |
||
---|---|---|
.. | ||
does_not_own_process_state.js | ||
does_own_process_state.js | ||
is_main_thread.js | ||
is_not_main_thread.js |