Daniel Axtens
db29073fc7
disk/lvm: Do not crash if an expected string is not found
...
Clean up a bunch of cases where we could have strstr() fail and lead to
us dereferencing NULL.
We'll still leak memory in some cases (loops don't clean up allocations
from earlier iterations if a later iteration fails) but at least we're
not crashing.
Signed-off-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2021-03-02 15:54:18 +01:00
..
2019-04-08 15:22:10 +10:00
2021-03-02 15:54:15 +01:00
2021-03-02 15:54:17 +01:00
2021-03-02 15:54:18 +01:00
2020-07-29 16:55:47 +02:00
2020-07-29 16:55:48 +02:00
2021-03-02 15:54:18 +01:00
2021-03-02 15:54:15 +01:00
2018-11-09 13:25:31 +01:00
2021-03-02 15:54:17 +01:00
2012-03-03 13:05:08 +01:00
2021-03-02 15:54:18 +01:00
2021-03-02 15:54:17 +01:00
2021-03-02 15:54:17 +01:00
2021-03-02 15:54:17 +01:00
2021-03-02 15:54:15 +01:00
2021-03-02 15:54:16 +01:00
2021-03-02 15:54:17 +01:00
2020-12-12 01:19:03 +01:00
2020-12-12 01:19:03 +01:00
2012-03-05 16:42:26 +01:00
2021-03-02 15:54:17 +01:00
2021-03-02 15:54:18 +01:00
2020-07-29 16:55:47 +02:00
2021-03-02 15:54:18 +01:00
2013-10-14 03:40:20 +02:00
2014-01-18 23:15:40 +04:00
2014-01-18 23:15:40 +04:00
2018-03-05 14:08:22 +01:00
2017-08-14 16:27:10 +02:00
2017-05-03 12:49:31 +02:00
2013-04-27 02:00:16 +02:00
2013-03-01 11:15:09 +01:00
2014-09-21 18:23:23 +02:00
2021-03-02 15:54:15 +01:00
2021-03-02 15:54:15 +01:00
2017-05-03 12:49:31 +02:00