Marek Vasut
55a95f8f58
usb: Expand buffer size in usb_find_and_bind_driver()
...
The "generic_bus_%x_dev_%x" string which is printed into this buffer
can be up to 34 characters long ("generic_bus_12345678_dev_12345678").
The buffer would be clipped by snprintf() if both %x were at maximum
range. Make sure the buffer is long enough to cover such possibility.
Signed-off-by: Marek Vasut <marex@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-11-27 12:04:36 +01:00
..
2021-08-30 14:10:05 -04:00
2021-08-30 14:10:05 -04:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:18 -04:00
2020-12-13 16:51:09 -07:00
2021-02-02 15:33:42 -05:00
2020-05-18 21:19:23 -04:00
2022-06-28 17:11:48 -04:00
2022-10-10 18:08:18 +02:00
2022-10-10 18:08:18 +02:00
2022-11-07 07:46:28 +01:00
2022-10-10 18:08:18 +02:00
2022-06-28 17:03:31 -04:00
2022-10-10 18:08:18 +02:00
2022-06-28 17:03:30 -04:00
2022-09-26 01:49:36 +02:00
2022-02-23 05:25:17 +01:00
2022-10-10 18:08:18 +02:00
2020-05-18 21:19:23 -04:00
2020-12-13 16:51:09 -07:00
2018-05-07 09:34:12 -04:00
2021-02-02 15:33:42 -05:00
2020-12-13 16:51:09 -07:00
2022-10-10 18:08:18 +02:00
2022-11-07 07:46:28 +01:00
2022-09-26 01:49:36 +02:00
2022-07-07 09:29:08 -04:00
2020-12-13 08:00:25 -07:00
2022-10-10 18:08:18 +02:00
2022-07-07 09:29:08 -04:00
2021-02-21 06:08:00 +01:00
2022-09-26 01:49:36 +02:00
2022-05-03 18:33:29 -04:00
2022-11-03 23:24:09 +01:00
2022-07-12 21:59:54 +02:00
2020-05-18 21:19:23 -04:00
2020-05-18 21:19:23 -04:00
2022-04-25 10:00:04 -04:00
2021-10-12 14:20:04 +02:00
2022-11-27 12:04:36 +01:00
2020-05-18 21:19:23 -04:00
2021-10-30 22:54:57 +02:00
2022-05-20 09:41:33 +02:00
2021-02-02 15:33:42 -05:00
2022-06-28 17:03:31 -04:00
2022-01-19 18:11:34 +01:00
2022-06-07 09:55:57 +02:00
2020-12-13 16:51:09 -07:00
2020-05-18 21:19:18 -04:00
2022-05-03 18:33:29 -04:00
2021-09-30 09:08:16 -04:00
2020-12-13 16:51:09 -07:00
2022-02-16 17:11:31 +01:00
2022-06-28 17:11:48 -04:00