Date: Thu, 3 Jun 2010 14:27:18 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r208784 - head/lib/libc/posix1e Message-ID: <201006031427.o53ERIZv004527@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Thu Jun 3 14:27:18 2010 New Revision: 208784 URL: http://svn.freebsd.org/changeset/base/208784 Log: Fix usage of uninitialized variable. Found with: Coverity Prevent CID: 7517 MFC after: 2 weeks Modified: head/lib/libc/posix1e/acl_strip.c Modified: head/lib/libc/posix1e/acl_strip.c ============================================================================== --- head/lib/libc/posix1e/acl_strip.c Thu Jun 3 14:16:58 2010 (r208783) +++ head/lib/libc/posix1e/acl_strip.c Thu Jun 3 14:27:18 2010 (r208784) @@ -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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006031427.o53ERIZv004527>