[sr-dev] [kamailio/kamailio] lib/binrpc modules/ctl utils/kamcmd : set UNIX_PATH_MAX to lowest common value (#589)

Mikko Lehto notifications at github.com
Thu Apr 28 14:45:57 CEST 2016


UNIX_PATH_MAX is used to validate string length before memcpy() to sun_path.

https://github.com/kamailio/kamailio/blob/master/lib/binrpc/binrpc_api.c#L148
https://github.com/kamailio/kamailio/blob/master/modules/ctl/init_socks.c#L94
https://github.com/kamailio/kamailio/blob/master/utils/kamcmd/kamcmd.c#L489

---
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/589#issuecomment-215412173
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160428/417ff8ff/attachment-0001.html>


More information about the sr-dev mailing list