In my testing of the curl module,before these changes, I didn't get any crashes -
perhaps I was lucky.
The crash in utils/http_query (#432) is not related to these changes because the
http_query_post_hdr function (which allows passing additional headers, e.g. Content-Type)
has not yet been ported to the curl module. If the intention is to obsolete http_query
from the utils module, this version of the command needs to be ported.
Fixing the buffer overflow may fix the crash in #400, but that was already fixed in utils
(master & 4.3) so no backport is required.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/435#issuecomment-163569573