mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-06-11 16:45:35 +02:00
c90a18278b
arrays, check it before allocating the buffer, and always specify the maximum length when reading untrusted data - otherwise CountingConsumer will reject the packet, but not before we've tried to allocate a buffer of the specified size (up to 2 GB).