summaryrefslogtreecommitdiff
path: root/epan/diam_dict.l
diff options
context:
space:
mode:
authorMartin Mathieson <martin.r.mathieson@googlemail.com>2007-07-18 13:22:11 +0000
committerMartin Mathieson <martin.r.mathieson@googlemail.com>2007-07-18 13:22:11 +0000
commitb0d92aeb98c05e9ef5bea90012412334e09e172e (patch)
treef31e5930cd15901e283c4b5de92feb55f74df46f /epan/diam_dict.l
parent0a759fa734aa2f2b8393938f243068dafe18214f (diff)
downloadwireshark-b0d92aeb98c05e9ef5bea90012412334e09e172e.tar.gz
Initialise description field to avoid crash when dumping dictionary.
svn path=/trunk/; revision=22351
Diffstat (limited to 'epan/diam_dict.l')
-rw-r--r--epan/diam_dict.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/diam_dict.l b/epan/diam_dict.l
index 29a93fdbae..ecf4ac28d3 100644
--- a/epan/diam_dict.l
+++ b/epan/diam_dict.l
@@ -410,6 +410,7 @@ description_attr description=\042
avp = g_malloc(sizeof(ddict_avp_t));
avp->name = NULL;
+ avp->description = NULL;
avp->vendor = NULL;
avp->code = 0;
avp->type = NULL;