Andrew Goodbody
23d2c182d4
fastboot: Fix off by 1 error
...
strlen only reports length of string not including terminating 0 byte
but this has to be included in length of receiving buffer on copy so
adjust length check to be correct.
This issue found by Smatch.
Signed-off-by: Andrew Goodbody <andrew.goodbody@linaro.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
2025-07-22 11:30:14 -06:00
..
2025-07-10 08:41:05 -06:00
2025-07-10 08:41:03 -06:00
2025-07-11 11:33:25 -06:00
2025-04-11 12:16:44 -06:00
2025-06-02 18:20:33 +02:00
2025-07-03 18:11:06 +08:00
2025-07-17 14:37:40 +08:00
2025-07-14 15:16:56 -06:00
2025-05-03 16:55:32 -03:00
2025-07-11 11:33:25 -06:00
2025-06-14 09:09:39 -06:00
2025-07-16 10:56:28 -06:00
2025-07-10 08:40:52 -06:00
2025-07-22 11:30:14 -06:00
2025-07-08 14:58:43 +02:00
2025-07-08 14:58:43 +02:00
2025-06-02 17:26:16 -06:00
2025-07-17 14:37:36 +08:00
2025-07-16 09:20:13 +02:00
2025-07-18 12:22:09 -06:00
2025-06-14 09:11:10 -06:00
2025-04-11 12:16:44 -06:00
2025-04-11 12:16:44 -06:00
2025-07-18 12:22:17 -06:00
2025-07-17 11:42:46 -06:00
2025-07-01 10:43:03 -06:00
2025-04-11 12:16:49 -06:00
2025-07-17 14:37:40 +08:00
2025-07-10 08:41:23 -06:00
2025-07-14 15:16:48 -06:00
2025-07-08 16:19:31 -06:00
2025-06-26 13:48:36 -06:00
2025-07-14 12:44:04 -06:00
2025-06-14 09:10:48 -06:00
2025-06-12 16:26:56 -06:00
2025-06-20 12:15:08 -06:00
2025-06-14 09:10:48 -06:00
2025-06-18 12:16:39 -06:00
2025-06-11 09:42:55 +02:00
2025-04-23 22:12:04 +08:00
2025-06-25 13:42:04 -06:00
2025-07-14 15:16:43 -06:00
2025-07-10 08:02:11 -03:00
2025-06-14 09:09:39 -06:00
2025-07-17 14:37:36 +08:00
2025-05-08 08:30:53 +03:00
2025-04-11 12:16:44 -06:00
2025-06-10 19:30:00 +03:00
2025-04-16 13:42:06 +02:00
2025-06-18 08:05:29 -06:00
2025-06-14 09:10:48 -06:00
2025-06-02 17:26:16 -06:00
2025-07-10 08:02:11 -03:00
2025-07-14 08:54:19 -06:00
2025-04-11 12:16:44 -06:00