[sr-dev] [kamailio/kamailio] core: Zero terminate str copies made with (pkg|shm)_str_dup() (#2519)

Alex Hermann notifications at github.com
Tue Oct 20 15:02:23 CEST 2020


Something like this: #2520 ?

I think that chances of double zero-termination are low when using these functions as it required 2 allocations in succession. Most uses of zero-terminated str will be open-coded to prevent that.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/2519#issuecomment-712832572
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20201020/84e3ae77/attachment-0001.htm>


More information about the sr-dev mailing list