]> git.kaiwu.me - njs.git/commit
Modules: adding NUL byte at the end of the module body.
authorDmitry Volyntsev <xeioex@nginx.com>
Wed, 19 Jun 2024 06:47:31 +0000 (23:47 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Sat, 29 Jun 2024 02:52:47 +0000 (19:52 -0700)
commit184d2a39cb5da696785247439e480f9b2250e99c
tree28b0e6ecf44e027e75a06cc08e31ba24392a53cf
parent8c7ade4228f8ae317348e15b8129b8b2f6a167c5
Modules: adding NUL byte at the end of the module body.

Even though QuickJS takes length as an argument, when parsing the code,
it expects NUL byte at the end.
nginx/ngx_js.c