• Heikki Linnakangas's avatar
    Fix two thinkos related to strong random keys. · 41493bac
    Heikki Linnakangas authored
    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.
    41493bac
postmaster.c 171 KB