From owner-cvs-all@FreeBSD.ORG Sun Jan 22 21:09:39 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1374A16A41F; Sun, 22 Jan 2006 21:09:39 +0000 (GMT) (envelope-from fjoe@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id C085943D46; Sun, 22 Jan 2006 21:09:38 +0000 (GMT) (envelope-from fjoe@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k0ML9cgd073402; Sun, 22 Jan 2006 21:09:38 GMT (envelope-from fjoe@repoman.freebsd.org) Received: (from fjoe@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k0ML9c3Y073401; Sun, 22 Jan 2006 21:09:38 GMT (envelope-from fjoe) Message-Id: <200601222109.k0ML9c3Y073401@repoman.freebsd.org> From: Max Khon Date: Sun, 22 Jan 2006 21:09:38 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/fs/msdosfs direntry.h msdosfs_conv.c msdosfs_lookup.c msdosfs_vnops.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2006 21:09:39 -0000 fjoe 2006-01-22 21:09:38 UTC FreeBSD src repository Modified files: sys/fs/msdosfs direntry.h msdosfs_conv.c msdosfs_lookup.c msdosfs_vnops.c Log: Do not assume that `char direntry::deExtension[3]' starts right after `char direntry::deName[8]' and access deExtension[] explicitly. Found by: Coverity Prevent(tm) CID: 350, 351, 352 Revision Changes Path 1.22 +1 -1 src/sys/fs/msdosfs/direntry.h 1.46 +12 -13 src/sys/fs/msdosfs/msdosfs_conv.c 1.47 +2 -2 src/sys/fs/msdosfs/msdosfs_lookup.c 1.161 +1 -1 src/sys/fs/msdosfs/msdosfs_vnops.c