diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-01-15 10:23:58 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-01-15 10:25:58 -0500 |
commit | b27f5cc50d4a66bff31e43a596eb296a1b5a11dc (patch) | |
tree | 343086f5d2b7a8a35607f469b47276faa56e7536 /src/or/buffers.c | |
parent | 2c04c506a480d2e7ab39a51c781f811963f30c9c (diff) | |
download | tor-b27f5cc50d4a66bff31e43a596eb296a1b5a11dc.tar.gz tor-b27f5cc50d4a66bff31e43a596eb296a1b5a11dc.zip |
Fix another instance of "128" in buffers.c. More bug2330.
Diffstat (limited to 'src/or/buffers.c')
-rw-r--r-- | src/or/buffers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/buffers.c b/src/or/buffers.c index de0c219e85..9a30a7b591 100644 --- a/src/or/buffers.c +++ b/src/or/buffers.c @@ -1670,7 +1670,7 @@ fetch_from_buf_socks_client(buf_t *buf, int state, char **reason) if (buf->datalen < 2) return 0; - buf_pullup(buf, 128, 0); + buf_pullup(buf, MAX_SOCKS_MESSAGE_LEN, 0); tor_assert(buf->head && buf->head->datalen >= 2); data = (unsigned char *) buf->head->data; |