pg_dump: Fix inconsistent sscanf() conversions
Peter Eisentraut <peter_e@gmx.net>
pg_dump: Fix inconsistent sscanf() conversions It was using %u to read a string that was earlier produced by snprintf with %d into a signed integer variable. This seems to work in practice but is incorrect. found by cppcheck
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_backup_custom.c | modified | +1 −1 |
| src/bin/pg_dump/pg_backup_directory.c | modified | +2 −2 |