This is using opensips 2.1 at commit ee99ac71d8718c93c29e28e6a5266287491f17a5
in a production environment. OpenSIPS is configured to generate coredump,
[core.txt](https://github.com/OpenSIPS/opensips/files/56763/core.txt) has `bt
full` + `print` of variables in last 3 stack entries.
The issue in the code is relatively simple to understand,
pf = n->prev;
is followed by
*pf = n->u.nxt_free;
(lines 167 and 171 of mem/f_malloc.c) without checking whether `n->prev`
actually exists. However this is fairly old code so there must be some
assumptions that made the test unnecessary at the time — but maybe not anymore,
or maybe there's some environment dependency I need to check.
---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/721_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel