"Chad Wagner" <chad(dot)wagner(at)gmail(dot)com> writes:
> This patch modifies the ReadStr function in pg_backup_archiver.c to validate
> the result of *AH->ReadBufPtr matches the value of l.
If we're trying to defend against premature EOF, this hardly seems like
a sufficient patch.
regards, tom lane