]> git.kaiwu.me - njs.git/commit
Fetch: fix QJS numeric conversion
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 15 Sep 2026 22:24:06 +0000 (15:24 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Wed, 16 Sep 2026 21:17:38 +0000 (14:17 -0700)
commit2658a79dad993cf67e535085451fbfb9e33fb787
tree7b40692bae964641da3d5417670666b1b652e3d1
parentfd8441bc71c566616176ace18caed62b8ac65cfa
Fetch: fix QJS numeric conversion

Previously, QuickJS wrote an int64_t through ngx_int_t fetch fields.

The fix is to use the checked native conversion helper so ILP32 builds
cannot overwrite adjacent state.
nginx/ngx_qjs_fetch.c