[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: |
Mon, 20 Dec 2004 02:24:33 +0100 |
Update of /home/cvs/gsasl/lib/src
In directory dopio:/tmp/cvs-serv4460
Modified Files:
property.c
Log Message:
Handle malloc==NULL.
--- /home/cvs/gsasl/lib/src/property.c 2004/12/19 16:46:34 1.23
+++ /home/cvs/gsasl/lib/src/property.c 2004/12/20 01:24:32 1.24
@@ -140,8 +140,11 @@
if (data)
{
*p = malloc (len + 1);
- memcpy (*p, data, len);
- (*p)[len] = '\0';
+ if (*p)
+ {
+ memcpy (*p, data, len);
+ (*p)[len] = '\0';
+ }
}
else
*p = NULL;
- CVS gsasl/lib/src, (continued)
- CVS gsasl/lib/src, gsasl-commit, 2004/12/14
- CVS gsasl/lib/src, gsasl-commit, 2004/12/14
- CVS gsasl/lib/src, gsasl-commit, 2004/12/14
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src,
gsasl-commit <=
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/19
- CVS gsasl/lib/src, gsasl-commit, 2004/12/25
- CVS gsasl/lib/src, gsasl-commit, 2004/12/26
- CVS gsasl/lib/src, gsasl-commit, 2004/12/26