summaryrefslogtreecommitdiffstats
path: root/doc/sync/primary-backup.sh
diff options
context:
space:
mode:
authorMichal Kubecek <mkubecek@suse.cz>2019-07-15 08:46:23 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-07-15 10:10:14 +0200
commitb47e00e8a579519b163cb4faed017463bf64c40d (patch)
tree0d8fa9ff27705e050cbd99271b01f7be2b654c1a /doc/sync/primary-backup.sh
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 <mkubecek@suse.cz> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'doc/sync/primary-backup.sh')
0 files changed, 0 insertions, 0 deletions