Date: Mon, 4 Aug 2008 06:53:13 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/gen getbsize.c Message-ID: <200808040653.m746rGVo094014@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
cperciva 2008-08-04 06:53:13 UTC FreeBSD src repository Modified files: lib/libc/gen getbsize.c Log: SVN rev 181280 on 2008-08-04 06:53:13Z by cperciva Set "max" to a reasonable value if BLOCKSIZE has a bogus unit. Prior to this commit, "env BLOCKSIZE=4X df" prints not only "4X: unknown blocksize" as expected, but sometimes also "maximum blocksize is 1G" and "minimum blocksize is 512" depending on what happened to be on the stack. Found by: LLVM/Clang Static Checker Revision Changes Path 1.9 +1 -0 src/lib/libc/gen/getbsize.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808040653.m746rGVo094014>