Don't use %s as the format string in val_to_str(). This fixes the fuzz failure in...
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 6 Apr 2010 13:40:06 +0000 (13:40 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 6 Apr 2010 13:40:06 +0000 (13:40 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32398 f5534014-38df-0310-8fa8-9805f1628bb7

plugins/docsis/packet-regrsp.c

index a0c87cdc6b78b14848b4c2afcc5314c5047b2472..e857aadc7345a5a728a963c6364c7efb5a0ccc44 100644 (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)
     {