Don't use %s as the format string in val_to_str(). This fixes the fuzz failure in bug 4646.

svn path=/trunk/; revision=32398
This commit is contained in:
Jeff Morriss 2010-04-06 13:40:06 +00:00
parent a62e401a5d
commit 8f21d5c167
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ dissect_regrsp (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
col_add_fstr (pinfo->cinfo, COL_INFO,
"Registration Response SID = %u (%s)", sid,
val_to_str (response, docsis_conf_code, "%s"));
val_to_str (response, docsis_conf_code, "%d"));
if (tree)
{