diff options
author | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-21 11:03:30 +0000 |
---|---|---|
committer | Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com> | 2009-08-21 11:03:30 +0000 |
commit | 27f7d88c840a704b1b41324ace2e0fd3c2806857 (patch) | |
tree | 924290365ef9fa9081ef7aede148bdd47a51aeb0 /epan/dissectors/packet-iax2.c | |
parent | 1108352f008b3fb0e53c56110edc71af507734b0 (diff) |
Also fake empty field_info's by gracefully handling NULL field_info pointer elsewhere.
svn path=/trunk/; revision=29490
Diffstat (limited to 'epan/dissectors/packet-iax2.c')
-rw-r--r-- | epan/dissectors/packet-iax2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-iax2.c b/epan/dissectors/packet-iax2.c index 46f71140c5..b347125c4e 100644 --- a/epan/dissectors/packet-iax2.c +++ b/epan/dissectors/packet-iax2.c @@ -1332,7 +1332,7 @@ static guint32 dissect_ies (tvbuff_t * tvb, guint32 offset, /* if the representation of the item has already been set, use that; else we have to allocate a block to put the text into */ - if( ie_finfo -> rep != NULL ) + if( ie_finfo && ie_finfo->rep != NULL ) proto_item_set_text(ti, "Information Element: %s", ie_finfo->rep->representation); else { |