[sr-dev] [kamailio/kamailio] pv: Use memcpy to copy len bytes instead of strcpy (#832)

Phil Lavin notifications at github.com
Tue Oct 25 21:48:29 CEST 2016


I'm not entirely clear what your issue is - can you explain further. As I see it, changing from `strncpy` to `memcpy` only has benefit if the thing you're copying has a \0 in the middle of it.

-- 
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/832#issuecomment-256155564
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161025/0ca2487f/attachment.html>


More information about the sr-dev mailing list