master - coverity: missing error path
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=8173c2ff9af805a1f8eb79fb4bd223622f79ad0d Commit: 8173c2ff9af805a1f8eb79fb4bd223622f79ad0d Parent: b2d819eafac630cc683c5fdf02730a636dd9bff6 Author: Zdenek Kabelac <[email protected]> AuthorDate: Tue Mar 1 11:40:53 2016 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Tue Mar 1 14:02:43 2016 +0100
coverity: missing error path
--- WHATS_NEW | 1 + tools/toollib.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
WHATS_NEW +1 -0
@@ -1,5 +1,6 @@ Version 2.02.145 - ===================================== + Fix error path when pvcreate allocation fails (2.02.144). Display [unknown] instead of blank for unknown VG names in pvs output. Version 2.02.144 - 26th February 2016
tools/toollib.c +1 -0
@@ -4406,6 +4406,7 @@ do_command:if (!(pvl =dm_pool_alloc (cmd->mem,sizeof (*pvl)))) {log_error ("alloc pvl failed" );dm_list_move (&pp->arg_fail, &pd->list); +continue ; } pv_name = pd->name;