git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: e3db3f8) | patch
Fix thinkos from 4f4061b for libpq integer parsing
2019年10月23日 02:34:18 +0000 (11:34 +0900)
2019年10月23日 02:34:18 +0000 (11:34 +0900)
commit 57379cd5ac56e575630a5fee5777a1035d0a764a
Fix thinkos from 4f4061b for libpq integer parsing

A check was redundant. While on it, add an assertion to make sure that
the parsing routine is never called with a NULL input. All the code
paths currently calling the parsing routine are careful with NULL inputs
already, but future callers may forget that.

Reported-by: Peter Eisentraut, Lars Kanis
Discussion: https://postgr.es/m/ec64956b-4597-56b6-c3db-457d15250fe4@2ndquadrant.com
Backpatch-through: 12
src/interfaces/libpq/fe-connect.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /