Hello community,

here is the log from the commit of package libstorage-ng for openSUSE:Factory 
checked in at 2020-01-20 22:49:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libstorage-ng (Old)
 and      /work/SRC/openSUSE:Factory/.libstorage-ng.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libstorage-ng"

Mon Jan 20 22:49:23 2020 rev:73 rq:765312 version:4.2.56

Changes:
--------
--- /work/SRC/openSUSE:Factory/libstorage-ng/libstorage-ng.changes      
2020-01-17 16:03:29.512386250 +0100
+++ /work/SRC/openSUSE:Factory/.libstorage-ng.new.26092/libstorage-ng.changes   
2020-01-20 22:49:36.419208772 +0100
@@ -1,0 +2,7 @@
+Fri Jan 17 14:42:30 UTC 2020 - [email protected]
+
+- merge gh#openSUSE/libstorage-ng#701
+- check for existence of lvm vg before using it (bsc#1161191)
+- 4.2.56
+
+--------------------------------------------------------------------

Old:
----
  libstorage-ng-4.2.55.tar.xz

New:
----
  libstorage-ng-4.2.56.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libstorage-ng.spec ++++++
--- /var/tmp/diff_new_pack.csxnmp/_old  2020-01-20 22:49:38.555209594 +0100
+++ /var/tmp/diff_new_pack.csxnmp/_new  2020-01-20 22:49:38.575209601 +0100
@@ -18,7 +18,7 @@
 
 %define libname %{name}1
 Name:           libstorage-ng
-Version:        4.2.55
+Version:        4.2.56
 Release:        0
 Summary:        Library for storage management
 License:        GPL-2.0-only

++++++ libstorage-ng-4.2.55.tar.xz -> libstorage-ng-4.2.56.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.2.55/LIBVERSION 
new/libstorage-ng-4.2.56/LIBVERSION
--- old/libstorage-ng-4.2.55/LIBVERSION 2020-01-16 11:54:03.000000000 +0100
+++ new/libstorage-ng-4.2.56/LIBVERSION 2020-01-17 15:42:30.000000000 +0100
@@ -1 +1 @@
-1.25.2
+1.25.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.2.55/VERSION 
new/libstorage-ng-4.2.56/VERSION
--- old/libstorage-ng-4.2.55/VERSION    2020-01-16 11:54:03.000000000 +0100
+++ new/libstorage-ng-4.2.56/VERSION    2020-01-17 15:42:30.000000000 +0100
@@ -1 +1 @@
-4.2.55
+4.2.56
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libstorage-ng-4.2.55/storage/Devices/LvmVgImpl.cc 
new/libstorage-ng-4.2.56/storage/Devices/LvmVgImpl.cc
--- old/libstorage-ng-4.2.55/storage/Devices/LvmVgImpl.cc       2020-01-16 
11:54:03.000000000 +0100
+++ new/libstorage-ng-4.2.56/storage/Devices/LvmVgImpl.cc       2020-01-17 
15:42:30.000000000 +0100
@@ -760,7 +760,11 @@
        if (!is_lvm_pv(device))
            return false;
 
-       return to_lvm_pv(device)->get_lvm_vg()->get_sid() == get_sid();
+       const LvmPv* lvm_pv = to_lvm_pv(device);
+       if (!lvm_pv->has_lvm_vg())
+           return false;
+
+       return lvm_pv->get_lvm_vg()->get_sid() == get_sid();
     }
 
 


Reply via email to