[ovs-dev] [PATCH] ofctl_parse_target: Fix a bug that uses incomplete ofputil_flow_mod data
blp at ovn.org
Fri Oct 26 21:46:22 UTC 2018
On Thu, Oct 25, 2018 at 04:17:23PM -0700, Yifeng Sun wrote:
> When parse_ofp_flow_mod_str returns error, `fm` is incomplete and pointers
> in it may be null, e.g. fm.match.flow. In this case, passing it to
> ofctl_parse_flows__ may cause pointer errors because ofctl_parse_flows__
> expects a valid input of type struct ofputil_flow_mod.
> Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=11110
> Signed-off-by: Yifeng Sun <pkusunyifeng at gmail.com>
Thanks, applied to master.
More information about the dev