Hi all, The attached patch fixes a format-security warning in the J-Link driver when _DEBUG_USB_COMMS_ is defined.
Cheers, Zach
Index: src/jtag/jlink.c =================================================================== --- src/jtag/jlink.c (revision 1492) +++ src/jtag/jlink.c (working copy) @@ -963,7 +963,7 @@ snprintf(s, 4, " %02x", buffer[j]); strcat(line, s); } - LOG_DEBUG(line); + LOG_DEBUG("%s", line); } } #endif
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development