path: root/doc/sync/
diff options
authorMichal Kubecek <>2019-07-15 08:46:23 +0200
committerPablo Neira Ayuso <>2019-07-15 10:10:14 +0200
commitb47e00e8a579519b163cb4faed017463bf64c40d (patch)
tree0d8fa9ff27705e050cbd99271b01f7be2b654c1a /doc/sync/
parentc12fa8df76752b0a011430f069677b52e4dad164 (diff)
conntrackd: use correct max unix path lengthHEADmaster
When copying value of "Path" option for unix socket, target buffer size is UNIX_MAX_PATH so that we must not copy more bytes than that. Also make sure that the path is null terminated and bail out if user provided path is too long rather than silently truncate it. Fixes: ce06fb606906 ("conntrackd: use strncpy() to unix path") Signed-off-by: Michal Kubecek <> Signed-off-by: Pablo Neira Ayuso <>
Diffstat (limited to 'doc/sync/')
0 files changed, 0 insertions, 0 deletions