Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dp-packet: Ensure packet base is always non-NULL.
UB Sanitizer report: lib/dp-packet.h:297:39: runtime error: applying zero offset to null pointer #0 0x7946f5 in dp_packet_tail ./lib/dp-packet.h:297:39 #1 0x794331 in dp_packet_tailroom ./lib/dp-packet.h:325:49 #2 0x7942a0 in dp_packet_prealloc_tailroom lib/dp-packet.c:297:16 #3 0xc347cf in eth_compose lib/packets.c:1061:5 [...] Signed-off-by: Dumitru Ceara <[email protected]> Acked-by: Paolo Valerio <[email protected]> Signed-off-by: Ilya Maximets <[email protected]>
- Loading branch information