pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: pg_standby: Avoid writing one byte beyond the end of the buffer. 6+ messages / 1 participants [nested] [flat]
* pgsql: pg_standby: Avoid writing one byte beyond the end of the buffer. @ 2015-01-15 14:46 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Robert Haas @ 2015-01-15 14:46 UTC (permalink / raw) To: pgsql-committers pg_standby: Avoid writing one byte beyond the end of the buffer. Previously, read() might have returned a length equal to the buffer length, and then the subsequent store to buf[len] would write a zero-byte one byte past the end. This doesn't seem likely to be a security issue, but there's some chance it could result in pg_standby misbehaving. Spotted by Coverity; patch by Michael Paquier, reviewed by me. Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/151fb75b0d6eb1e9622ef53e11361986ea26bae5 Modified Files -------------- contrib/pg_standby/pg_standby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_standby: Avoid writing one byte beyond the end of the buffer. @ 2015-01-15 14:46 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Robert Haas @ 2015-01-15 14:46 UTC (permalink / raw) To: pgsql-committers pg_standby: Avoid writing one byte beyond the end of the buffer. Previously, read() might have returned a length equal to the buffer length, and then the subsequent store to buf[len] would write a zero-byte one byte past the end. This doesn't seem likely to be a security issue, but there's some chance it could result in pg_standby misbehaving. Spotted by Coverity; patch by Michael Paquier, reviewed by me. Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/d452bfd1b03a10498101d01a4337654c00bc26e6 Modified Files -------------- contrib/pg_standby/pg_standby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_standby: Avoid writing one byte beyond the end of the buffer. @ 2015-01-15 14:46 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Robert Haas @ 2015-01-15 14:46 UTC (permalink / raw) To: pgsql-committers pg_standby: Avoid writing one byte beyond the end of the buffer. Previously, read() might have returned a length equal to the buffer length, and then the subsequent store to buf[len] would write a zero-byte one byte past the end. This doesn't seem likely to be a security issue, but there's some chance it could result in pg_standby misbehaving. Spotted by Coverity; patch by Michael Paquier, reviewed by me. Branch ------ REL9_0_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/0a67c00182be0a0c69eab365bfa4830f15be06d1 Modified Files -------------- contrib/pg_standby/pg_standby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_standby: Avoid writing one byte beyond the end of the buffer. @ 2015-01-15 14:46 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Robert Haas @ 2015-01-15 14:46 UTC (permalink / raw) To: pgsql-committers pg_standby: Avoid writing one byte beyond the end of the buffer. Previously, read() might have returned a length equal to the buffer length, and then the subsequent store to buf[len] would write a zero-byte one byte past the end. This doesn't seem likely to be a security issue, but there's some chance it could result in pg_standby misbehaving. Spotted by Coverity; patch by Michael Paquier, reviewed by me. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/7b65f194e9ef098e519bb6d4f792af71a4ab5778 Modified Files -------------- contrib/pg_standby/pg_standby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_standby: Avoid writing one byte beyond the end of the buffer. @ 2015-01-15 14:46 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Robert Haas @ 2015-01-15 14:46 UTC (permalink / raw) To: pgsql-committers pg_standby: Avoid writing one byte beyond the end of the buffer. Previously, read() might have returned a length equal to the buffer length, and then the subsequent store to buf[len] would write a zero-byte one byte past the end. This doesn't seem likely to be a security issue, but there's some chance it could result in pg_standby misbehaving. Spotted by Coverity; patch by Michael Paquier, reviewed by me. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/ebbef4f3959501f65041739759ea6c5b34437091 Modified Files -------------- contrib/pg_standby/pg_standby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: pg_standby: Avoid writing one byte beyond the end of the buffer. @ 2015-01-15 14:46 Robert Haas <rhaas@postgresql.org> 0 siblings, 0 replies; 6+ messages in thread From: Robert Haas @ 2015-01-15 14:46 UTC (permalink / raw) To: pgsql-committers pg_standby: Avoid writing one byte beyond the end of the buffer. Previously, read() might have returned a length equal to the buffer length, and then the subsequent store to buf[len] would write a zero-byte one byte past the end. This doesn't seem likely to be a security issue, but there's some chance it could result in pg_standby misbehaving. Spotted by Coverity; patch by Michael Paquier, reviewed by me. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/0b49642b99ca2818bb8bfcaddf522b2e36a5b350 Modified Files -------------- contrib/pg_standby/pg_standby.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2015-01-15 14:46 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2015-01-15 14:46 pgsql: pg_standby: Avoid writing one byte beyond the end of the buffer. Robert Haas <rhaas@postgresql.org> 2015-01-15 14:46 pgsql: pg_standby: Avoid writing one byte beyond the end of the buffer. Robert Haas <rhaas@postgresql.org> 2015-01-15 14:46 pgsql: pg_standby: Avoid writing one byte beyond the end of the buffer. Robert Haas <rhaas@postgresql.org> 2015-01-15 14:46 pgsql: pg_standby: Avoid writing one byte beyond the end of the buffer. Robert Haas <rhaas@postgresql.org> 2015-01-15 14:46 pgsql: pg_standby: Avoid writing one byte beyond the end of the buffer. Robert Haas <rhaas@postgresql.org> 2015-01-15 14:46 pgsql: pg_standby: Avoid writing one byte beyond the end of the buffer. Robert Haas <rhaas@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox