[CONC-603] Wrong error handling in TLS read/write Created: 2022-07-10 Updated: 2022-07-29 |
|
| Status: | Open |
| Project: | MariaDB Connector/C |
| Component/s: | TLS/SSL |
| Affects Version/s: | 3.3.1, 3.1.16 |
| Fix Version/s: | 3.1.17, 3.3.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Georg Richter | Assignee: | Georg Richter |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The current implementation of ma_tls_read/write doesn't handle post handshakes correctly: If an alert occurs after handshake (TLSv1.3) or renogitation it's not handled properly: Instead of getting the TLS error message, a general error "ERROR 2013 (HY000): Lost connection to server at 'sending authentication information', system error: 104" is returned. This issue is the client part of MDEV-27405 |