Re: [dm-devel] [PATCH] libmultipath: fix NULL dereference in find_path_by_dev

2021-01-25 Thread Martin Wilck
On Sat, 2021-01-23 at 16:19 +0800, lixiaokeng wrote: > When I test the 0.8.5 code with iscsi login/out, multipathd command > and multipath command concurrently, there is a multipathd coredump. > The stack is shown: > > uxlsnrloop >   ->cli_list_devices >     ->show_devices >  

[dm-devel] [PATCH] libmultipath: fix NULL dereference in find_path_by_dev

2021-01-23 Thread lixiaokeng
When I test the 0.8.5 code with iscsi login/out, multipathd command and multipath command concurrently, there is a multipathd coredump. The stack is shown: uxlsnrloop ->cli_list_devices ->show_devices ->snprint_devices ->find_path_by_dev The reason is that devname is NULL in