Hello community, here is the log from the commit of package open-iscsi for openSUSE:Factory checked in at 2018-06-05 12:49:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old) and /work/SRC/openSUSE:Factory/.open-iscsi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "open-iscsi" Tue Jun 5 12:49:31 2018 rev:73 rq:613367 version:unknown Changes: -------- --- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes 2018-04-25 09:56:28.041593680 +0200 +++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes 2018-06-05 12:49:32.853031733 +0200 @@ -1,0 +2,7 @@ +Thu May 31 21:41:35 UTC 2018 - ldun...@suse.com + +- Fix a core dump which can occur if iscsiuio is started then + immediately stopped (bsc#1094797), updating: + * open-iscsi-SUSE-latest.diff.bz2 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ open-iscsi-SUSE-latest.diff.bz2 ++++++ --- /var/tmp/diff_new_pack.vqkIIe/_old 2018-06-05 12:49:34.032988497 +0200 +++ /var/tmp/diff_new_pack.vqkIIe/_new 2018-06-05 12:49:34.032988497 +0200 @@ -92,6 +92,20 @@ }; /* iSCSI port state */ +diff --git a/iscsiuio/src/unix/iscsid_ipc.c b/iscsiuio/src/unix/iscsid_ipc.c +index d4322350fcf6..2acac485af72 100644 +--- a/iscsiuio/src/unix/iscsid_ipc.c ++++ b/iscsiuio/src/unix/iscsid_ipc.c +@@ -1245,7 +1245,8 @@ void iscsid_cleanup() + { + int rc; + +- if (iscsid_opts.fd != INVALID_FD) { ++ if (iscsid_opts.fd != INVALID_FD && ++ iscsid_opts.thread != INVALID_THREAD) { + rc = pthread_cancel(iscsid_opts.thread); + if (rc != 0) { + LOG_ERR("Could not cancel iscsid listening thread: %s", diff --git a/iscsiuio/src/unix/libs/cnic.c b/iscsiuio/src/unix/libs/cnic.c index 9662f024041b..86fb1889db5c 100644 --- a/iscsiuio/src/unix/libs/cnic.c