[OpenSIPS-Devel] [opensips] [1.11] Crash on TCP read (#813)

Răzvan Crainea notifications at github.com
Fri Mar 4 13:26:20 CET 2016


Hi, Saul!

The first issue you pointed out, might indeed cause an "invalid" use of unallocated memory. However, since that's only pkg memory, nobody can come and use that buffer, so that can't cause any crash. Nevertheless, thanks for pointing it out, I will shortly fix that.

Regarding the `release_tcpconn` issue, I couldn't find any possible path where the function would get called twice. Even though `tcp_read_req` explicitly releases the connection, it only does it on successful cases.

Thanks for pointing these out, but I don't see a bug in the code. Perhaps the core dump might give us more information. Can you point out the line that crashed?

Thanks,
Răzvan


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/813#issuecomment-192260018
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20160304/eaa8e42c/attachment.htm>


More information about the Devel mailing list