[ovs-dev] [PATCH] odp-util: Stop parse odp actions if nlattr is overflow

Ben Pfaff blp at ovn.org
Mon Feb 4 20:44:26 UTC 2019


On Fri, Feb 01, 2019 at 03:56:04PM -0800, Yifeng Sun wrote:
> `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>

Thank you.  I applied this to master and backported it as far as it
would go.


More information about the dev mailing list