aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-21 11:03:30 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-21 11:03:30 +0000
commit27f7d88c840a704b1b41324ace2e0fd3c2806857 (patch)
tree924290365ef9fa9081ef7aede148bdd47a51aeb0 /file.c
parent1108352f008b3fb0e53c56110edc71af507734b0 (diff)
downloadwireshark-27f7d88c840a704b1b41324ace2e0fd3c2806857.tar.gz
wireshark-27f7d88c840a704b1b41324ace2e0fd3c2806857.tar.bz2
wireshark-27f7d88c840a704b1b41324ace2e0fd3c2806857.zip
Also fake empty field_info's by gracefully handling NULL field_info pointer elsewhere.
svn path=/trunk/; revision=29490
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/file.c b/file.c
index ddee0925f7..39ae7bf102 100644
--- a/file.c
+++ b/file.c
@@ -2994,6 +2994,8 @@ match_subtree_text(proto_node *node, gpointer data)
guint8 c_char;
size_t c_match = 0;
+ g_assert(fi && "dissection with an invisible proto tree?");
+
if (mdata->frame_matched) {
/* We already had a match; don't bother doing any more work. */
return;