mirror of
https://gitee.com/openharmony/third_party_nghttp2
synced 2024-11-23 07:50:02 +00:00
nghttpx: Fix heap-use-after-free
Fix heap-use-after-free introduced by
ddb667e8bf
.
This commit is contained in:
parent
b8cb6efb37
commit
bc6814eb5b
@ -1891,7 +1891,8 @@ int event_loop() {
|
||||
|
||||
shutdown_worker_process_ready_ipc_watcher(loop);
|
||||
|
||||
if (!config->single_process) {
|
||||
// config is now stale if reload has happened.
|
||||
if (!get_config()->single_process) {
|
||||
shutdown_signal_watchers(loop);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user