#BACKPORT(1.10,1.8)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@50305
f5534014-38df-0310-8fa8-
9805f1628bb7
module->type = TBLTYPE_Module;
p = g_node_first_child(p);
-
+
if (!p) {
return;
}
pos.type = gettype(pos.node); /* the resulting type */
info = getinfo(pos.node);
tmp = "unknown tag";
- if ((info->tclass == BER_CLASS_UNI) && (info->tag < 31)) {
+ if (info && (info->tclass == BER_CLASS_UNI) && (info->tag < 31)) {
tmp = asn1_tag[info->tag];
pos.type = asn1_uni_type[info->tag]; /* get univsrsal type */
}