Hello community,

here is the log from the commit of package linuxrc for openSUSE:Factory checked 
in at 2017-10-13 14:03:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/linuxrc (Old)
 and      /work/SRC/openSUSE:Factory/.linuxrc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "linuxrc"

Fri Oct 13 14:03:53 2017 rev:246 rq:532183 version:5.0.110

Changes:
--------
--- /work/SRC/openSUSE:Factory/linuxrc/linuxrc.changes  2017-10-02 
16:51:44.239162231 +0200
+++ /work/SRC/openSUSE:Factory/.linuxrc.new/linuxrc.changes     2017-10-13 
14:03:55.080337196 +0200
@@ -1,0 +2,8 @@
+Fri Oct 6 11:26:32 UTC 2017 - [email protected]
+
+- merge gh#openSUSE/linuxrc#149
+- fix segfault when using an invalid url scheme (bsc#1061824)
+- show error message when reading an 'info' or 'autoyast2' url fails
+- 5.0.110
+
+--------------------------------------------------------------------

Old:
----
  linuxrc-5.0.109.tar.xz

New:
----
  linuxrc-5.0.110.tar.xz

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

Other differences:
------------------
++++++ linuxrc.spec ++++++
--- /var/tmp/diff_new_pack.dLXz9L/_old  2017-10-13 14:03:55.620313449 +0200
+++ /var/tmp/diff_new_pack.dLXz9L/_new  2017-10-13 14:03:55.620313449 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           linuxrc
-Version:        5.0.109
+Version:        5.0.110
 Release:        0
 Summary:        SUSE Installation Program
 License:        GPL-3.0+

++++++ linuxrc-5.0.109.tar.xz -> linuxrc-5.0.110.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.109/VERSION new/linuxrc-5.0.110/VERSION
--- old/linuxrc-5.0.109/VERSION 2017-09-26 11:53:55.000000000 +0200
+++ new/linuxrc-5.0.110/VERSION 2017-10-06 13:26:32.000000000 +0200
@@ -1 +1 @@
-5.0.109
+5.0.110
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.109/auto2.c new/linuxrc-5.0.110/auto2.c
--- old/linuxrc-5.0.109/auto2.c 2017-09-26 11:53:55.000000000 +0200
+++ new/linuxrc-5.0.110/auto2.c 2017-10-06 13:26:32.000000000 +0200
@@ -352,6 +352,9 @@
       file_read_info_file("file:/download/info", kf_cfg);
       net_update_ifcfg(IFCFG_IFUP);
     }
+    else {
+      log_show("Failed to read info file.\n");
+    }
   }
 
   /*
@@ -392,6 +395,9 @@
       file_read_info_file("file:/download/autoinst.xml", kf_cfg);
       net_update_ifcfg(IFCFG_IFUP);
     }
+    else {
+      log_show_maybe(!url->quiet, "Failed to download AutoYaST file.\n");
+    }
   }
 
   /* load & run driverupdates */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.109/changelog 
new/linuxrc-5.0.110/changelog
--- old/linuxrc-5.0.109/changelog       2017-09-26 11:53:55.000000000 +0200
+++ new/linuxrc-5.0.110/changelog       2017-10-06 13:26:32.000000000 +0200
@@ -1,3 +1,7 @@
+2017-10-06:    5.0.110
+       - show error message when reading an 'info' or 'autoyast2' url fails
+       - fix segfault when using an invalid url scheme (bsc #1061824)
+
 2017-09-26:    5.0.109
        - clarify SetHostname option usage
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/linuxrc-5.0.109/url.c new/linuxrc-5.0.110/url.c
--- old/linuxrc-5.0.109/url.c   2017-09-26 11:53:55.000000000 +0200
+++ new/linuxrc-5.0.110/url.c   2017-10-06 13:26:32.000000000 +0200
@@ -1998,7 +1998,7 @@
   tc_flags = flags;
   tc_label = label;
   
-  if(!dst) return 1;
+  if(!dst || !url->scheme) return 1;
   if(!(flags & URL_FLAG_NOUNLINK)) unlink(dst);
 
   /* create missing directories */
@@ -2034,6 +2034,10 @@
 
   tc_src = src;
 
+  // it is expected that tc_src holds a non-NULL pointer
+  // (else there's no source to read from)
+  if(!tc_src) return 1;
+
   if(url->mount) {
     strprintf(&buf1, "file:%s", url->mount);
     url = url_set(buf1);


Reply via email to