1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-07 02:42:49 +03:00

Fixed 2 buffer overflows in unittests

This commit is contained in:
Georg Richter
2018-01-26 13:04:37 +01:00
parent 9ee186141e
commit 058fc080b4
2 changed files with 1 additions and 5 deletions

View File

@@ -153,10 +153,6 @@ static int create_dyncol_num(MYSQL *mysql)
rc= mariadb_dyncol_unpack(&dyncol, &my_count, &my_keys, &my_vals);
diag("unpack: %d %d", rc, my_count);
for(i=0; i < 5; i++)
{
diag("%s %lu", my_keys[i].str, (unsigned long)my_keys[i].length);
}
free(my_keys);
free(my_vals);