On Fri, 2020-08-21 at 19:00 +0800, Zhiqiang Liu wrote: > In alloc_ble_device func, ble is firstly allocated by calling MALLOC, > and then input blist is checked whether it is valid. If blist is not > valid, ble will be freed without using. > > Here, we should check blist firstly. > > Signed-off-by: Zhiqiang Liu <liuzhiqiang26@xxxxxxxxxx> > Signed-off-by: lixiaokeng <lixiaokeng@xxxxxxxxxx> > Reviewed-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> Reviewed-by: Martin Wilck <mwilck@xxxxxxxx> This one is already applied in my "upstream-queue" branch. -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel