diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-09-15 02:31:15 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-09-15 02:31:15 +0000 |
commit | 9a3f5301ff0e4721e560eea698702c690f8d70db (patch) | |
tree | c175a8d2327c41283b51186f58aac43a78b963d7 /src/backend/access/gist/gistproc.c | |
parent | c82fdb698425ddeb9e0c7d2d01c2ce0bc3fb088f (diff) | |
download | postgresql-9a3f5301ff0e4721e560eea698702c690f8d70db.tar.gz postgresql-9a3f5301ff0e4721e560eea698702c690f8d70db.zip |
Fix possible buffer overrun and/or unportable behavior in pg_md5_encrypt()
if salt_len == 0. This seems to be mostly academic, since nearly all calling
code paths guarantee nonempty salt; the only case that doesn't is
PQencryptPassword where the caller could mistakenly pass an empty username.
So, fix it but don't bother backpatching. Per ljb.
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions