mirror of https://github.com/OISF/suricata
htp: bound decompression
Ticket: 7980
Usage of Vec<u8> instead of Box<u8> gave the ability to callers
to grow the buffer (indefinitely)
This was regressed in 16fee33368
Additionnaly, use rust WriteZero instead of WouldBlock as a more
fitting error when cursor is full, as that error kind is the
one tested by callers.
pull/14278/head
parent
c61f1cb6d0
commit
f2b6540c52
Loading…
Reference in New Issue