From 50f65db27910331156d1fc70cc9920a8efcd9af8 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sun, 22 Oct 2023 10:03:13 +0200 Subject: [PATCH] compilation warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ps_bugs.c:3275:5: note: ‘sprintf’ output between 9 and 19 bytes into a destination of size 12 --- unittest/libmariadb/ps_bugs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/libmariadb/ps_bugs.c b/unittest/libmariadb/ps_bugs.c index efe3d447..804ef3e3 100644 --- a/unittest/libmariadb/ps_bugs.c +++ b/unittest/libmariadb/ps_bugs.c @@ -3257,7 +3257,7 @@ error: static int test_mem_overun(MYSQL *mysql) { - char buffer[10000], field[12]; + char buffer[10000], field[20]; MYSQL_STMT *stmt; MYSQL_RES *field_res, *res; int rc, i, length;