dfu,ftdipp_mpsse: sprintf -> snprintf

This commit is contained in:
Gwenhael Goavec
2024-02-20 20:59:13 +01:00
parent 3165552994
commit 0182d592be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ int DFU::searchDFUDevices()
}
} else if (_debug) {
char mess[256];
sprintf(mess,"Unable to open device: "
snprintf(mess, 256, "Unable to open device: "
"%04x:%04x (bus %d, device %2d) Error: %s -> skip\n",
desc.idVendor, desc.idProduct,
libusb_get_bus_number(usb_dev),