postgresql/contrib/pg_xlogdump
Andres Freund f0e2770956 Fix off-by-one in pg_xlogdump's fuzzy_open_file().
In the unlikely case of stdin (fd 0) being closed, the off-by-one
would lead to pg_xlogdump failing to open files.

Spotted by Coverity.

Backpatch to 9.3 where pg_xlogdump was introduced.
2015-01-04 15:35:47 +01:00
..
.gitignore Add missing .gitignore file. 2013-02-26 15:58:34 -05:00
compat.c Remove tabs after spaces in C comments 2014-05-06 11:26:28 -04:00
Makefile Remove broken PGXS code for pg_xlogdump 2013-10-01 17:39:46 -03:00
pg_xlogdump.c Fix off-by-one in pg_xlogdump's fuzzy_open_file(). 2015-01-04 15:35:47 +01:00
rmgrdesc.c pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
rmgrdesc.h pgindent run for release 9.3 2013-05-29 16:58:43 -04:00