Dumitru Ceara <dce...@redhat.com> writes:

> UB Sanitizer report:
>   lib/dp-packet.h:297:39: runtime error: applying zero offset to null pointer
>       #0 0x7946f5 in dp_packet_tail /root/ovs/./lib/dp-packet.h:297:39
>       #1 0x794331 in dp_packet_tailroom /root/ovs/./lib/dp-packet.h:325:49
>       #2 0x7942a0 in dp_packet_prealloc_tailroom 
> /root/ovs/lib/dp-packet.c:297:16
>       #3 0xc347cf in eth_compose /root/ovs/lib/packets.c:1061:5
>       [...]
>
> Signed-off-by: Dumitru Ceara <dce...@redhat.com>
> ---
> v3: Implement Aaron's suggestion instead and fix
>     dp_packet_prealloc_tailroom().
> ---
>  lib/dp-packet.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Acked-by: Paolo Valerio <pvale...@redhat.com>

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to