Dumitru Ceara <[email protected]> writes:

> UB Sanitizer was flagging OBJECT_CONTAINING() as undefined behavior
> due to the way it's used when iterating through collections, e.g.,
> HMAP_FOR_EACH_INIT().  However, in such cases we don't actually
> dereference the pointer, we just use its value.  Avoid the undefined
> behavior by casting to 'void *' first.
>
> Signed-off-by: Dumitru Ceara <[email protected]>
> ---

Acked-by: Aaron Conole <[email protected]>

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to