Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/crypto/external/bsd/openssl/dist/crypto/buffer Pull up fo...



details:   https://anonhg.NetBSD.org/src/rev/71c457cc4639
branches:  netbsd-6
changeset: 774043:71c457cc4639
user:      riz <riz%NetBSD.org@localhost>
date:      Mon May 07 02:57:22 2012 +0000

description:
Pull up following revision(s) (requested by drochner in ticket #203):
        crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c: revision 1.3
fix for previous fix: correct error code (upstream rev.22474)

diffstat:

 crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c2a80f6d9efe -r 71c457cc4639 crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c
--- a/crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c   Thu Apr 26 03:04:34 2012 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/buffer/buffer.c   Mon May 07 02:57:22 2012 +0000
@@ -156,7 +156,7 @@
        /* This limit is sufficient to ensure (len+3)/3*4 < 2**31 */
        if (len > LIMIT_BEFORE_EXPANSION)
                {
-               BUFerr(BUF_F_BUF_MEM_GROW,ERR_R_MALLOC_FAILURE);
+               BUFerr(BUF_F_BUF_MEM_GROW_CLEAN,ERR_R_MALLOC_FAILURE);
                return 0;
                }
        n=(len+3)/3*4;



Home | Main Index | Thread Index | Old Index