Files
poky/meta/recipes-devtools
virendra thakur a528dc22aa opkg: Fix bad memory access error observe in file_read_line_alloc
In the case of a zero length string being returned by fgets(), the condition
checking for a trailing new line would perform a bad memory access outside
of `buf`. This might happen when line with a leading null byte is read.

Avoid this case by checking that the string has a length of at least one
byte.

Link: 8b45a3c4ca

(From OE-Core rev: 32e3618891295cec1ee5d4195998aa97f93b2207)

Signed-off-by: virendra thakur <virendrak@kpit.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 03:51:10 -10:00
..
2020-09-17 12:51:24 +01:00
2023-12-29 05:29:14 -10:00
2020-02-03 13:03:31 +00:00
2021-05-20 12:36:42 +01:00
2021-12-08 20:28:01 +00:00
2022-06-24 23:57:45 +01:00
2023-09-29 04:29:01 -10:00
2023-05-25 05:49:26 -10:00
2022-03-31 21:09:33 +01:00
2024-01-21 08:33:18 -10:00
2020-09-10 19:07:40 +01:00
2021-10-23 23:14:17 +01:00
2020-03-08 08:21:11 +00:00
2020-05-22 16:23:23 +01:00
2023-10-04 05:17:51 -10:00
2021-01-09 09:17:17 +00:00
2023-12-21 05:17:55 -10:00
2021-06-03 16:30:56 +01:00
2024-01-21 08:33:19 -10:00
2022-12-23 23:05:44 +00:00
2022-09-23 16:22:59 +01:00
2021-03-18 21:20:24 +00:00