diff options
| author | Tom Lane | 2020-08-09 16:39:08 +0000 |
|---|---|---|
| committer | Tom Lane | 2020-08-09 16:39:08 +0000 |
| commit | 418414daaa4fc4e88f84c6c456bd0ac1c4c86efd (patch) | |
| tree | aa7c87d4d6ccb6cc0264958bbd63f27245de2c86 /contrib/pgcrypto/pgp-mpi-openssl.c | |
| parent | 65a6769152f4e523e41a9a72f4b332cf427cec90 (diff) | |
Check for fseeko() failure in pg_dump's _tarAddFile().
Coverity pointed out, not unreasonably, that we checked fseeko's
result at every other call site but these. Failure to seek in the
temp file (note this is NOT pg_dump's output file) seems quite
unlikely, and even if it did happen the file length cross-check
further down would probably detect the problem. Still, that's a
poor excuse for not checking the result of a system call.
Diffstat (limited to 'contrib/pgcrypto/pgp-mpi-openssl.c')
0 files changed, 0 insertions, 0 deletions
