2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-22 01:51:26 +00:00

oss-fuzz: Fix odp_flow_format() API in the fuzz tests.

When the commit below introduced an API change, the oss-fuzz component
was not updated accordingly, leading to failures in the upstream
oss-fuzz tests.

For more information on the failure, see:
  https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=71524

Fixes: 252ee0f18211 ("dpif: Fix flow put debug message match content.")
Acked-by: Ilya Maximets <i.maximets@ovn.org>
Signed-off-by: Eelco Chaudron <echaudro@redhat.com>
This commit is contained in:
Eelco Chaudron 2024-09-12 15:45:41 +02:00
parent 234e626198
commit fa731c1129

View File

@ -81,7 +81,8 @@ parse_keys(bool wc_keys, const char *in)
ds_init(&out);
if (wc_keys) {
odp_flow_format(odp_key.data, odp_key.size,
odp_mask.data, odp_mask.size, NULL, &out, false);
odp_mask.data, odp_mask.size, NULL, &out, false,
false);
} else {
odp_flow_key_format(odp_key.data, odp_key.size, &out);
}