An address santizer false positive.
Signed-off-by: Darrell Ball <[email protected]>
---
lib/odp-util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/odp-util.c b/lib/odp-util.c
index 1e8c5f1..2326a59 100644
--- a/lib/odp-util.c
+++ b/lib/odp-util.c
@@ -5173,7 +5173,7 @@ erspan_to_attr(struct ofpbuf *a, const void *data_)
/* Beginning of nested attribute. */
#define SCAN_BEGIN_NESTED(NAME, ATTR) \
SCAN_IF(NAME); \
- size_t key_offset, mask_offset; \
+ size_t key_offset, mask_offset = 0; \
key_offset = nl_msg_start_nested(key, ATTR); \
if (mask) { \
mask_offset = nl_msg_start_nested(mask, ATTR); \
--
1.9.1
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev