git.postgresql.org Git - postgresql.git/commit
git
projects
/
postgresql.git
/ commit
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
| commit |
commitdiff
|
tree
(parent:
d8df7ac
) |
patch
Avoid core dump after getpwuid_r failure.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 8 Sep 2024 23:14:40 +0000
(19:14 -0400)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 8 Sep 2024 23:14:40 +0000
(19:14 -0400)
commit 2e62fa62d6745ba3bcb0a517d002aff1f3cdefb7
tree
89e611fd20a4e87b7002cde29544a0bc3285a368
tree
parent
d8df7ac5c04cd17bf13bd3123dcfcaf8007c6280
commit
|
diff
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
によって変換されたページ
(->オリジナル)
/
アドレス:
モード:
デフォルト
音声ブラウザ
ルビ付き
配色反転
文字拡大
モバイル