[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/lib/gl
From: |
gsasl-commit |
Subject: |
CVS gsasl/lib/gl |
Date: |
Tue, 30 Nov 2004 01:53:02 +0100 |
Update of /home/cvs/gsasl/lib/gl
In directory dopio:/tmp/cvs-serv2373/gl
Modified Files:
base64.c
Log Message:
Update.
--- /home/cvs/gsasl/lib/gl/base64.c 2004/11/29 14:30:38 1.8
+++ /home/cvs/gsasl/lib/gl/base64.c 2004/11/30 00:53:02 1.9
@@ -32,8 +32,10 @@
* OK: data in OUT/OUTLEN
*
* size_t outlen = base64_encode_alloc (in, inlen, &out);
+ * if (out == NULL && outlen == 0 && inlen != 0)
+ * FAIL: input too long
* if (out == NULL)
- * FAIL: memory allocation error, or input string too long
+ * FAIL: memory allocation error
* OK: data in OUT/LEN.
*
*/
@@ -348,11 +350,12 @@
}
}
}
+
in += 4;
inlen -= 4;
}
- *outlen = *outlen - outleft;
+ *outlen -= outleft;
if (inlen != 0)
return false;
- CVS gsasl/lib/gl, gsasl-commit, 2004/11/25
- CVS gsasl/lib/gl, gsasl-commit, 2004/11/25
- CVS gsasl/lib/gl, gsasl-commit, 2004/11/26
- CVS gsasl/lib/gl, gsasl-commit, 2004/11/27
- CVS gsasl/lib/gl, gsasl-commit, 2004/11/27
- CVS gsasl/lib/gl, gsasl-commit, 2004/11/28
- CVS gsasl/lib/gl, gsasl-commit, 2004/11/28
- CVS gsasl/lib/gl, gsasl-commit, 2004/11/29
- CVS gsasl/lib/gl,
gsasl-commit <=
- CVS gsasl/lib/gl, gsasl-commit, 2004/11/30
- CVS gsasl/lib/gl, gsasl-commit, 2004/11/30