Re: 9.6.10 build warning on Fedora 28

2018-08-09 Thread David Rowley
On 9 August 2018 at 21:30, Devrim Gündüz wrote: > pgbench.c: In function 'ParseScript': > pgbench.c:2640:20: warning: '__builtin___sprintf_chk' may write a terminating > nul past the end of the destination [-Wformat-overflow=] >sprintf(var, "$%d", cmd->argc); > ^ > In file

9.6.10 build warning on Fedora 28

2018-08-09 Thread Devrim Gündüz
Hi, Just noticed this on Fedora 28 box (GCC 8.1.1) = pgbench.c: In function 'ParseScript': pgbench.c:2640:20: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=]