summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorStephen Frost2013-07-15 14:42:27 +0000
committerStephen Frost2013-07-15 14:48:08 +0000
commita3957ac156da7e31da46a2d8e3b6c7669333cc99 (patch)
treea26713732846904c86f4380019907bf76e428f82 /doc/src
parent89c09fe02d9aa77aea28525b97229f61f1d5e471 (diff)
Correct off-by-one when reading from pipe
In pg_basebackup.c:reached_end_position(), we're reading from an internal pipe with our own background process but we're possibly reading more bytes than will actually fit into our buffer due to an off-by-one error. As we're reading from an internal pipe there's no real risk here, but it's good form to not depend on such convenient arrangements. Bug spotted by the Coverity scanner. Back-patch to 9.2 where this showed up.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions