includes an exception ID - the sequence length could be zero. When
generating a dissector for a USER_EXCEPTION reply, return FALSE if
there's no exception ID. (And since we're now always using the header
pointer argument, un-_U_ize it.)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14743
f5534014-38df-0310-8fa8-
9805f1628bb7
*
*/
-static gboolean decode_user_exception(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int *offset _U_, MessageHeader *header _U_, gchar *operation _U_ ) {
+static gboolean decode_user_exception(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int *offset _U_, MessageHeader *header, gchar *operation _U_ ) {
gboolean be _U_; /* big endianess */
-
+ if (!header->exception_id)
+ return FALSE;
+
"""