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
_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to