* libmisc/chowndir.c: Add splint annotations.
This commit is contained in:
		@@ -1,3 +1,7 @@
 | 
			
		||||
2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
 | 
			
		||||
 | 
			
		||||
	* libmisc/chowndir.c: Add splint annotations.
 | 
			
		||||
 | 
			
		||||
2011-08-14  Nicolas François  <nicolas.francois@centraliens.net>
 | 
			
		||||
 | 
			
		||||
	* lib/gshadow_.h: Fix typo in comment.
 | 
			
		||||
 
 | 
			
		||||
@@ -116,7 +116,7 @@ int chown_tree (const char *root,
 | 
			
		||||
 | 
			
		||||
		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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user