Hello community,

here is the log from the commit of package libzypp for openSUSE:Factory checked 
in at 2020-06-28 23:05:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libzypp (Old)
 and      /work/SRC/openSUSE:Factory/.libzypp.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libzypp"

Sun Jun 28 23:05:37 2020 rev:430 rq:817261 version:17.23.8

Changes:
--------
--- /work/SRC/openSUSE:Factory/libzypp/libzypp.changes  2020-06-25 
16:47:11.980914590 +0200
+++ /work/SRC/openSUSE:Factory/.libzypp.new.3060/libzypp.changes        
2020-06-28 23:07:07.339017284 +0200
@@ -1,0 +2,6 @@
+Fri Jun 26 14:13:10 CEST 2020 - m...@suse.de
+
+- Fix core dump with corrupted history file (bsc#1170801)
+- version 17.23.8 (22)
+
+-------------------------------------------------------------------

Old:
----
  libzypp-17.23.7.tar.bz2

New:
----
  libzypp-17.23.8.tar.bz2

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

Other differences:
------------------
++++++ libzypp.spec ++++++
--- /var/tmp/diff_new_pack.HKRAtb/_old  2020-06-28 23:07:08.479021070 +0200
+++ /var/tmp/diff_new_pack.HKRAtb/_new  2020-06-28 23:07:08.483021084 +0200
@@ -25,7 +25,7 @@
 %bcond_without mediabackend_tests
 
 Name:           libzypp
-Version:        17.23.7
+Version:        17.23.8
 Release:        0
 URL:            https://github.com/openSUSE/libzypp
 Summary:        Library for package, patch, pattern and product management

++++++ libzypp-17.23.7.tar.bz2 -> libzypp-17.23.8.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzypp-17.23.7/VERSION.cmake 
new/libzypp-17.23.8/VERSION.cmake
--- old/libzypp-17.23.7/VERSION.cmake   2020-06-23 17:51:36.000000000 +0200
+++ new/libzypp-17.23.8/VERSION.cmake   2020-06-26 14:17:30.000000000 +0200
@@ -61,8 +61,8 @@
 SET(LIBZYPP_MAJOR "17")
 SET(LIBZYPP_COMPATMINOR "22")
 SET(LIBZYPP_MINOR "23")
-SET(LIBZYPP_PATCH "7")
+SET(LIBZYPP_PATCH "8")
 #
-# LAST RELEASED: 17.23.7 (22)
+# LAST RELEASED: 17.23.8 (22)
 # (The number in parenthesis is LIBZYPP_COMPATMINOR)
 #=======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzypp-17.23.7/package/libzypp.changes 
new/libzypp-17.23.8/package/libzypp.changes
--- old/libzypp-17.23.7/package/libzypp.changes 2020-06-23 17:51:36.000000000 
+0200
+++ new/libzypp-17.23.8/package/libzypp.changes 2020-06-26 14:17:30.000000000 
+0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Fri Jun 26 14:13:10 CEST 2020 - m...@suse.de
+
+- Fix core dump with corrupted history file (bsc#1170801)
+- version 17.23.8 (22)
+
+-------------------------------------------------------------------
 Tue Jun 23 17:44:21 CEST 2020 - m...@suse.de
 
 - Enable zchunk metadata download if libsolv supports it.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libzypp-17.23.7/zypp/parser/HistoryLogReader.cc 
new/libzypp-17.23.8/zypp/parser/HistoryLogReader.cc
--- old/libzypp-17.23.7/zypp/parser/HistoryLogReader.cc 2020-04-03 
17:01:13.000000000 +0200
+++ new/libzypp-17.23.8/zypp/parser/HistoryLogReader.cc 2020-06-26 
12:11:42.000000000 +0200
@@ -66,8 +66,12 @@
     // parse into fields
     HistoryLogData::FieldVector fields;
     str::splitEscaped( line_r, std::back_inserter(fields), "|", true );
-    if ( fields.size() >= 2 )
-      fields[1] = str::trim( std::move(fields[1]) );   // for whatever reason 
writer is padding the action field
+
+    if ( fields.size() < 2 ) {
+      WAR << "Ignore invalid history log entry on line #" << lineNr_r << " 
'"<< line_r << "'" << endl;
+      return true;     // At least an action field[1] is needed!
+    }
+    fields[1] = str::trim( std::move(fields[1]) );     // for whatever reason 
writer is padding the action field
 
     if ( !_actionfilter.empty() && !_actionfilter.count( fields[1] ) )
       return true;


Reply via email to