mirror of https://github.com/OISF/suricata
util/mime: use uint32_t for consumed bytes
In a case of the line buffer being over 255 bytes, the consumed bytes would reset to 0 as it was uint8_t. Fix this integer overflow by setting the type to uint32_t. Redmine ticket: 5883pull/8581/head
parent
0f3e7761da
commit
c089bbb7d7
Loading…
Reference in New Issue