Date: Fri, 8 Jan 2010 07:57:43 +0000 (UTC) From: Jaakko Heinonen <jh@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/tmpfs tmpfs_vfsops.c Message-ID: <201001080758.o087w6Ba014995@repoman.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001080758.o087w6Ba014995>
