Files
linux-stable-mirror/drivers/usb/misc
Oliver Neukum a7564b1606 Revert "usb: yurex: Replace snprintf() with the safer scnprintf() variant"
commit 71c717cd8a upstream.

This reverts commit 86b20af11e.

This patch leads to passing 0 to simple_read_from_buffer()
as a fifth argument, turning the read method into a nop.
The change is fundamentally flawed, as it breaks the driver.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Cc: stable <stable@kernel.org>
Link: https://lore.kernel.org/r/20241007094004.242122-1-oneukum@suse.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-10-17 15:08:37 +02:00
..