[Pkg-shadow-commits] r3465 - in upstream/trunk: . libmisc

Nicolas FRANÇOIS nekral-guest at alioth.debian.org
Sun Aug 14 14:00:15 UTC 2011


Author: nekral-guest
Date: 2011-08-14 14:00:14 +0000 (Sun, 14 Aug 2011)
New Revision: 3465

Modified:
   upstream/trunk/ChangeLog
   upstream/trunk/libmisc/chowndir.c
Log:
	* libmisc/chowndir.c: Add splint annotations.


Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog	2011-08-14 13:16:54 UTC (rev 3464)
+++ upstream/trunk/ChangeLog	2011-08-14 14:00:14 UTC (rev 3465)
@@ -1,5 +1,9 @@
 2011-08-14  Nicolas François  <nicolas.francois at centraliens.net>
 
+	* libmisc/chowndir.c: Add splint annotations.
+
+2011-08-14  Nicolas François  <nicolas.francois at centraliens.net>
+
 	* lib/gshadow_.h: Fix typo in comment.
 
 2011-08-14  Nicolas François  <nicolas.francois at centraliens.net>

Modified: upstream/trunk/libmisc/chowndir.c
===================================================================
--- upstream/trunk/libmisc/chowndir.c	2011-08-14 13:16:54 UTC (rev 3464)
+++ upstream/trunk/libmisc/chowndir.c	2011-08-14 14:00:14 UTC (rev 3465)
@@ -116,7 +116,7 @@
 
 		ent_name_len = strlen (root) + strlen (ent->d_name) + 2;
 		if (ent_name_len > new_name_len) {
-			char *tmp = realloc (new_name, ent_name_len);
+			/*@only@*/char *tmp = realloc (new_name, ent_name_len);
 			if (NULL == tmp) {
 				rc = -1;
 				break;




More information about the Pkg-shadow-commits mailing list