aboutsummaryrefslogtreecommitdiffstats
path: root/epan/asn1.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2005-08-06 03:43:42 +0000
committerGerald Combs <gerald@wireshark.org>2005-08-06 03:43:42 +0000
commitb992c7339116ada28b7021349a6dbea9f023ded0 (patch)
treed34048dd20602ebb2a1ccafb954bec0bfe7c2e4a /epan/asn1.c
parent312c524a4cb9cfc7884ed2b06aa8806a686d10a7 (diff)
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
Diffstat (limited to 'epan/asn1.c')
-rw-r--r--epan/asn1.c2
1 files changed, 1 insertions, 1 deletions
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)