MINOR: stream: use ABORT_NOW() and not abort() in stream_dump_and_crash()

Using abort() occasionally results in unexploitable core due to issues
rewinding the stack. Let's use ABORT_NOW() which in addition to crashing
much closer to the call point also has the benefit of showing the call
trace.
This commit is contained in:
Willy Tarreau 2021-03-02 19:19:41 +01:00
parent f587003fe9
commit 2f67e54dca

View File

@ -2733,7 +2733,7 @@ void stream_dump_and_crash(enum obj_type *obj, int rate)
ha_alert("%s", msg);
send_log(NULL, LOG_EMERG, "%s", msg);
abort();
ABORT_NOW();
}
/* initialize the require structures */