Found and interesting comment[1] related to calling memcpy(dst->s, NULL, 0).
[1] http://stackoverflow.com/questions/5243012/is-it-guaranteed-to-be-safe-to-pe...
--- Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/401#issuecomment-158015304