Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libiscsi for openSUSE:Factory 
checked in at 2023-03-09 17:44:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libiscsi (Old)
 and      /work/SRC/openSUSE:Factory/.libiscsi.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libiscsi"

Thu Mar  9 17:44:51 2023 rev:22 rq:1070165 version:1.19.0+git.20230208

Changes:
--------
--- /work/SRC/openSUSE:Factory/libiscsi/libiscsi.changes        2022-11-29 
10:52:23.264494619 +0100
+++ /work/SRC/openSUSE:Factory/.libiscsi.new.31432/libiscsi.changes     
2023-03-09 17:44:59.362668190 +0100
@@ -1,0 +2,10 @@
+Wed Mar  8 11:49:02 UTC 2023 - Martin Pluskal <mplus...@suse.com>
+
+- Update to version 1.19.0+git.20230208:
+  * iser: Remove unnecessary 'return;'
+  * pdu: Remove temporary variables from functions
+  * connect: Add check after malloc allocation
+  * aros_compat: Add check after malloc allocation
+- Build AVX2 enabled hwcaps library for x86_64-v3
+
+-------------------------------------------------------------------

Old:
----
  libiscsi-1.19.0+git.20221112.obscpio

New:
----
  baselibs.conf
  libiscsi-1.19.0+git.20230208.obscpio

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

Other differences:
------------------
++++++ libiscsi.spec ++++++
--- /var/tmp/diff_new_pack.rLfWVF/_old  2023-03-09 17:45:00.054671874 +0100
+++ /var/tmp/diff_new_pack.rLfWVF/_new  2023-03-09 17:45:00.058671894 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libiscsi
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,14 @@
 
 %define         sover 9
 Name:           libiscsi
-Version:        1.19.0+git.20221112
+Version:        1.19.0+git.20230208
 Release:        0
 Summary:        iSCSI client library and utilities
 License:        GPL-2.0-only AND LGPL-2.1-only
 Group:          Development/Libraries/C and C++
 URL:            https://github.com/sahlberg/libiscsi
-Source:         %{name}-%{version}.tar.gz
+Source0:        %{name}-%{version}.tar.gz
+Source99:       baselibs.conf
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bc
@@ -33,6 +34,7 @@
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
 BuildRequires:  pkgconfig(cunit)
+%{?suse_build_hwcaps_libs}
 
 %description
 libiscsi is a clientside library to implement the iSCSI protocol

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.rLfWVF/_old  2023-03-09 17:45:00.134672299 +0100
+++ /var/tmp/diff_new_pack.rLfWVF/_new  2023-03-09 17:45:00.138672320 +0100
@@ -3,6 +3,6 @@
                 <param name="url">g...@github.com:sahlberg/libiscsi.git</param>
               <param 
name="changesrevision">e6bcdf5fdbf39729399c4f0914661ca1055107a1</param></service><service
 name="tar_scm">
                 <param 
name="url">https://github.com/sahlberg/libiscsi.git</param>
-              <param 
name="changesrevision">be9e2d70cb0d4828b955b3cf05b508b471850c0d</param></service></servicedata>
+              <param 
name="changesrevision">22f7b26567760921fa1aad77cca642153123ea8c</param></service></servicedata>
 (No newline at EOF)
 

++++++ baselibs.conf ++++++
libiscsi9

++++++ libiscsi-1.19.0+git.20221112.obscpio -> 
libiscsi-1.19.0+git.20230208.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libiscsi-1.19.0+git.20221112/aros/aros_compat.c 
new/libiscsi-1.19.0+git.20230208/aros/aros_compat.c
--- old/libiscsi-1.19.0+git.20221112/aros/aros_compat.c 2022-11-13 
03:16:17.000000000 +0100
+++ new/libiscsi-1.19.0+git.20230208/aros/aros_compat.c 2023-02-08 
18:01:15.000000000 +0100
@@ -48,6 +48,9 @@
   struct sockaddr_in *sin;
 
   sin = malloc(sizeof(struct sockaddr_in));
+  if (!sin)
+    return -1;
+
   sin->sin_len = sizeof(struct sockaddr_in);
   sin->sin_family=AF_INET;
 
