TODO: quick fix
authorGregor Beck <gbeck@sernet.de>
Wed, 22 Jan 2014 10:13:15 +0000 (11:13 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 29 Jan 2014 08:18:27 +0000 (09:18 +0100)
epan/dissectors/packet-dcerpc.c

index 448c866b9abbf4afe788bb687dce0c50596b3f56..296de12fa2c0444d7867c04a4fcc3c6cd8b96227 100644 (file)
@@ -2951,8 +2951,8 @@ dissect_sec_vt_header(proto_tree *tree, tvbuff_t *tvb, int offset)
 }
 
 static int
-dissect_verification_trailer(tvbuff_t *tvb, int stub_offset,
-                             proto_tree *parent_tree, int *signature_offset)
+dissect_verification_trailer_impl(tvbuff_t *tvb, int stub_offset,
+                                  proto_tree *parent_tree, int *signature_offset)
 {
         int offset = stub_offset;
        static const guint8 TRAILER_SIGNATUR[] = {0x8a, 0xe3, 0x13, 0x71, 0x02, 0xf4, 0x36, 0x71};
@@ -3085,6 +3085,18 @@ dissect_verification_trailer(tvbuff_t *tvb, int stub_offset,
        return offset;
 }
 
+static int
+dissect_verification_trailer(tvbuff_t *tvb, int stub_offset,
+                             proto_tree *parent_tree, int *signature_offset)
+{
+    int ret = -1;
+    TRY {
+        ret = dissect_verification_trailer_impl(tvb, stub_offset, parent_tree, signature_offset);
+    } CATCH_NONFATAL_ERRORS {
+    } ENDTRY;
+    return ret;
+}
+
 static int
 dcerpc_try_handoff(packet_info *pinfo, proto_tree *tree,
                    proto_tree *dcerpc_tree,