summaryrefslogtreecommitdiff
path: root/src/common/exec.c
diff options
context:
space:
mode:
authorTom Lane2020-08-09 16:39:07 +0000
committerTom Lane2020-08-09 16:39:07 +0000
commit1b9cde51246c7773eac119b84cc18095118735de (patch)
tree6cfdf1e30c84567237a2b2e40587d1ce1695bfa7 /src/common/exec.c
parent1c164ef3d28dfab445a885a03e80cfd0d552f64a (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 'src/common/exec.c')
0 files changed, 0 insertions, 0 deletions