Re: [sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2018-01-24 Thread Dragos Oancea
is it possible is being set to NULL before headers.t being freed in some case ? I noticed there are checks inside set_query_params() for other already allocated memory buffers . It's crashing randomly at startup, in this scenario, I dont have backtraces anymore. -- You are receiving this

Re: [sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2018-01-23 Thread Dragos Oancea
@grumvalski , set_query_params() is called in 3 places, for us kamailio is crashing at startup, and I suspect header_list_add(_params.headers, >rs); is sometimes called before set_query_params(_params) in ah_set_req() , thus leading to a kamailio crash at startup, under traffic. -- You are

[sr-dev] [kamailio/kamailio] http_async_client: memory mismanagement (#1407)

2018-01-23 Thread Dragos Oancea
Pre-Submission Checklist - [ ] Commit message has the format required by CONTRIBUTING guide - [ ] Commits are split per component (core, individual modules, libs, utils, ...) - [ ] Each component has a single commit (if not, squash them into one commit) - [ ] No commits to README files