summaryrefslogtreecommitdiff
path: root/python/ovs/socket_util.py
diff options
context:
space:
mode:
authorYifeng Sun <pkusunyifeng@gmail.com>2019-02-01 15:56:04 -0800
committerBen Pfaff <blp@ovn.org>2019-02-04 12:45:25 -0800
commit99c9ba8ec013b89138440b85ffc061bb90377114 (patch)
tree9f74d915861a39107f42662638bd58a41552c4f8 /python/ovs/socket_util.py
parentd8bd74950c0dec18f350a99fe89bfdf14543013f (diff)
downloadopenvswitch-branch-2.0.tar.gz
odp-util: Stop parse odp actions if nlattr is overflowbranch-2.0
`encap = nl_msg_start_nested(key, OVS_KEY_ATTR_ENCAP)` ensures that key->size >= (encap + NLA_HDRLEN), so the `if` statement is safe. Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11306 Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'python/ovs/socket_util.py')
0 files changed, 0 insertions, 0 deletions