Re: [OpenSIPS-Devel] [opensips] Add topology_hiding() flag to also hide the callid for all requests/replies within a call (0f551f7)

2014-06-10 Thread Vlad Paiu

Hello,

Thanks for the report. Comitted the fix in trunk.

Best Regards,

Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com

On 09.06.2014 17:04, Walter Doekes wrote:


If callid is shorter than topo_hiding_prefix.len, you'll be comparing 
random memory. In the worst case resulting in a segfault. Suggestion: 
add an |if (msg-callid-body.len  topo_hiding_prefix.len  ...|


---
Reply to this email directly or view it on GitHub 
https://github.com/OpenSIPS/opensips/commit/0f551f7cb668014798450848a4330d064108dc37#commitcomment-6601399.




___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel


Re: [OpenSIPS-Devel] [opensips] Add topology_hiding() flag to also hide the callid for all requests/replies within a call (0f551f7)

2014-06-09 Thread Walter Doekes
If callid is shorter than topo_hiding_prefix.len, you'll be comparing random 
memory. In the worst case resulting in a segfault. Suggestion: add an `if 
(msg-callid-body.len  topo_hiding_prefix.len  ...`

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/commit/0f551f7cb668014798450848a4330d064108dc37#commitcomment-6601399___
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel