[ovs-git] [openvswitch/ovs] 9f3858: odp-util: Stop parse odp actions if nlattr is over...
yifsun
noreply at github.com
Mon Feb 4 20:45:18 UTC 2019
Branch: refs/heads/branch-2.2
Home: https://github.com/openvswitch/ovs
Commit: 9f385899a000cf7776fbadb4fc6b21c2023c0761
https://github.com/openvswitch/ovs/commit/9f385899a000cf7776fbadb4fc6b21c2023c0761
Author: Yifeng Sun <pkusunyifeng at gmail.com>
Date: 2019-02-04 (Mon, 04 Feb 2019)
Changed paths:
M lib/odp-util.c
Log Message:
-----------
odp-util: Stop parse odp actions if nlattr is overflow
`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 at gmail.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>
More information about the git
mailing list