From b992c7339116ada28b7021349a6dbea9f023ded0 Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Sat, 6 Aug 2005 03:43:42 +0000 Subject: In packet-frame.c, don't free static memory when we throw a DissectorError. In packet-kerberos.c, restore pinfo->private_data if we throw an exception, which keeps the SMB dissector from throwing a DissectorError. Initialize variables in other places to squelch valgrind warnings. svn path=/trunk/; revision=15235 --- epan/asn1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/asn1.c') diff --git a/epan/asn1.c b/epan/asn1.c index e976866bbd..d3d9fc02f3 100644 --- a/epan/asn1.c +++ b/epan/asn1.c @@ -319,7 +319,7 @@ asn1_header_decode(ASN1_SCK *asn1, guint *cls, guint *con, guint *tag, gboolean *defp, guint *lenp) { int ret; - guint def, len; + guint def, len = 0; ret = asn1_id_decode (asn1, cls, con, tag); if (ret != ASN1_ERR_NOERROR) -- cgit v1.2.3