diff options
author | Gerald Combs <gerald@wireshark.org> | 2005-08-06 03:43:42 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2005-08-06 03:43:42 +0000 |
commit | b992c7339116ada28b7021349a6dbea9f023ded0 (patch) | |
tree | d34048dd20602ebb2a1ccafb954bec0bfe7c2e4a /epan/asn1.c | |
parent | 312c524a4cb9cfc7884ed2b06aa8806a686d10a7 (diff) | |
download | wireshark-b992c7339116ada28b7021349a6dbea9f023ded0.tar.gz wireshark-b992c7339116ada28b7021349a6dbea9f023ded0.tar.bz2 wireshark-b992c7339116ada28b7021349a6dbea9f023ded0.zip |
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.c | 2 |
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) |