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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: d8df7ac) | patch
Avoid core dump after getpwuid_r failure.
Sun, 8 Sep 2024 23:14:40 +0000 (19:14 -0400)
Sun, 8 Sep 2024 23:14:40 +0000 (19:14 -0400)
commit 2e62fa62d6745ba3bcb0a517d002aff1f3cdefb7
Avoid core dump after getpwuid_r failure.

Looking up a nonexistent user ID would lead to a null pointer
dereference. That's unlikely to happen here, but perhaps
not impossible.

Thinko in commit 4d5111b3f, noticed by Coverity.
src/interfaces/libpq/fe-auth.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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