|
(((unsigned char)socksreq[8] << 8) | (unsigned char)socksreq[9]), |
|
(((unsigned char)socksreq[8] << 8) | (unsigned char)socksreq[9]), |
|
(((unsigned char)socksreq[8] << 8) | (unsigned char)socksreq[9]), |
|
(((unsigned char)socksreq[8] << 8) | (unsigned char)socksreq[9]), |
should be:
(((unsigned char)socksreq[2] << 8) | (unsigned char)socksreq[3])
curl/lib/socks.c
Line 309 in c866608
curl/lib/socks.c
Line 319 in c866608
curl/lib/socks.c
Line 329 in c866608
curl/lib/socks.c
Line 338 in c866608
should be:
(((unsigned char)socksreq[2] << 8) | (unsigned char)socksreq[3])