[ovs-git] [openvswitch/ovs] ead225: ofctl_parse_target: Only parse complete ofputil_fl...
GitHub
noreply at github.com
Fri Oct 26 21:46:23 UTC 2018
Branch: refs/heads/master
Home: https://github.com/openvswitch/ovs
Commit: ead2252b2b717f52728a6b8c78a2e9346863ccb8
https://github.com/openvswitch/ovs/commit/ead2252b2b717f52728a6b8c78a2e9346863ccb8
Author: Yifeng Sun <pkusunyifeng at gmail.com>
Date: 2018-10-26 (Fri, 26 Oct 2018)
Changed paths:
M tests/oss-fuzz/ofctl_parse_target.c
Log Message:
-----------
ofctl_parse_target: Only parse complete ofputil_flow_mod data.
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>
Signed-off-by: Ben Pfaff <blp at ovn.org>
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the git
mailing list