mirror of
https://github.com/postgres/postgres.git
synced 2025-08-31 17:02:12 +03:00
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.