mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-04-12 19:21:17 +02:00
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).