You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
CONC-622: Fix double free() if asnyc connect failed
If mysql_real_connect_start/cont failed, we need to set async->pvio to zero after calling ma_pvio_close to avoid double free() in mysql_close.
This commit is contained in:
@@ -1667,6 +1667,7 @@ static int test_conc312(MYSQL *my)
|
||||
|
||||
if (rc)
|
||||
{
|
||||
diag("Error: %s", mysql_error(my));
|
||||
diag("caching_sha256_password not supported");
|
||||
return SKIP;
|
||||
}
|
||||
|
Reference in New Issue
Block a user