Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2021-08-20 05:54:23 +0000
committerPeter Eisentraut2021-08-20 08:51:59 +0000
commit9a6345ed741783e8770ef160e822d2257873adef (patch)
treec35ca5988106814066b765a5cab4732651f5f791 /src/backend/regex/regexec.c
parentf1899f251df421a4715ce5e231855eb6914bf77d (diff)
pg_resetwal: Improve numeric command-line argument parsing
Check errno after strtoul()/strtol() to handle out of range errors better. For out of range, strtoul() returns ULONG_MAX, and the previous code would proceed with that result. Reported-by: Mark Dilger <mark.dilger@enterprisedb.com> Discussion: https://www.postgresql.org/message-id/flat/6a10a211-872b-3c4c-106b-909ae5fefa61%40enterprisedb.com
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions