pgsql: Use snprintf instead of sprintf in pg_regress.
Started by Daniel Gustafssonalmost 3 years ago1 messagescomitters
Use snprintf instead of sprintf in pg_regress.
To avoid static analyzers sounding the alarm, move to using snprintf
instead of sprintf. This was an oversight in 66d6086cbcbfc8dee789a6.
Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: /messages/by-id/849588.1698179694@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8f0fd47fa33720dd09ad0ae74a8a583b9780e328
Modified Files
--------------
src/test/regress/pg_regress.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)