I guess there are no cases when one would try to duplicate src->s==NULL, or at least
not an intentional case. Anyhow, printing a warning instead of a segfault is more friendly
for runtime. You can merge if you prefer this version.
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/401#issuecomment-158020344