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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ad365b2) | patch
Fix two thinkos related to strong random keys.
2016年12月12日 07:58:32 +0000 (09:58 +0200)
2016年12月12日 07:58:32 +0000 (09:58 +0200)
commit 41493bac36575c93172644d0eab7045aed8dcc17
Fix two thinkos related to strong random keys.

pg_backend_random() is used for MD5 salt generation, but it can fail, and
no checks were done on its status code.

Fix memory leak, if generating a random number for a cancel key failed.

Both issues were spotted by Coverity. Fix by Michael Paquier.
src/backend/libpq/auth.c diff | blob | blame | history
src/backend/postmaster/postmaster.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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