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
compilation warning
ps_bugs.c:3275:5: note: ‘sprintf’ output between 9 and 19 bytes into a destination of size 12
This commit is contained in:
@@ -3257,7 +3257,7 @@ error:
|
|||||||
|
|
||||||
static int test_mem_overun(MYSQL *mysql)
|
static int test_mem_overun(MYSQL *mysql)
|
||||||
{
|
{
|
||||||
char buffer[10000], field[12];
|
char buffer[10000], field[20];
|
||||||
MYSQL_STMT *stmt;
|
MYSQL_STMT *stmt;
|
||||||
MYSQL_RES *field_res, *res;
|
MYSQL_RES *field_res, *res;
|
||||||
int rc, i, length;
|
int rc, i, length;
|
||||||
|
Reference in New Issue
Block a user