From b27f5cc50d4a66bff31e43a596eb296a1b5a11dc Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 15 Jan 2011 10:23:58 -0500 Subject: [PATCH] Fix another instance of "128" in buffers.c. More bug2330. --- src/or/buffers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;