commit | 864e8256ec767826964f0c8b27d468a1ea1ed9aa | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Dec 28 17:36:37 2009 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Dec 28 17:36:37 2009 +0100 |
tree | b281626201fb56ada26e43667a277585882b604c | |
parent | 58cc872848314ef2ecbaf9808ce4bd5f5b20bb69 [diff] |
[BUG] stream_sock: wrong max computation on recv Since the introduction of the automatic sizing of buffers during reads, a bug appeared where the max size could be negative, causing large chunks of memory to be overwritten during recv() calls if a read pointer was already past the buffer's limit.