summaryrefslogtreecommitdiff
path: root/thirdparty
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-01-18 19:52:59 +0100
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2020-01-19 11:49:10 +0100
commit534bf89976da8776e45846555379bd09aa96af70 (patch)
tree02b6587ecbd0ebd18e9e99fd3611ec8a8e8b404e /thirdparty
parentd4a222cd9d849a63f0535f70cbf78700bc5c815b (diff)
PacketPeer use heap buffer for var encoding.
Used to allocate in stack (via alloca) which causes crashes when trying to encode big variables. The buffer grows as needed up to `encode_buffer_max_size` (which is 8MiB by default) and always in power of 2.
Diffstat (limited to 'thirdparty')
0 files changed, 0 insertions, 0 deletions