]> git.proxmox.com Git - ovs.git/commit
conntrack: Fix max size for inet_ntop() call.
authorDarrell Ball <dlu998@gmail.com>
Fri, 1 Feb 2019 07:35:41 +0000 (23:35 -0800)
committerBen Pfaff <blp@ovn.org>
Mon, 4 Feb 2019 17:51:50 +0000 (09:51 -0800)
commite0cf839716e535856f4d3968152dbe7f6c976052
treedf716917e58925af28ad8c75e944afc45e981aa5
parent48ff9664677b17199a1ff2a43d250a4758ff2ec8
conntrack: Fix max size for inet_ntop() call.

The call to inet_ntop() in repl_ftp_v6_addr() is 1 short to handle
the maximum possible V6 address size for v4 mapping case.

Found by inspection.

Fixes: bd5e81a0e596 ("Userspace Datapath: Add ALG infra and FTP.")
Signed-off-by: Darrell Ball <dlu998@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/conntrack.c