diff options
author | Robert Golebiowski <robert.golebiowski@oracle.com> | 2015-07-08 13:51:06 +0200 |
---|---|---|
committer | Robert Golebiowski <robert.golebiowski@oracle.com> | 2015-07-08 13:51:06 +0200 |
commit | 7255ae6ceb20c67d09fd153558d9a14372142f8b (patch) | |
tree | 64eac1f027c1a7900613407bf89b79d102c2abd0 /extra/yassl | |
parent | e7ff2040d7af2dec681bbfab5bc2a8232e53c50d (diff) | |
download | mariadb-git-7255ae6ceb20c67d09fd153558d9a14372142f8b.tar.gz |
Bug #20774956: THREAD_POOL.THREAD_POOL_CONNECT HANGS WHEN RUN ON A
YASSL-COMPILED SERVER/CLIENT
Description: thread_pool.thread_pool_connect hangs when the server and
client are compiled with yaSSL.
Bug-fix: Test thread_pool.thread_pool_connect was temporary disabled for
yaSSL. However, now that yaSSL is fixed it runs OK. The bug was
introduced by one of the yaSSL updates. set_current was not working for
i == 0. Now this is fixed. YASSL is updated to 2.3.7d
Diffstat (limited to 'extra/yassl')
-rw-r--r-- | extra/yassl/README | 5 | ||||
-rw-r--r-- | extra/yassl/include/openssl/ssl.h | 2 | ||||
-rw-r--r-- | extra/yassl/src/buffer.cpp | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/extra/yassl/README b/extra/yassl/README index 61326bc079a..2560c09addd 100644 --- a/extra/yassl/README +++ b/extra/yassl/README @@ -12,6 +12,11 @@ before calling SSL_new(); *** end Note *** +yaSSL Patch notes, version 2.3.7d (6/22/2015) + This release of yaSSL includes a fix for input_buffer set_current with + index 0. SSL_peek() at front of waiting data could trigger. Robert + Golebiowski of Oracle identified and suggested a fix, thanks! + yaSSL Patch notes, version 2.3.7c (6/12/2015) This release of yaSSL does certificate DATE comparisons to the second instead of to the minute, helpful when using freshly generated certs. diff --git a/extra/yassl/include/openssl/ssl.h b/extra/yassl/include/openssl/ssl.h index 5818a3b2cfc..692d8b270d2 100644 --- a/extra/yassl/include/openssl/ssl.h +++ b/extra/yassl/include/openssl/ssl.h @@ -35,7 +35,7 @@ #include "rsa.h" -#define YASSL_VERSION "2.3.7c" +#define YASSL_VERSION "2.3.7d" #if defined(__cplusplus) diff --git a/extra/yassl/src/buffer.cpp b/extra/yassl/src/buffer.cpp index aa7224bf64e..ce00a474e49 100644 --- a/extra/yassl/src/buffer.cpp +++ b/extra/yassl/src/buffer.cpp @@ -162,7 +162,7 @@ void input_buffer::set_error() void input_buffer::set_current(uint i) { - if (error_ == 0 && i && check(i - 1, size_) == 0) + if (error_ == 0 && check(i ? i - 1 : 0, size_) == 0) current_ = i; else error_ = -1; |