Skip to content
Snippets Groups Projects
Commit b27f5cc5 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Fix another instance of "128" in buffers.c. More bug2330.

parent 2c04c506
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment