mirror of https://github.com/OISF/suricata
ndpi: don't access flow storage directly
Remove the check for Flow.storage being NULL. With flex arrays, as long as the flow is allocated, .storage will never be NULL. We do make sure the flow is not NULL, and the storage functions are safe to the storage being NULL. Prevents NDPI from accessing this flow field to be less sensitive to ABI changes with respect to data structure sizes. Ticket: #8632pull/16053/head
parent
e51cc381b7
commit
f739a8a73c
Loading…
Reference in New Issue