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

Reply via email to