Several calls to StrNCpy incorrectly subtracted 1 from the length arg,

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 58422dd0af33fa01d276ea8ff3db82bac49e13db
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-03-19T22:10:08Z
Releases: 7.1.1
Several calls to StrNCpy incorrectly subtracted 1 from the length arg,
leading to postmaster accepting args 1 shorter than it had room for.

Files

PathChange+/−
src/backend/libpq/pqpacket.c modified +2 −2
src/backend/postmaster/postmaster.c modified +6 −6