diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-01-18 19:52:59 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2020-01-19 11:49:10 +0100 |
commit | 534bf89976da8776e45846555379bd09aa96af70 (patch) | |
tree | 02b6587ecbd0ebd18e9e99fd3611ec8a8e8b404e /doc/classes/TreeItem.xml | |
parent | d4a222cd9d849a63f0535f70cbf78700bc5c815b (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 'doc/classes/TreeItem.xml')
0 files changed, 0 insertions, 0 deletions