check if we have a finfo before dereferencing it later in PROTO_ITEM_IS_HIDDEN()
this prevents wireshark from crashing on X Liu's kerberos capture files svn path=/trunk/; revision=20464
This commit is contained in:
parent
ceb60b0a6d
commit
3e9ac49497
|
@ -2974,6 +2974,9 @@ proto_item_append_text(proto_item *pi, const char *format, ...)
|
|||
}
|
||||
|
||||
fi = PITEM_FINFO(pi);
|
||||
if (fi==NULL) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!PROTO_ITEM_IS_HIDDEN(pi)) {
|
||||
va_start(ap, format);
|
||||
|
|
Loading…
Reference in New Issue