pgsql: Use snprintf not sprintf in pg_waldump's timestamptz_to_str.

2018-06-16 Thread Tom Lane
Use snprintf not sprintf in pg_waldump's timestamptz_to_str. This could only cause an issue if strftime returned a ridiculously long timezone name, which seems unlikely; and it wouldn't qualify as a security problem even then, since pg_waldump (nee pg_xlogdump) is a debug tool not part of the serv

pgsql: Use snprintf not sprintf in pg_waldump's timestamptz_to_str.

2018-06-16 Thread Tom Lane
Use snprintf not sprintf in pg_waldump's timestamptz_to_str. This could only cause an issue if strftime returned a ridiculously long timezone name, which seems unlikely; and it wouldn't qualify as a security problem even then, since pg_waldump (nee pg_xlogdump) is a debug tool not part of the serv

pgsql: Use snprintf not sprintf in pg_waldump's timestamptz_to_str.

2018-06-16 Thread Tom Lane
Use snprintf not sprintf in pg_waldump's timestamptz_to_str. This could only cause an issue if strftime returned a ridiculously long timezone name, which seems unlikely; and it wouldn't qualify as a security problem even then, since pg_waldump (nee pg_xlogdump) is a debug tool not part of the serv

pgsql: Use snprintf not sprintf in pg_waldump's timestamptz_to_str.

2018-06-16 Thread Tom Lane
Use snprintf not sprintf in pg_waldump's timestamptz_to_str. This could only cause an issue if strftime returned a ridiculously long timezone name, which seems unlikely; and it wouldn't qualify as a security problem even then, since pg_waldump (nee pg_xlogdump) is a debug tool not part of the serv

pgsql: Use snprintf not sprintf in pg_waldump's timestamptz_to_str.

2018-06-16 Thread Tom Lane
Use snprintf not sprintf in pg_waldump's timestamptz_to_str. This could only cause an issue if strftime returned a ridiculously long timezone name, which seems unlikely; and it wouldn't qualify as a security problem even then, since pg_waldump (nee pg_xlogdump) is a debug tool not part of the serv

pgsql: Use snprintf not sprintf in pg_waldump's timestamptz_to_str.

2018-06-16 Thread Tom Lane
Use snprintf not sprintf in pg_waldump's timestamptz_to_str. This could only cause an issue if strftime returned a ridiculously long timezone name, which seems unlikely; and it wouldn't qualify as a security problem even then, since pg_waldump (nee pg_xlogdump) is a debug tool not part of the serv