1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-07-29 08:01:25 +03:00

Commit Graph

  • b790c6c149 bump the VERSION 3.4 Sergei Golubchik 2025-07-22 23:06:18 +02:00
  • 28233af67a proxy protocol - send proxy header + handshake response in a single piece 3.3-wlad Vladislav Vaintroub 2025-07-18 16:02:16 +02:00
  • ba3a172dfd Merge branch '3.3' into 3.4 Georg Richter 2025-07-17 15:04:50 +02:00
  • 77bdf5a572 Fixed double close (introduced in PR275) 3.3-georg 3.3 Georg Richter 2025-07-17 10:36:37 +02:00
  • e240810b38 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 Pavol Sloboda 2025-04-11 07:20:38 +02:00
  • 1edef5b207 fix: added a failsafe return 1; in case the malloc at 559 fails so that we don't work with NULL Pavol Sloboda 2025-04-11 08:33:31 +02:00
  • f2117d4225 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 Pavol Sloboda 2025-04-11 08:50:10 +02:00
  • f72654e324 fix: fixed a memory leak due to the socket not being closed after encountering an error by closing the socket before return Pavol Sloboda 2025-04-11 10:59:23 +02:00
  • 9e4042c149 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 Pavol Sloboda 2025-04-11 11:45:53 +02:00
  • c10a3479fb fix: added the closing of the test_file before various fail statements to avoid memory leaks Pavol Sloboda 2025-04-11 12:10:26 +02:00
  • 056f09bb06 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 Pavol Sloboda 2025-04-11 13:01:52 +02:00
  • 7009f60416 fix: added the closing of the file descriptor if the check_mysql_rc macro will return FAIL to avoid memory leaks Pavol Sloboda 2025-04-11 13:15:09 +02:00
  • 9fb319a7e7 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 Pavol Sloboda 2025-04-11 13:46:11 +02:00
  • 92a8b3b529 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. Pavol Sloboda 2025-04-14 11:47:59 +02:00
  • 5ea5d7ae01 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 Pavol Sloboda 2025-04-14 12:44:36 +02:00
  • 06e041cfa2 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 Pavol Sloboda 2025-05-26 12:15:01 +02:00
  • 0fc940259a 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 Pavol Sloboda 2025-05-26 12:27:39 +02:00
  • ba0da1df94 Merge pull request #289 from qobood/3.3 Georg Richter 2025-07-16 16:56:05 +02:00
  • 9d77fe8321 bump the VERSION Sergei Golubchik 2025-07-16 12:49:15 +02:00
  • 40be423f08 Fix miscellaneous typos Vasilii Lakhin 2025-07-13 18:42:30 +03:00
  • cacd251e20 Merge pull request #275 from PavolSloboda/static-analysis-result Georg Richter 2025-07-10 09:56:57 +02:00
  • dad72b6342 Merge branch '3.3' into 3.4 Georg Richter 2025-07-10 09:45:46 +02:00
  • c58dce932a Merge pull request #279 from grooverdan/static_analsis_fix Georg Richter 2025-07-10 09:04:02 +02:00
  • f3d862759b Merge pull request #281 from grooverdan/caching_sha2_pw_err Georg Richter 2025-07-10 05:54:49 +02:00
  • 96b73e2052 Merge pull request #282 from grooverdan/win_get_password Georg Richter 2025-07-09 11:52:15 +02:00
  • 0eb34a2619 Merge pull request #267 from ericherman/eherman-io-size-20241231 Georg Richter 2025-07-09 11:48:32 +02:00
  • 40030449b4 github-ci: Install msi 3.4-ci Georg Richter 2025-06-26 17:49:17 +02:00
  • e11a44fe51 Test windows msi Georg Richter 2025-06-26 17:11:14 +02:00
  • 67972e131d ci-fix: Test 10.x mtr, not 11.4 and above 3.3-ci Georg Richter 2025-06-25 09:52:18 +02:00
  • a7a3db7149 ci fixes: Georg Richter 2025-06-25 06:27:46 +02:00
  • f410977447 Add diagnostic output for ci test Georg Richter 2025-06-24 10:53:01 +02:00
  • 92b09b6727 [TODO-5373] add macos to non mandatory for now rusher 2025-06-20 15:14:30 +02:00
  • 5b32575fc1 [TODO-5373] remove node.js installation rusher 2025-06-18 16:09:13 +02:00
  • 0a3f217396 [TODO-5373] add github action rusher 2025-06-16 19:43:16 +02:00
  • d3facb7ca9 ci fixes: Georg Richter 2025-06-25 06:27:46 +02:00
  • 189c2318b5 Add diagnostic output for ci test Georg Richter 2025-06-24 10:53:01 +02:00
  • 29c43ff92c Merge pull request #285 from rusher/3.4 Georg Richter 2025-06-24 06:18:30 +02:00
  • 3139702bfb [TODO-5373] add macos to non mandatory for now rusher 2025-06-20 15:14:30 +02:00
  • 6774fb9da5 [TODO-5373] remove node.js installation rusher 2025-06-18 16:09:13 +02:00
  • 1bf3571146 [TODO-5373] add github action rusher 2025-06-16 19:43:16 +02:00
  • b3adb24128 Merge branch '3.3' into 3.4 Georg Richter 2025-06-07 16:50:38 +02:00
  • aebe28b8eb CONC-778: TLSv1.3 support for Windows Server 2022 Georg Richter 2025-06-07 15:32:44 +02:00
  • d226315ef8 get_tty_password(Windows) - CreateFile error Daniel Black 2025-05-29 16:39:50 +10:00
  • 6fde019bfc caching_sha2_pw: free filebuffer and cleanup on Public key import failure Daniel Black 2025-05-29 15:42:34 +10:00
  • f431c6eaef CONC-776: enable rpl_set_error Daniel Black 2025-05-27 16:38:23 +10:00
  • bd233f8ac0 break; after return never reached Daniel Black 2025-05-27 16:37:39 +10:00
  • d5d330f82a mariadb_reconnect: reconnection may fail to allocate extensions Daniel Black 2025-05-27 16:18:50 +10:00
  • b22b85bcdf mysql_init: early alloc failure not freed Daniel Black 2025-05-27 16:05:36 +10:00
  • ba69f71f7d 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 Pavol Sloboda 2025-05-26 12:27:39 +02:00
  • eefaf1d179 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 Pavol Sloboda 2025-05-26 12:15:01 +02:00
  • 692a1313bc 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 Pavol Sloboda 2025-04-14 12:44:36 +02:00
  • fd32a32cb9 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. Pavol Sloboda 2025-04-14 11:47:59 +02:00
  • d06a12e2dd 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 Pavol Sloboda 2025-04-11 13:46:11 +02:00
  • ff693cb8d0 fix: added the closing of the file descriptor if the check_mysql_rc macro will return FAIL to avoid memory leaks Pavol Sloboda 2025-04-11 13:15:09 +02:00
  • 5e1265b0d3 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 Pavol Sloboda 2025-04-11 13:01:52 +02:00
  • 3308af147e fix: added the closing of the test_file before various fail statements to avoid memory leaks Pavol Sloboda 2025-04-11 12:10:26 +02:00
  • abb6ab2f09 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 Pavol Sloboda 2025-04-11 11:45:53 +02:00
  • fc6b991e6c fix: fixed a memory leak due to the socket not being closed after encountering an error by closing the socket before return Pavol Sloboda 2025-04-11 10:59:23 +02:00
  • ba7730aa26 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 Pavol Sloboda 2025-04-11 08:50:10 +02:00
  • ff485e9043 fix: added a failsafe return 1; in case the malloc at 559 fails so that we don't work with NULL Pavol Sloboda 2025-04-11 08:33:31 +02:00
  • ef626288c2 fix: fixed the va_end_missing on line 4626 by adding a va_end call Pavol Sloboda 2025-04-11 07:33:52 +02:00
  • 8c9ab80ad7 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 Pavol Sloboda 2025-04-11 07:20:38 +02:00
  • 0ac57a4e51 Merge branch '3.3' into 3.4 Georg Richter 2025-05-24 17:15:30 +02:00
  • 163fc458a2 Merge pull request #277 from grooverdan/conc-775 Georg Richter 2025-05-24 17:13:50 +02:00
  • d40935e581 CONC-775 - UNINIT_VAR macro - disable for clang Daniel Black 2025-05-23 18:23:10 +10:00
  • f5319d9a6e Create #define for network buffer alignment Eric Herman 2024-12-31 18:12:21 +01:00
  • 9cb88c0d64 Merge branch '3.3' into 3.4 Georg Richter 2025-05-14 19:47:37 +02:00
  • aa7cee6313 Merge pull request #276 from stewartsmith/3.3-aarch64-ma-context-bti-fix Georg Richter 2025-05-14 19:40:55 +02:00
  • e2e5113a53 Fix my_context_[spawn|continue|yield] for aarch64 BTI Stewart Smith 2025-05-13 13:52:41 -07:00
  • 6d7472505b Merge branch '3.3' into 3.4 Georg Richter 2025-05-02 07:58:48 +02:00
  • c07e50d940 Merge branch '3.1' into 3.3 Georg Richter 2025-05-02 07:52:01 +02:00
  • e44e3f6b25 CONC-771: Fix pipelining mode (mariadb_stmt_execute_direct) 3.1 Georg Richter 2025-05-02 07:44:47 +02:00
  • 461a2c79ea Merge branch '3.3' into 3.4 Georg Richter 2025-04-24 06:30:23 +02:00
  • 02ceb06096 CONC-756: Update zlib to 1.3.1 Georg Richter 2025-04-23 21:30:03 +02:00
  • b10b76e5a2 Fix compilation with GCC 15 Michal Schorm 2025-02-12 15:17:39 +01:00
  • 352973da60 Merge pull request #272 from FaramosCZ/gcc-15 Georg Richter 2025-04-23 21:13:11 +02:00
  • 126a753069 Remove workaround after MDEV-13492 was fixed. Vladislav Vaintroub 2025-04-17 19:43:06 +02:00
  • b5a2c9f3c2 Merge branch '3.3' into 3.4 v3.4.6 3.4-merge Oleksandr Byelkin 2025-04-20 10:49:16 +02:00
  • 55abb32038 Merge branch '3.1' into 3.3-merge v3.3.16 3.3-merge Oleksandr Byelkin 2025-04-20 10:16:30 +02:00
  • 8804593283 CONC-767 Improve SSL verification performance on Windows 3.4-wlad Vladislav Vaintroub 2025-04-17 15:29:07 +02:00
  • fa56a25fae Remove workaround after MDEV-13492 was fixed. Vladislav Vaintroub 2025-04-17 19:43:06 +02:00
  • 867f0d1825 Merge pull request #274 from grooverdan/makecontext v3.1.29 Georg Richter 2025-04-17 09:30:13 +02:00
  • 9247ab71dd Merge pull request #273 from knielsen/knielsen_conc764 Georg Richter 2025-04-17 02:14:19 +02:00
  • 52c1eb4d75 CONC-766 Disable clang -Wcast-function-type-strict for makecontext Daniel Black 2025-04-03 12:11:52 +11:00
  • b0e31d6f29 bump the VERSION Daniel Bartholomew 2025-04-09 18:16:46 -04:00
  • 7274f8f656 bump the VERSION Daniel Bartholomew 2025-04-09 18:15:34 -04:00
  • ae74874451 bump the VERSION Daniel Bartholomew 2025-04-09 18:14:57 -04:00
  • 5b7df2276c CONC-764: Build error in ma_context.c on android Kristian Nielsen 2025-04-01 20:32:49 +02:00
  • 8e371bbe8e CONC-764: Build error in ma_context.c on android Kristian Nielsen 2025-04-01 19:25:48 +02:00
  • ba712ddf96 CONC-763: ma_charset.c misses MySQL collation ID 309 - utf8mb4_0900_bin Georg Richter 2025-03-31 13:17:50 +02:00
  • 28a1e4b599 Fix for CONC-762: Always set is_null and length in bind structure to avoid msan errors Georg Richter 2025-03-31 11:02:35 +02:00
  • 5d34e4820f Merge 3.3 into 3.4 Marko Mäkelä 2025-03-28 11:40:08 +02:00
  • b38e872003 Text fixes: Georg Richter 2025-03-05 13:39:22 +01:00
  • c61bdb5ac1 Fix windows build v3.4.5 3.4-sanja Oleksandr Byelkin 2025-03-05 12:10:57 +01:00
  • 2dc5d44219 Merge branch '3.3' into 3.4 Oleksandr Byelkin 2025-03-05 12:07:23 +01:00
  • a7ad25b01b Fix memory leack in the test v3.3.15 Oleksandr Byelkin 2025-02-27 13:50:01 +01:00
  • 605f30f754 Merge branch '3.3' into 3.4 Georg Richter 2025-02-27 11:09:55 +01:00
  • 0ff64ca045 Merge branch '3.1' into 3.3 Georg Richter 2025-02-27 09:35:33 +01:00
  • f7633e9d68 Test fix: pipe name v3.1.28 Georg Richter 2025-02-27 09:33:35 +01:00
  • 13c693f28b Merge branch '3.3' into 3.4 Georg Richter 2025-02-27 07:56:47 +01:00