mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 01:51:26 +00:00
snprintf will automatically write \0 at the end of the string, and the last one byte will be out of bound. create a new function ds_put_hex_with_delimiter, instead of chassisid_to string and format_hex_arg. Found in sanitize test. Signed-off-by: Changliang Wu <changliang.wu@smartx.com> Signed-off-by: Aaron Conole <aconole@redhat.com>