[ovs-dev] [PATCH] odp-util: Validate values of vid and pcp in push_vlan action

Ben Pfaff blp at ovn.org
Mon Dec 3 21:55:20 UTC 2018


On Tue, Nov 27, 2018 at 04:10:12PM -0800, Yifeng Sun wrote:
> Oss-fuzz complains that 'vid << VLAN_VID_SHIFT' is causing an error of
> "Undefined-shift in parse_odp_action". This is because an invalid
> value of vid is passed in push_vlan. This patch adds validation to
> the value of vid, in addition to the value of pcp.
> 
> Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11520
> Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>

Thanks, applied to master.


More information about the dev mailing list