mirror of https://github.com/OISF/suricata
detect/mpm: prevent format string truncation warnings
- Declare the profiling name variable once we know the actual size allowed for the name instead of before. Prevents an snprintf truncation warning. - Account for the null byte when calculating how much space is left to avoid an snprintf format string truncation warning.pull/13856/head
parent
2b6df6381a
commit
708874053f
Loading…
Reference in New Issue