[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: |
Sun, 28 Nov 2004 05:17:41 +0100 |
Update of /home/cvs/gsasl/lib/gl
In directory dopio:/tmp/cvs-serv2698/gl
Modified Files:
base64.c base64.h
Log Message:
Update.
--- /home/cvs/gsasl/lib/gl/base64.c 2004/11/28 03:52:39 1.4
+++ /home/cvs/gsasl/lib/gl/base64.c 2004/11/28 04:17:41 1.5
@@ -26,12 +26,6 @@
# include <config.h>
#endif
-/* Get SIZE_MAX. */
-#include <limits.h>
-#if HAVE_STDINT_H
-# include <stdint.h>
-#endif
-
/* Get malloc. */
#include <stdlib.h>
@@ -365,7 +359,7 @@
needlen = 3 * inlen / 4; /* FIXME: May allocate one 1 or 2 bytes too
much, depending on input. */
- *out = malloc (*outlen);
+ *out = malloc (needlen);
if (!*out)
return true;
@@ -376,7 +370,7 @@
return false;
}
- if (*outlen)
+ if (outlen)
*outlen = needlen;
return true;
--- /home/cvs/gsasl/lib/gl/base64.h 2004/11/26 00:38:22 1.1
+++ /home/cvs/gsasl/lib/gl/base64.h 2004/11/28 04:17:41 1.2
@@ -22,6 +22,12 @@
/* Get size_t. */
#include <stddef.h>
+/* Get SIZE_MAX. */
+#include <limits.h>
+#if HAVE_STDINT_H
+# include <stdint.h>
+#endif
+
/* Get bool. */
#include <stdbool.h>
- 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 <=
- 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, 2004/11/29
- CVS gsasl/lib/gl, gsasl-commit, 2004/11/30
- CVS gsasl/lib/gl, gsasl-commit, 2004/11/30