]> git.proxmox.com Git - mirror_ovs.git/commit - lib/flow.c
flow: Fix buffer overread in flow_hash_symmetric_l3l4().
authorBen Pfaff <blp@ovn.org>
Fri, 2 Jun 2017 03:24:37 +0000 (20:24 -0700)
committerBen Pfaff <blp@ovn.org>
Fri, 2 Jun 2017 03:25:34 +0000 (20:25 -0700)
commitcaaabd191d04dfb810771a3e2dcbcd532a66fb09
treec1e6a42f14fa5bb93304a5c6d4741f65b413f97f
parent3b048d73f4cd4a29ea15b6d6f3eb5835376a2ad2
flow: Fix buffer overread in flow_hash_symmetric_l3l4().

IPv6 addresses have 2 64-bit parts, but this code thought they have 4.

Found by Coverity.

Reported-at: https://scan3.coverity.com/reports.htm#v16889/p10449/fileInstanceId=14762918&defectInstanceId=4304099&mergedDefectId=179866
Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Justin Pettit <jpettit@ovn.org>
lib/flow.c