From owner-cvs-src-old@FreeBSD.ORG Fri Jan 8 07:58:06 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF12C1065696 for ; Fri, 8 Jan 2010 07:58:06 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id A53408FC15 for ; Fri, 8 Jan 2010 07:58:06 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o087w6gq014996 for ; Fri, 8 Jan 2010 07:58:06 GMT (envelope-from jh@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o087w6Ba014995 for cvs-src-old@freebsd.org; Fri, 8 Jan 2010 07:58:06 GMT (envelope-from jh@repoman.freebsd.org) Message-Id: <201001080758.o087w6Ba014995@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jh@repoman.freebsd.org using -f From: Jaakko Heinonen Date: Fri, 8 Jan 2010 07:57:43 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/fs/tmpfs tmpfs_vfsops.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jan 2010 07:58:06 -0000 jh 2010-01-08 07:57:43 UTC FreeBSD src repository Modified files: sys/fs/tmpfs tmpfs_vfsops.c Log: SVN rev 201773 on 2010-01-08 07:57:43Z by jh - Change the type of size_max to u_quad_t because its value is converted with vfs_scanopt(9) using the "%qu" format string. - Limit the maximum value of size_max to (SIZE_MAX - PAGE_SIZE) to prevent overflow in howmany() macro. PR: kern/141194 Approved by: trasz (mentor) MFC after: 2 weeks Revision Changes Path 1.22 +3 -3 src/sys/fs/tmpfs/tmpfs_vfsops.c