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

Holger Freyther notifications at github.com
Tue Oct 25 21:54:54 CEST 2016


I am using the "sipcapture" module and the HEPv3 that is received by it can carry binary data inside its payload. I use hep(0x00f) to ask the sipcapture module to extract the payload of the non SIP HEP message but when trying to use it the binary data has turned into a string of 0x00 becuase the binary contains a 0x00 in the second byte...

-- 
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-256157264
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20161025/043c0273/attachment.html>


More information about the sr-dev mailing list