Skip to content

Commit

Permalink
CONC-686 Error 2026 TLS error messages truncated
Browse files Browse the repository at this point in the history
Do not truncate error message to arbitrary length. TLS messages can be long
  • Loading branch information
vaintroub committed Jan 24, 2024
1 parent e714a67 commit 83951fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmariadb/ma_errmsg.c
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const char *client_errors[]=
/* 2023 */ "",
/* 2024 */ "",
/* 2025 */ "",
/* 2026 */ "TLS/SSL error: %-.100s",
/* 2026 */ "TLS/SSL error: %s",
/* 2027 */ "Received malformed packet",
/* 2028 */ "",
/* 2029 */ "",
Expand Down

0 comments on commit 83951fe

Please sign in to comment.