sr: fix non-NULL terminated string overflow
[vpp.git] / src / vnet / srv6 / sr_policy_rewrite.c
index b7fbc4b..814fd62 100755 (executable)
@@ -1147,7 +1147,7 @@ show_sr_policies_command_fn (vlib_main_t * vm, unformat_input_t * input,
       }
       s = format (s, "\b\b > ");
       s = format (s, "weight: %u", segment_list->weight);
-      vlib_cli_output (vm, "  %s", s);
+      vlib_cli_output (vm, "  %v", s);
     }
     vlib_cli_output (vm, "-----------");
   }