[ovs-git] [openvswitch/ovs] 2f4bc8: odp-util: Stop parse odp actions if nlattr is over...
yifsun
noreply at github.com
Mon Feb 4 20:44:36 UTC 2019
Branch: refs/heads/branch-2.9
Home: https://github.com/openvswitch/ovs
Commit: 2f4bc8a9479f963501bf52a91408a5b97d19bb37
https://github.com/openvswitch/ovs/commit/2f4bc8a9479f963501bf52a91408a5b97d19bb37
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