aboutsummaryrefslogtreecommitdiff
path: root/nginx/ngx_js.c
diff options
context:
space:
mode:
authorDmitry Volyntsev <xeioex@nginx.com>2024-05-30 22:22:48 -0700
committerDmitry Volyntsev <xeioexception@gmail.com>2024-06-12 15:09:21 -0700
commitd34fcb03cf2378a644a3c7366d58cbddc2771cbd (patch)
treeaa69f1f10e9276133e16d5ddd9a0ba759a1ab8a6 /nginx/ngx_js.c
parent558de1e14d9c9a6542bc0512b9fff51167ef6f3a (diff)
downloadnjs-d34fcb03cf2378a644a3c7366d58cbddc2771cbd.tar.gz
njs-d34fcb03cf2378a644a3c7366d58cbddc2771cbd.zip
HTTP: fixed r.subrequest() error handling.
Previously, when at least 2 subrequests were scheduled they both succeed, but the callback for the second threw an exception heap-use-after-free happened: a nested chain of ngx_http_run_posted_requests() calls and terminating request in the inner call left outer calls with already freed request pointer. The issue was introduced in 0.8.1 (4cb8e873e8c6).
Diffstat (limited to 'nginx/ngx_js.c')
0 files changed, 0 insertions, 0 deletions