mirror of https://github.com/OISF/suricata
util/streaming-buffer: add extra safety check
Ticket: 7393 Check if GrowRegionToSize is called with an argument trying to shrink the region size, and if so do nothing, ie do not try to shrink, and just return ok. This way, we avoid a buffer overflow from memeset using an unsigned having underflowed.pull/12272/head
parent
8900041405
commit
9a53ec43b1
Loading…
Reference in New Issue