Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2019-11-06 15:19:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and      /work/SRC/openSUSE:Factory/.open-iscsi.new.2990 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "open-iscsi"

Wed Nov  6 15:19:36 2019 rev:88 rq:745255 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes    2019-10-22 
15:42:02.117483504 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.2990/open-iscsi.changes  
2019-11-06 15:19:39.845383549 +0100
@@ -1,0 +2,7 @@
+Fri Nov  1 19:08:01 UTC 2019 - Lee Duncan <[email protected]>
+
+- Fix issue where CHAP was not working after latest update
+  (bsc#1155510), updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ open-iscsi-SUSE-latest.diff.bz2 ++++++
--- /var/tmp/diff_new_pack.uyyFpf/_old  2019-11-06 15:19:40.433384128 +0100
+++ /var/tmp/diff_new_pack.uyyFpf/_new  2019-11-06 15:19:40.437384131 +0100
@@ -74,7 +74,7 @@
  clean:
        rm -f *.o $(PROGRAMS) .depend $(LIBSYS)
 diff --git a/usr/auth.c b/usr/auth.c
-index e44a279ca157..afb4ea38f080 100644
+index e44a279ca157..1ffb258108e5 100644
 --- a/usr/auth.c
 +++ b/usr/auth.c
 @@ -34,7 +34,6 @@
@@ -339,7 +339,7 @@
                                client->rmt_state = AUTH_RMT_STATE_ERROR;
                                client->dbg_status = 
AUTH_DBG_STATUS_PASSWD_IDENTICAL;
                                break;
-@@ -1764,6 +1818,26 @@ acl_set_chap_alg_list(struct iscsi_acl *client, 
unsigned int option_count,
+@@ -1764,6 +1818,28 @@ acl_set_chap_alg_list(struct iscsi_acl *client, 
unsigned int option_count,
                                   acl_chk_chap_alg_list);
  }
  
@@ -363,19 +363,21 @@
 +      return i;
 +}
 +
++#define MAX(a,b) ((a) > (b) ? (a) : (b))
++
  int
  acl_init(int node_type, int buf_desc_count, struct auth_buffer_desc 
*buff_desc)
  {
-@@ -1772,7 +1846,7 @@ acl_init(int node_type, int buf_desc_count, struct 
auth_buffer_desc *buff_desc)
+@@ -1772,7 +1848,7 @@ acl_init(int node_type, int buf_desc_count, struct 
auth_buffer_desc *buff_desc)
        struct auth_str_block *send_str_blk;
        struct auth_large_binary *recv_chap_challenge;
        struct auth_large_binary *send_chap_challenge;
 -      int value_list[2];
-+      int value_list[3];
++      int value_list[MAX(AUTH_METHOD_MAX_COUNT, AUTH_CHAP_ALG_MAX_COUNT)];
  
        if (buf_desc_count != 5 || !buff_desc)
                return AUTH_STATUS_ERROR;
-@@ -1825,7 +1899,6 @@ acl_init(int node_type, int buf_desc_count, struct 
auth_buffer_desc *buff_desc)
+@@ -1825,7 +1901,6 @@ acl_init(int node_type, int buf_desc_count, struct 
auth_buffer_desc *buff_desc)
        client->node_type = (enum auth_node_type) node_type;
        client->auth_rmt = 1;
        client->passwd_present = 0;
@@ -383,7 +385,7 @@
        client->ip_sec = 0;
  
        client->phase = AUTH_PHASE_CONFIGURE;
-@@ -1851,10 +1924,8 @@ acl_init(int node_type, int buf_desc_count, struct 
auth_buffer_desc *buff_desc)
+@@ -1851,10 +1926,8 @@ acl_init(int node_type, int buf_desc_count, struct 
auth_buffer_desc *buff_desc)
                return AUTH_STATUS_ERROR;
        }
  


Reply via email to