Connector/C 3.4.7 Changelog
Release date: 21 Aug 2025
For the highlights of this release, see the release notes.
The revision number links will take you to the revision's page on GitHub. On GitHub you can view more details of the revision and view diffs of the code modified in that revision.
Revisions for both Connector/C 3.4.6 and 3.4.7 are included here
Revision #b790c6c1 2025-07-22 23:06:18 +0200
bump the VERSION
Revision #ba3a172d 2025-07-17 15:04:50 +0200
Merge branch '3.3' into 3.4
Revision #77bdf5a5 2025-07-17 10:36:37 +0200
Fixed double close (introduced in PR275)
Revision #e240810b 2025-04-11 07:20:38 +0200
fix: fixed the possible nullPointerAritheticOutOfMemory by using SET_CLIENT_ERROR and return 1; because jumping to the error label is not viable in this case as pos is not initialized and it could raise more errors, this way we still handle the error while not clashing with the original error handling implementation
Revision #1edef5b2 2025-04-11 08:33:31 +0200
fix: added a failsafe return 1; in case the malloc at 559 fails so that we don't work with NULL
Revision #f2117d42 2025-04-11 08:50:10 +0200
fix: fixed the posibility of undefined behaviour of the strchr previously at 252 if the strdup at 248 fails and thus returns NULL by setting a client error signalling that the client ran out of memory for easier communication of what exactly failed during the loading of the plugins and why. Returning from the function just after
Revision #f72654e3 2025-04-11 10:59:23 +0200
fix: fixed a memory leak due to the socket not being closed after encountering an error by closing the socket before return
Revision #9e4042c1 2025-04-11 11:45:53 +0200
fix: fixed a possible leak when one of the files (fp1 or fp2) fails to open by adding a simple condition that checks whether one of them opens while the other fails and closing it and added the extra prentheses for the assignment inside the if statement for easier debugging and to avoid static analysis flagging it as a wrong statement inside the if clause
Revision #c10a3479 2025-04-11 12:10:26 +0200
fix: added the closing of the test_file before various fail statements to avoid memory leaks
Revision #056f09bb 2025-04-11 13:01:52 +0200
fix: added frees for any allocated memory if the allocation of other memory fails and the FAIL_UNLESS calls needed the stop the test if this happens
Revision #7009f604 2025-04-11 13:15:09 +0200
fix: added the closing of the file descriptor if the check_mysql_rc macro will return FAIL to avoid memory leaks
Revision #9fb319a7 2025-04-11 13:46:11 +0200
fix: added the necessary frees for the bind var before any of the check_stmt_rc() and check_mysql_rc() macros potentialy return from the fuction
Revision #92a8b3b5 2025-04-14 11:47:59 +0200
fix: fixed the posible read of NULL when strdup fails thus resulting in rpl->filename being NULL by setting an error signalling that we ran out of memory to ease the debugging of the mariadb_rpl_options function and make it clearer if it ever fails because of this. Also added va_end in this case to avoid the va_list (ap) leaking when we return from this function and then returning 1 from the fucntion.
Revision #5ea5d7ae 2025-04-14 12:44:36 +0200
fix: fixed the order of the mariadb_free_rpl_event() and rpl_set_error() calls to avoid using the rpl_even var after freeing it
Revision #06e041cf 2025-05-26 12:15:01 +0200
Added the FAIL_UNLESS call for the bind variable that is being allocated to handle the possibility of the calloc failing and ensure we are not working with NULL in the rest of the tests
Revision #0fc94025 2025-05-26 12:27:39 +0200
Added the call to FAIL_UNLESS to handle the possibility of the allocation of buffer failing to ensure we don't work with NULL further in the test, also added a free to bind in this case to avoid a memory leak
Revision #ba0da1df 2025-07-16 16:56:05 +0200
Merge pull request #289 from qobood/3.3
Revision #40be423f 2025-07-13 18:42:30 +0300
Fix miscellaneous typos
Revision #9d77fe83 2025-07-16 12:49:15 +0200
bump the VERSION
Revision #cacd251e 2025-07-10 09:56:57 +0200
Merge pull request #275 from PavolSloboda/static-analysis-result
Revision #ba69f71f 2025-05-26 12:27:39 +0200
Added the call to FAIL_UNLESS to handle the possibility of the allocation of buffer failing to ensure we don't work with NULL further in the test, also added a free to bind in this case to avoid a memory leak
Revision #eefaf1d1 2025-05-26 12:15:01 +0200
Added the FAIL_UNLESS call for the bind variable that is being allocated to handle the possibility of the calloc failing and ensure we are not working with NULL in the rest of the tests
Revision #692a1313 2025-04-14 12:44:36 +0200
fix: fixed the order of the mariadb_free_rpl_event() and rpl_set_error() calls to avoid using the rpl_even var after freeing it
Revision #fd32a32c 2025-04-14 11:47:59 +0200
fix: fixed the posible read of NULL when strdup fails thus resulting in rpl->filename being NULL by setting an error signalling that we ran out of memory to ease the debugging of the mariadb_rpl_options function and make it clearer if it ever fails because of this. Also added va_end in this case to avoid the va_list (ap) leaking when we return from this function and then returning 1 from the fucntion.
Revision #d06a12e2 2025-04-11 13:46:11 +0200
fix: added the necessary frees for the bind var before any of the check_stmt_rc() and check_mysql_rc() macros potentialy return from the fuction
Revision #ff693cb8 2025-04-11 13:15:09 +0200
fix: added the closing of the file descriptor if the check_mysql_rc macro will return FAIL to avoid memory leaks
Revision #5e1265b0 2025-04-11 13:01:52 +0200
fix: added frees for any allocated memory if the allocation of other memory fails and the FAIL_UNLESS calls needed the stop the test if this happens
Revision #3308af14 2025-04-11 12:10:26 +0200
fix: added the closing of the test_file before various fail statements to avoid memory leaks
Revision #abb6ab2f 2025-04-11 11:45:53 +0200
fix: fixed a possible leak when one of the files (fp1 or fp2) fails to open by adding a simple condition that checks whether one of them opens while the other fails and closing it and added the extra prentheses for the assignment inside the if statement for easier debugging and to avoid static analysis flagging it as a wrong statement inside the if clause
Revision #fc6b991e 2025-04-11 10:59:23 +0200
fix: fixed a memory leak due to the socket not being closed after encountering an error by closing the socket before return
Revision #ba7730aa 2025-04-11 08:50:10 +0200
fix: fixed the posibility of undefined behaviour of the strchr previously at 252 if the strdup at 248 fails and thus returns NULL by setting a client error signalling that the client ran out of memory for easier communication of what exactly failed during the loading of the plugins and why. Returning from the function just after
Revision #ff485e90 2025-04-11 08:33:31 +0200
fix: added a failsafe return 1; in case the malloc at 559 fails so that we don't work with NULL
Revision #ef626288 2025-04-11 07:33:52 +0200
fix: fixed the va_end_missing on line 4626 by adding a va_end call
Revision #8c9ab80a 2025-04-11 07:20:38 +0200
fix: fixed the possible nullPointerAritheticOutOfMemory by using SET_CLIENT_ERROR and return 1; because jumping to the error label is not viable in this case as pos is not initialized and it could raise more errors, this way we still handle the error while not clashing with the original error handling implementation
Revision #dad72b63 2025-07-10 09:45:46 +0200
Merge branch '3.3' into 3.4
Revision #c58dce93 2025-07-10 09:04:02 +0200
Merge pull request #279 from grooverdan/static_analsis_fix
Revision #f431c6ea 2025-05-27 16:38:23 +1000
CONC-776: enable rpl_set_error
Revision #bd233f8a 2025-05-27 16:37:39 +1000
break; after return never reached
Revision #d5d330f8 2025-05-27 16:18:50 +1000
mariadb_reconnect: reconnection may fail to allocate extensions
Revision #b22b85bc 2025-05-27 16:05:36 +1000
mysql_init: early alloc failure not freed
Revision #f3d86275 2025-07-10 05:54:49 +0200
Merge pull request #281 from grooverdan/caching_sha2_pw_err
Revision #6fde019b 2025-05-29 15:42:34 +1000
caching_sha2_pw: free filebuffer and cleanup on Public key import failure
Revision #96b73e20 2025-07-09 11:52:15 +0200
Merge pull request #282 from grooverdan/win_get_password
Revision #d226315e 2025-05-29 16:39:50 +1000
get_tty_password(Windows) - CreateFile error
Revision #67972e13 2025-06-25 09:52:18 +0200
ci-fix: Test 10.x mtr, not 11.4 and above
Revision #a7a3db71 2025-06-25 06:27:46 +0200
ci fixes:
Don't set C/C unittest environment variables globally
Removed 10.6 and 10.11 mtr tests
Revision #f4109774 2025-06-24 10:53:01 +0200
Add diagnostic output for ci test
Revision #92b09b67 2025-06-20 15:14:30 +0200
[TODO-5373] add macos to non mandatory for now
Revision #5b32575f 2025-06-18 16:09:13 +0200
[TODO-5373] remove node.js installation
Revision #0a3f2173 2025-06-16 19:43:16 +0200
[TODO-5373] add github action
Revision #0eb34a26 2025-07-09 11:48:32 +0200
Merge pull request #267 from ericherman/eherman-io-size-20241231
Revision #f5319d9a 2024-12-31 18:12:21 +0100
Create #define for network buffer alignment
Revision #d3facb7c 2025-06-25 06:27:46 +0200
ci fixes:
Don't set C/C unittest environment variables globally
Removed 10.6 and 10.11 mtr tests
Revision #189c2318 2025-06-24 10:53:01 +0200
Add diagnostic output for ci test
Revision #29c43ff9 2025-06-24 06:18:30 +0200
Merge pull request #285 from rusher/3.4
Revision #3139702b 2025-06-20 15:14:30 +0200
[TODO-5373] add macos to non mandatory for now
Revision #6774fb9d 2025-06-18 16:09:13 +0200
[TODO-5373] remove node.js installation
Revision #1bf35711 2025-06-16 19:43:16 +0200
[TODO-5373] add github action
Revision #b3adb241 2025-06-07 16:50:38 +0200
Merge branch '3.3' into 3.4
Revision #aebe28b8 2025-06-07 15:32:44 +0200
CONC-778: TLSv1.3 support for Windows Server 2022
Revision #0ac57a4e 2025-05-24 17:15:30 +0200
Merge branch '3.3' into 3.4
Revision #163fc458 2025-05-24 17:13:50 +0200
Merge pull request #277 from grooverdan/conc-775
Revision #d40935e5 2025-05-23 18:23:10 +1000
CONC-775 - UNINIT_VAR macro - disable for clang
Revision #9cb88c0d 2025-05-14 19:47:37 +0200
Merge branch '3.3' into 3.4
Revision #aa7cee63 2025-05-14 19:40:55 +0200
Merge pull request #276 from stewartsmith/3.3-aarch64-ma-context-bti-fix
Revision #e2e5113a 2025-05-13 13:52:41 -0700
Fix my_context_[spawn|continue|yield] for aarch64 BTI
Revision #6d747250 2025-05-02 07:58:48 +0200
Merge branch '3.3' into 3.4
Revision #c07e50d9 2025-05-02 07:52:01 +0200
Merge branch '3.1' into 3.3
Revision #e44e3f6b 2025-05-02 07:44:47 +0200
CONC-771: Fix pipelining mode (mariadb_stmt_execute_direct)
Revision #461a2c79 2025-04-24 06:30:23 +0200
Merge branch '3.3' into 3.4
Revision #02ceb060 2025-04-23 21:30:03 +0200
CONC-756: Update zlib to 1.3.1
Revision #b10b76e5 2025-02-12 15:17:39 +0100
Fix compilation with GCC 15
Revision #126a7530 2025-04-17 19:43:06 +0200
Remove workaround after MDEV-13492 was fixed.
Revision #352973da 2025-04-23 21:13:11 +0200
Merge pull request #272 from FaramosCZ/gcc-15
Revision #e8448137 2025-02-12 15:17:39 +0100
Fix compilation with GCC 15
Revision #b5a2c9f3 2025-04-20 10:49:16 +0200
Merge branch '3.3' into 3.4
Revision #55abb320 2025-04-20 10:16:30 +0200
Merge branch '3.1' into 3.3-merge
Revision #867f0d18 2025-04-17 09:30:13 +0200
Merge pull request #274 from grooverdan/makecontext
Revision #52c1eb4d 2025-04-03 12:11:52 +1100
CONC-766 Disable clang -Wcast-function-type-strict for makecontext
Revision #ae748744 2025-04-09 18:14:57 -0400
bump the VERSION
Revision #28a1e4b5 2025-03-31 11:02:35 +0200
Fix for CONC-762: Always set is_null and length in bind structure to avoid msan errors
Revision #9247ab71 2025-04-17 02:14:19 +0200
Merge pull request #273 from knielsen/knielsen_conc764
Revision #5b7df227 2025-04-01 20:32:49 +0200
CONC-764: Build error in ma_context.c on android
Revision #8e371bbe 2025-04-01 19:25:48 +0200
CONC-764: Build error in ma_context.c on android
Revision #7274f8f6 2025-04-09 18:15:34 -0400
bump the VERSION
Revision #88045932 2025-04-17 15:29:07 +0200
CONC-767 Improve SSL verification performance on Windows
Revision #fa56a25f 2025-04-17 19:43:06 +0200
Remove workaround after MDEV-13492 was fixed.
Revision #b0e31d6f 2025-04-09 18:16:46 -0400
bump the VERSION
Revision #ba712ddf 2025-03-31 13:17:50 +0200
CONC-763: ma_charset.c misses MySQL collation ID 309 - utf8mb4_0900_bin
Revision #5d34e482 2025-03-28 11:40:08 +0200
Merge 3.3 into 3.4
Revision #b38e8720 2025-03-05 13:39:22 +0100
Text fixes:
Fixed windows test (missing parameter)
Check if we need to connect via SSL port (Travis)
This page is licensed: CC BY-SA / Gnu FDL
Last updated
Was this helpful?

