Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2017-08-12 19:32:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and      /work/SRC/openSUSE:Factory/.open-iscsi.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "open-iscsi"

Sat Aug 12 19:32:47 2017 rev:63 rq:514132 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes    2017-06-07 
09:51:44.557892627 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes       
2017-08-12 19:32:49.093368296 +0200
@@ -1,0 +2,8 @@
+Thu Jul 27 16:22:58 UTC 2017 - ldun...@suse.com
+
+- Clear errno before calling strotull in iscsiadm
+  (bsc#1029364). Note that this changes the file:
+  * open-iscsi-SUSE-latest.diff.bz2
+  which is changed each and every time this package is updated.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ open-iscsi-SUSE-latest.diff.bz2 ++++++
--- /var/tmp/diff_new_pack.HlbRcg/_old  2017-08-12 19:32:49.709281930 +0200
+++ /var/tmp/diff_new_pack.HlbRcg/_new  2017-08-12 19:32:49.725279687 +0200
@@ -3025,10 +3025,10 @@
      rm -rf $DESTDIR
      if [ "$TMPDIR" ] ; then
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 65f4171e0bae..3af3ffc25dbc 100644
+index 65f4171e0bae..78bcd59199e2 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
-@@ -1,173 +1,275 @@
+@@ -1,173 +1,283 @@
  -------------------------------------------------------------------
 -Thu Nov 17 01:48:22 UTC 2016 - ldun...@suse.com
 -
@@ -3176,6 +3176,14 @@
 -
 --------------------------------------------------------------------
 -Tue Nov 25 11:43:03 PST 2014 - ldun...@suse.com
++Thu Jul 27 16:22:58 UTC 2017 - ldun...@suse.com
++
++- Clear errno before calling strotull in iscsiadm
++  (bsc#1029364). Note that this changes the file:
++  * open-iscsi-SUSE-latest.diff.bz2
++  which is changed each and every time this package is updated.
++
++-------------------------------------------------------------------
 +Fri May 26 16:03:54 UTC 2017 - ldun...@suse.com
 +
 +- Added two iscsiuio upstream commits, for ipv6
@@ -3459,7 +3467,7 @@
  
  -------------------------------------------------------------------
  Tue Jul  8 16:27:39 CEST 2014 - h...@suse.de
-@@ -203,13 +305,13 @@ Wed May 28 15:26:29 CEST 2014 - h...@suse.de
+@@ -203,13 +313,13 @@ Wed May 28 15:26:29 CEST 2014 - h...@suse.de
  Fri May 2 15:07:14 2014 +0200 - h...@suse.de
  
  - iscsi_offload: do not print error messages for be2iscsi
@@ -3476,7 +3484,7 @@
  
  - Added two not-yet-upstream patches for iscsiuio/systemd activation
    from Chris Leech (bnc#869567):
-@@ -218,67 +320,73 @@ Mon Apr 28 11:00:03 PDT 2014 - ldun...@suse.com
+@@ -218,67 +328,73 @@ Mon Apr 28 11:00:03 PDT 2014 - ldun...@suse.com
    Updated spec file to handle install/package of new files.
  
  -------------------------------------------------------------------
@@ -4095,7 +4103,7 @@
  extern int iscsi_sysfs_get_host_state(char *state, int host_no);
  extern int iscsi_sysfs_get_device_state(char *state, int host_no, int target,
 diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c
-index 9602f6c331ec..6c27f3e4c34d 100644
+index 9602f6c331ec..b30518a293db 100644
 --- a/usr/iscsiadm.c
 +++ b/usr/iscsiadm.c
 @@ -252,7 +252,7 @@ str_to_portal_type(char *str)
@@ -4159,7 +4167,15 @@
  
        switch (disc_type) {
        case DISCOVERY_TYPE_SENDTARGETS:
-@@ -3263,6 +3265,7 @@ main(int argc, char **argv)
+@@ -3086,6 +3088,7 @@ static uint64_t parse_host_info(char *optarg, int *rc)
+                       *rc = ISCSI_ERR_INVAL;
+               }
+       } else {
++              errno = 0;      // ensure errors from strtoull are real
+               host_no = strtoull(optarg, NULL, 10);
+               if (errno || (host_no > MAX_HOST_NO)) {
+                       if (host_no > MAX_HOST_NO)
+@@ -3263,6 +3266,7 @@ main(int argc, char **argv)
        int packet_size=32, ping_count=1, ping_interval=0;
        int do_discover = 0, sub_mode = -1;
        int portal_type = -1;
@@ -4167,7 +4183,15 @@
        struct sigaction sa_old;
        struct sigaction sa_new;
        struct list_head ifaces;
-@@ -3448,7 +3451,7 @@ main(int argc, char **argv)
+@@ -3413,6 +3417,7 @@ main(int argc, char **argv)
+                               ISCSI_VERSION_STR);
+                       return 0;
+               case 'x':
++                      errno = 0;      // ensure errors from strtoull are real
+                       index = strtoull(optarg, NULL, 10);
+                       if (errno) {
+                               log_error("Invalid index %s. %s.",
+@@ -3448,7 +3453,7 @@ main(int argc, char **argv)
        }
  
        if (killiscsid >= 0) {


Reply via email to