On Thu, 2021-05-13 at 12:23 -0500, Benjamin Marzinski wrote: > When ev_remove_path() returns success, callers assume that the path > (and > possibly the map) has been removed. When ev_remove_path() returns > failure, callers assume that the path has not been removed. However, > the > path could be removed on both success or failure. This could cause > callers to dereference the path after it was removed. Change > ev_remove_path() to return success whenever the path is removed, even > if > the map was removed due to a failure when trying to reload it. Found > by > coverity. > > Signed-off-by: Benjamin Marzinski <bmarzins@xxxxxxxxxx> I'd have preferred to to join this with patch no. 6. Anyway: Reviewed-by: Martin Wilck <mwilck@xxxxxxxx> -- dm-devel mailing list dm-devel@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/dm-devel