diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-06-20 15:21:30 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-07-04 09:20:39 +0200 |
commit | 2ec5a3d212ac4b09e6c32d495f34ee3cdedc8c66 (patch) | |
tree | 0e6bc0e598836a18ccbea70fc58968226acd5c28 /src/rpcmisc.cpp | |
parent | e81e2e8f7cdee307227f150a6a2408c01fcafbf2 (diff) |
rpc: Prevent easy memory exhaustion attack
Allocate memory for POST message data only as bytes come in, instead of
all at once at the beginning.
Fixes #4343.
Diffstat (limited to 'src/rpcmisc.cpp')
0 files changed, 0 insertions, 0 deletions