This is the 4th time sending this patch. Hope this one succeeds.
Index: md5.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/backend/libpq/md5.c,v
retrieving revision 1.30
diff -u -r1.30 md5.c
--- md5.c       17 Oct 2005 16:24:19 -0000      1.30
+++ md5.c       18 Oct 2005 19:47:24 -0000
@@ -328,6 +328,9 @@
        char       *crypt_buf = palloc(passwd_len + salt_len);
        bool            ret;
 
+       if (!crypt_buf)
+               return false;
+
        /*
         * Place salt at the end because it may be known by users trying to 
crack
         * the MD5 output.


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to