Debian Patches
Status for libnginx-mod-js/1.0.0-3
| Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
|---|---|---|---|---|---|---|
| 1115.patch | [PATCH 1/3] QuickJS: fix compatibility with quickjs-ng 0.16.0 and later Three separate problems prevented njs from working with the recent quickjs-ng releases. JS_NewArrayBuffer() has grown a "max_len" argument and its free callback has become a realloc one. The calls are wrapped now, the callback has to implement the whole realloc contract, because transfer() reallocates the data even for a buffer which is not resizable. The class ids used by njs started at 64, while the engine reserves the ids below JS_CLASS_INIT_COUNT, which has reached 67. JS_NewClass() failed with a collision and the context could not be created. The ids are moved above the engine range and the remaining unchecked JS_NewClass() calls now report the failure. BigInt is a part of the base objects intrinsic since 0.16.0, calling JS_AddIntrinsicBigInt() again leaked the previously registered constructor. This fixes #1113 issue on Github. |
Dmitry Volyntsev <xeioex@nginx.com> | no | 2026-08-16 |