@@ -60,6 +63,8 @@
   } 
 
   *res = malloc(sizeof(struct addrinfo));
+  if (!*res)
+    return -2;
 
   (*res)->ai_family = AF_INET;
   (*res)->ai_addrlen = sizeof(struct sockaddr_in);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libiscsi-1.19.0+git.20221112/lib/connect.c 
new/libiscsi-1.19.0+git.20230208/lib/connect.c
--- old/libiscsi-1.19.0+git.20221112/lib/connect.c      2022-11-13 
03:16:17.000000000 +0100
+++ new/libiscsi-1.19.0+git.20230208/lib/connect.c      2023-02-08 
18:01:15.000000000 +0100
@@ -469,6 +469,10 @@
                tmp_iscsi->old_iscsi = iscsi->old_iscsi;
        } else {
                tmp_iscsi->old_iscsi = malloc(sizeof(struct iscsi_context));
+               if (!tmp_iscsi->old_iscsi) {
+                       free(tmp_iscsi);
+                       return -1;
+               }
                memcpy(tmp_iscsi->old_iscsi, iscsi, sizeof(struct 
iscsi_context));
        }
        memcpy(iscsi, tmp_iscsi, sizeof(struct iscsi_context));
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libiscsi-1.19.0+git.20221112/lib/iser.c 
new/libiscsi-1.19.0+git.20230208/lib/iser.c
--- old/libiscsi-1.19.0+git.20221112/lib/iser.c 2022-11-13 03:16:17.000000000 
+0100
+++ new/libiscsi-1.19.0+git.20230208/lib/iser.c 2023-02-08 18:01:15.000000000 
+0100
@@ -369,8 +369,6 @@
        iscsi_free(iscsi, iser_conn->rx_descs);
 
        iser_conn->rx_descs = NULL;
-
-       return;
 }
 
 static void
@@ -399,8 +397,6 @@
                iscsi_free(iscsi, temp_chunk);
        }
        iser_conn->buf_chunk = NULL;
-
-       return;
 }
 
 /*
@@ -460,8 +456,6 @@
                                iscsi_set_error(iscsi, "Failed to deallocate 
pd");
                }
        }
-
-       return;
 }
 
 /*
@@ -490,8 +484,6 @@
                rdma_destroy_event_channel(iser_conn->cma_channel);
                iser_conn->cma_channel = NULL;
        }
-
-       return;
 }
 
 /*
@@ -511,8 +503,6 @@
                        iscsi_set_error(iscsi, "Failed to disconnect, conn: 
0x%p, err %d\n",
                                        iser_conn, ret);
        }
-
-       return;
 }
 
 /*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libiscsi-1.19.0+git.20221112/lib/pdu.c 
new/libiscsi-1.19.0+git.20230208/lib/pdu.c
--- old/libiscsi-1.19.0+git.20221112/lib/pdu.c  2022-11-13 03:16:17.000000000 
+0100
+++ new/libiscsi-1.19.0+git.20230208/lib/pdu.c  2023-02-08 18:01:15.000000000 
+0100
@@ -90,11 +90,7 @@
 struct iscsi_pdu*
 iscsi_tcp_new_pdu(struct iscsi_context *iscsi, size_t size)
 {
-       struct iscsi_pdu *pdu;
-
-       pdu = iscsi_szmalloc(iscsi, size);
-
-       return pdu;
+       return iscsi_szmalloc(iscsi, size);
 }
 
 struct iscsi_pdu *

++++++ libiscsi.obsinfo ++++++
--- /var/tmp/diff_new_pack.rLfWVF/_old  2023-03-09 17:45:00.446673960 +0100
+++ /var/tmp/diff_new_pack.rLfWVF/_new  2023-03-09 17:45:00.450673981 +0100
@@ -1,5 +1,5 @@
 name: libiscsi
-version: 1.19.0+git.20221112
-mtime: 1668305777
-commit: be9e2d70cb0d4828b955b3cf05b508b471850c0d
+version: 1.19.0+git.20230208
+mtime: 1675875675
+commit: 22f7b26567760921fa1aad77cca642153123ea8c
 

Reply via email to