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

Henning Westerholt notifications at github.com
Tue Oct 20 14:37:10 CEST 2020


The docs in str.h should be probably changed as well (here is documented that str is not null-terminated). Also probably a good idea to review other invocation of this utilty functions in the modules, now there might be double null-termination done somewhere (might be harmless in most cases, though).

-- 
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-712818135
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20201020/de5eb8ff/attachment.htm>


More information about the sr-dev mailing list