[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS gsasl/lib/src
From: |
gsasl-commit |
Subject: |
CVS gsasl/lib/src |
Date: |
Fri, 19 Nov 2004 03:39:59 +0100 |
Update of /home/cvs/gsasl/lib/src
In directory dopio:/tmp/cvs-serv5652
Modified Files:
callback.c
Log Message:
Fix valgrind warnings.
--- /home/cvs/gsasl/lib/src/callback.c 2004/11/18 13:49:07 1.17
+++ /home/cvs/gsasl/lib/src/callback.c 2004/11/19 02:39:59 1.18
@@ -120,8 +120,11 @@
break;
res = cb_securid (sctx, sctx->authid, sctx->authzid, sctx->passcode,
sctx->pin, buf, &buflen);
- buf[buflen] = '\0';
- gsasl_property_set (sctx, GSASL_SUGGESTED_PIN, buf);
+ if (buflen > 0 && buflen < BUFSIZ - 1)
+ {
+ buf[buflen] = '\0';
+ gsasl_property_set (sctx, GSASL_SUGGESTED_PIN, buf);
+ }
return res;
break;
- CVS gsasl/lib/src, gsasl-commit, 2004/11/07
- CVS gsasl/lib/src, gsasl-commit, 2004/11/18
- CVS gsasl/lib/src, gsasl-commit, 2004/11/18
- CVS gsasl/lib/src, gsasl-commit, 2004/11/18
- CVS gsasl/lib/src, gsasl-commit, 2004/11/18
- CVS gsasl/lib/src, gsasl-commit, 2004/11/18
- CVS gsasl/lib/src,
gsasl-commit <=
- CVS gsasl/lib/src, gsasl-commit, 2004/11/18
- CVS gsasl/lib/src, gsasl-commit, 2004/11/18
- CVS gsasl/lib/src, gsasl-commit, 2004/11/26
- CVS gsasl/lib/src, gsasl-commit, 2004/11/26
- CVS gsasl/lib/src, gsasl-commit, 2004/11/26
- CVS gsasl/lib/src, gsasl-commit, 2004/11/27
- CVS gsasl/lib/src, gsasl-commit, 2004/11/27
- CVS gsasl/lib/src, gsasl-commit, 2004/11/28
- CVS gsasl/lib/src, gsasl-commit, 2004/11/28
- CVS gsasl/lib/src, gsasl-commit, 2004/11/28