diff options
author | Bhargava Shastry <bshastry@sect.tu-berlin.de> | 2019-05-30 12:38:23 +0200 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2019-05-31 10:02:36 -0700 |
commit | 54b4f001ce2d97dccc803ffad953824f9ac33455 (patch) | |
tree | a7d9d4aff4c061a2310992f4d86c6b7f3029693f /m4 | |
parent | 595ce47cd6eefc84386e6b07d0dd46230e39f976 (diff) | |
download | openvswitch-54b4f001ce2d97dccc803ffad953824f9ac33455.tar.gz |
ossfuzz: Fix expr target build failure
Google oss-fuzz reported a build failure for the OVN expression parser.
Upon investigation, it turned out that the expr_parse_target fuzzer was
not being run by Google due to the said failure.
The root cause of the build failure turned out to be a change in the
definition of the expr_parse_string() API. Now, this API accepts an
additional parameter of type struct sset * that points to the set of
address set referenced which may be NULL if unused.
This patch adds this additional parameter to expr_parse_string()
setting the pointer to the set of address set referenced to NULL.
Once this patch is applied, ossfuzz's expr_parse_target should build
and subsequently be fuzzed.
CC: Han Zhou <hzhou8@ebay.com>
Fixes: 43e6900a7991 ("ovn-controller: Maintain resource references for logical flows.")
Signed-off-by: Bhargava Shastry <bshastry@sect.tu-berlin.de>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions