svn commit: r209046 - stable/8/lib/libc/posix1e
Edward Tomasz Napierala
trasz at FreeBSD.org
Fri Jun 11 15:21:13 UTC 2010
Author: trasz
Date: Fri Jun 11 15:21:12 2010
New Revision: 209046
URL: http://svn.freebsd.org/changeset/base/209046
Log:
Fix usage of uninitialized variable.
Found with: Coverity Prevent
CID: 7517
Approved by: re (kib)
Modified:
stable/8/lib/libc/posix1e/acl_strip.c
Modified: stable/8/lib/libc/posix1e/acl_strip.c
==============================================================================
--- stable/8/lib/libc/posix1e/acl_strip.c Fri Jun 11 14:11:24 2010 (r209045)
+++ stable/8/lib/libc/posix1e/acl_strip.c Fri Jun 11 15:21:12 2010 (r209046)
@@ -46,7 +46,7 @@ static acl_t
_nfs4_acl_strip_np(const acl_t aclp, int recalculate_mask)
{
acl_t newacl;
- mode_t mode;
+ mode_t mode = 0;
newacl = acl_init(ACL_MAX_ENTRIES);
if (newacl == NULL) {
More information about the svn-src-stable
mailing list