Diego Dupin
fb5515d2ee
Merge branch '3.3' into 3.4
2025-09-15 21:49:27 +02:00
Diego Dupin
d080db689a
[misc] adding windows 32 bits test to CI
2025-09-15 21:48:46 +02:00
Georg Richter
c98a6097d3
Merge branch '3.3' into 3.4
2025-09-11 10:05:56 +02:00
Georg Richter
2425ab5753
Matrix and test setup have moved to
...
mariadb-corporation github account.
2025-09-11 09:33:36 +02:00
Daniel Bartholomew
f3a122a4c4
bump the VERSION
2025-08-21 14:51:05 -04:00
Daniel Bartholomew
d9a1b0d209
bump the VERSION
2025-08-21 14:49:56 -04:00
Georg Richter
5f51b445c8
Merge pull request #292 from mariadb-corporation/3.3-CONC-774-fixup
...
CONC-774 fixup: Always emit BTI J
2025-08-21 12:05:31 +02:00
Marko Mäkelä
270750f5ae
CONC-774 fixup: Always emit BTI J
...
In commit e2e5113a53
an incorrect
numeric encoding was added that is for the instruction BTI, not BTI J.
According to https://www.spinics.net/lists/arm-kernel/msg1041915.html
the two most significant bits of the least significant octet of the
instruction word for BTI are [J][C] flags.
Because a newer version of GCC could emit code for an older assembler,
we had better always use the numeric encoding on GCC. In clang and
derivatives, the assembler is built-in.
2025-08-15 09:03:43 +03:00
Vladislav Vaintroub
f288f86a71
Merge branch '3.3' into 3.4
2025-08-04 18:36:43 +02:00
Vladislav Vaintroub
c80f221f1c
CONC-783 fixup - make sure that proxy header is not sent twice
...
in case of TLS connection.
2025-08-04 16:53:54 +02:00
Vladislav Vaintroub
0ad0cc0f42
Merge branch '3.3' into 3.4
2025-08-04 15:17:37 +02:00
Vladislav Vaintroub
c71865eca4
CONC-783 Fix potential loss of "Proxy header not accepted from host" error
...
Send the proxy header and handshake response in a single write.
If the client uses two separate send() calls, the server's error message
"Proxy header not accepted from host" may be lost. This occurs because
the server sends a TCP RST (reset) instead of a FIN if it closes the socket
while the client is still sending data.
As a result, the client may receive ECONNRESET or EPIPE, without seeing
the actual error from the server.
2025-08-04 15:17:11 +02:00
Sergei Golubchik
b790c6c149
bump the VERSION
v3.4.7
2025-07-22 23:07:00 +02:00
Georg Richter
ba3a172dfd
Merge branch '3.3' into 3.4
2025-07-17 15:04:50 +02:00
Georg Richter
77bdf5a572
Fixed double close (introduced in PR275)
v3.3.17
2025-07-17 10:36:37 +02:00
Pavol Sloboda
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
2025-07-17 09:15:04 +02:00
Pavol Sloboda
1edef5b207
fix: added a failsafe return 1; in case the malloc at 559 fails so that
...
we don't work with NULL
2025-07-17 09:14:53 +02:00
Pavol Sloboda
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
2025-07-17 09:14:53 +02:00
Pavol Sloboda
f72654e324
fix: fixed a memory leak due to the socket not being closed after
...
encountering an error by closing the socket before return
2025-07-17 09:14:53 +02:00
Pavol Sloboda
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
2025-07-17 09:14:53 +02:00
Pavol Sloboda
c10a3479fb
fix: added the closing of the test_file before various fail statements
...
to avoid memory leaks
2025-07-17 09:14:53 +02:00
Pavol Sloboda
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
2025-07-17 09:14:53 +02:00
Pavol Sloboda
7009f60416
fix: added the closing of the file descriptor if the check_mysql_rc
...
macro will return FAIL to avoid memory leaks
2025-07-17 09:14:53 +02:00
Pavol Sloboda
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
2025-07-17 09:14:53 +02:00
Pavol Sloboda
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.
2025-07-17 09:14:53 +02:00
Pavol Sloboda
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
2025-07-17 09:14:53 +02:00
Pavol Sloboda
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
2025-07-17 09:14:53 +02:00
Pavol Sloboda
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
2025-07-17 09:14:53 +02:00
Georg Richter
ba0da1df94
Merge pull request #289 from qobood/3.3
...
Fix miscellaneous typos
2025-07-16 16:56:05 +02:00
Sergei Golubchik
9d77fe8321
bump the VERSION
2025-07-16 12:49:15 +02:00
Vasilii Lakhin
40be423f08
Fix miscellaneous typos
2025-07-13 18:42:30 +03:00
Georg Richter
cacd251e20
Merge pull request #275 from PavolSloboda/static-analysis-result
...
Static analysis result bug fixes
2025-07-10 09:56:57 +02:00
Georg Richter
dad72b6342
Merge branch '3.3' into 3.4
2025-07-10 09:45:46 +02:00
Georg Richter
c58dce932a
Merge pull request #279 from grooverdan/static_analsis_fix
...
Static analysis fix
2025-07-10 09:04:02 +02:00
Georg Richter
f3d862759b
Merge pull request #281 from grooverdan/caching_sha2_pw_err
...
caching_sha2_pw: free filebuffer and cleanup on Public key import failure
2025-07-10 05:54:49 +02:00
Georg Richter
96b73e2052
Merge pull request #282 from grooverdan/win_get_password
...
get_tty_password(Windows) - CreateFile error
2025-07-09 11:52:15 +02:00
Georg Richter
0eb34a2619
Merge pull request #267 from ericherman/eherman-io-size-20241231
...
Create #define for network buffer alignment
2025-07-09 11:48:32 +02:00
Georg Richter
67972e131d
ci-fix: Test 10.x mtr, not 11.4 and above
2025-06-25 09:52:18 +02:00
Georg Richter
a7a3db7149
ci fixes:
...
- Don't set C/C unittest environment variables globally
- Removed 10.6 and 10.11 mtr tests
2025-06-25 09:51:44 +02:00
Georg Richter
f410977447
Add diagnostic output for ci test
2025-06-25 09:51:29 +02:00
rusher
92b09b6727
[TODO-5373] add macos to non mandatory for now
2025-06-25 09:51:13 +02:00
rusher
5b32575fc1
[TODO-5373] remove node.js installation
2025-06-25 09:51:04 +02:00
rusher
0a3f217396
[TODO-5373] add github action
2025-06-25 09:50:30 +02:00
Georg Richter
d3facb7ca9
ci fixes:
...
- Don't set C/C unittest environment variables globally
- Removed 10.6 and 10.11 mtr tests
2025-06-25 06:27:46 +02:00
Georg Richter
189c2318b5
Add diagnostic output for ci test
2025-06-24 10:53:01 +02:00
Georg Richter
29c43ff92c
Merge pull request #285 from rusher/3.4
...
[TODO-5373] add github action
2025-06-24 06:18:30 +02:00
rusher
3139702bfb
[TODO-5373] add macos to non mandatory for now
2025-06-20 15:14:30 +02:00
rusher
6774fb9da5
[TODO-5373] remove node.js installation
2025-06-18 16:09:13 +02:00
rusher
1bf3571146
[TODO-5373] add github action
2025-06-16 19:43:16 +02:00
Georg Richter
b3adb24128
Merge branch '3.3' into 3.4
2025-06-07 16:50:38 +02:00