Avnish Chouhan
72b4c99376
osdep/linux/getroot: Add missing strdup() failure checks
...
If strdup() fails, it returns NULL and passing NULL further down to
the code can lead to segmentation fault or an undefined behavior.
Signed-off-by: Avnish Chouhan <avnish@linux.ibm.com>
Reviewed-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2025-11-18 12:49:31 +01:00
..
2022-07-04 14:43:26 +02:00
2022-07-04 14:43:26 +02:00
2022-03-21 18:47:16 +01:00
2023-12-12 17:55:14 +01:00
2024-06-20 19:14:41 +02:00
2022-07-04 14:43:26 +02:00
2023-12-12 17:53:56 +01:00
2022-03-21 18:47:16 +01:00
2024-01-25 18:17:09 +01:00
2025-11-18 12:49:31 +01:00
2022-07-04 14:43:26 +02:00
2025-09-04 14:37:20 +02:00
2022-07-04 14:43:26 +02:00
2013-10-15 17:02:26 +02:00
2013-11-16 20:21:16 +01:00
2013-11-16 20:21:16 +01:00
2013-10-15 13:13:53 +02:00
2013-12-08 18:08:23 +01:00
2013-10-14 21:33:55 +02:00
2013-10-08 18:42:46 +02:00
2013-12-14 21:39:03 +01:00
2013-10-19 16:39:38 +02:00
2013-10-19 16:39:38 +02:00
2013-10-13 20:03:42 +02:00
2013-10-08 18:25:49 +02:00
2013-10-08 17:51:39 +02:00
2013-11-16 20:21:16 +01:00
2013-12-14 23:35:58 +01:00
2013-10-19 02:30:05 +02:00
2013-10-19 16:21:08 +02:00
2013-10-08 17:38:46 +02:00