On 2/3/22 19:59, Paolo Valerio wrote:
> Dumitru Ceara <[email protected]> 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 <[email protected]>
>> ---
>> 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 <[email protected]>
> 


Thanks!  Applied and backported down to 2.13.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to