Wireshark-bugs: [Wireshark-bugs] [Bug 2157] SOCKS 5 decoding fails when client pipelines connect

Date: Tue, 16 Apr 2013 12:54:28 +0000

changed bug 2157

What Removed Added
CC   [email protected]

Comment # 5 on bug 2157 from
After applying r48874 with the SOCKS changes, the following compile errors
commence on Linux. Last one is because I already enabled the compat switch.

<removed>/wireshark/src/epan/dissectors/packet-socks.c:613:2: error:
enumeration value ‘serverNoInit’ not handled in switch [-Werror=switch]
<removed>/wireshark/src/epan/dissectors/packet-socks.c:613:2: error:
enumeration value ‘serverInitReply’ not handled in switch [-Werror=switch]
<removed>/wireshark/src/epan/dissectors/packet-socks.c:613:2: error:
enumeration value ‘serverDone’ not handled in switch [-Werror=switch]
<removed>/wireshark/src/epan/dissectors/packet-socks.c:613:2: error:
enumeration value ‘serverError’ not handled in switch [-Werror=switch]
<removed>/wireshark/src/epan/dissectors/packet-socks.c:600:15: error: variable
‘command’ set but not used [-Werror=unused-but-set-variable]
<removed>/wireshark/src/epan/dissectors/packet-socks.c:591:65: error: unused
parameter ‘pinfo’ [-Werror=unused-parameter]
<removed>/wireshark/src/epan/dissectors/packet-socks.c:592:40: error: unused
parameter ‘hash_info’ [-Werror=unused-parameter]
<removed>/wireshark/src/epan/dissectors/packet-socks.c: In function
‘dissect_socks’:
<removed>/wireshark/src/epan/dissectors/packet-socks.c:1076:7: error: suggest
explicit braces to avoid ambiguous ‘else’ [-Werror=parentheses]
<removed>/wireshark/src/epan/dissectors/packet-socks.c:1122:6: error: request
for implicit conversion from ‘const void *’ to ‘const guint8 *’ not permitted
in C++ [-Werror=c++-compat]
cc1: all warnings being treated as errors


You are receiving this mail because:
  • You are the assignee for the bug.
  • You are watching all bug changes.