Fix potential buffer overruns in proto.c.
Amit Kapila <akapila@postgresql.org>
Fix potential buffer overruns in proto.c. Prevent potential buffer overruns when using strcpy to gid buffer. This has been introduced by commit a8fd13cab0. Reported-by: Tom Lane as per coverity Author: Peter Smith Reviewed-by: Amit Kapila Discussion: https://www.postgresql.org/message-id/161029.1626639923%40sss.pgh.pa.us
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/logical/proto.c | modified | +4 −4 |
Discussion
- Re: [HACKERS] logical decoding of two-phase transactions 424 messages · 2018-08-01 → 2022-01-05