Several calls to StrNCpy incorrectly subtracted 1 from the length arg,
Tom Lane <tgl@sss.pgh.pa.us>
Several calls to StrNCpy incorrectly subtracted 1 from the length arg, leading to postmaster accepting args 1 shorter than it had room for.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/pqpacket.c | modified | +2 −2 |
| src/backend/postmaster/postmaster.c | modified | +6 −6 |