mirror of https://github.com/OISF/suricata
rust: return empty slice without using from_raw_parts
As this triggers rustc 1.78 unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed `isize::MAX` Ticket: 7013pull/11084/head
parent
edd5507ea4
commit
5dc8dea869
Loading…
Reference in New Issue