Fork of e2fsprogs with inode table reallocator
 
 
 
 
 
 
Go to file
Eric Sandeen 5830d6be9c Detect overflows in loop counters
For loops such as:

for (i=1; i <= fs->super->s_blocks_count; i++) {
        <do_stuff>
}

if i is an int and s_blocks_count is (2^32-1), the condition is never false.
Change these loops to:

for (i=1; i <= fs->super->s_blocks_count && i > 0; i++) {
        <do_stuff>
}

to stop the loop when we overflow i

Signed-off-by: Eric Sandeen <esandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2006-08-30 02:16:55 -04:00
config Update config.guess and config.sub to latest version (2006-02-23) from FSF 2006-04-09 18:37:22 -04:00
contrib Exclude mercurial files from the RPM build tree to speed up copy/build. 2006-06-20 23:59:43 -04:00
debian Update release notes, version numbers, et. al. for 1.39 release 2006-05-29 11:47:25 -04:00
debugfs Fix debugfs coredump when lsdel is run without an open filesystem 2006-08-29 17:02:56 -04:00
doc Update release notes, version numbers, et. al. for 1.39 release 2006-05-29 11:47:25 -04:00
e2fsck Detect overflows in loop counters 2006-08-30 02:16:55 -04:00
ext2ed Fix potential 2**32-1 overflow problems by ext2fs_div_ceil() 2006-08-30 01:57:00 -04:00
include/nonunix Update for e2fsprogs 1.38 release. 2005-06-30 20:06:45 -04:00
install-utils Update for e2fsprogs 1.38 release. 2005-06-30 20:06:45 -04:00
intl Update for e2fsprogs 1.38 release. 2005-06-30 20:06:45 -04:00
lib Detect overflows in loop counters 2006-08-30 02:16:55 -04:00
misc Remove unnecessary and unused resize2fs build rule from misc/Makefile.in 2006-08-30 02:06:41 -04:00
po Add Vietnamese translation 2006-08-19 21:16:17 -04:00
resize Detect overflows in loop counters 2006-08-30 02:16:55 -04:00
tests If diff -u is supported, use it to report test failures. 2006-08-06 14:33:13 -04:00
util Create the generated files read-only to remind developers not to edit them. 2006-08-05 14:41:00 -04:00
.fix-Changelog Update files for 1.31 release. 2002-11-08 20:08:48 -05:00
.head-Changelog Many files: 1997-04-29 14:51:31 +00:00
.hgignore Ignore quilt work files 2005-07-19 08:41:27 -05:00
.hgtags Added tag E2FSPROGS-1_39 for changeset 7c019255c28099336f7bba454b9307c4bdeb94a4 2006-05-29 11:47:49 -04:00
.missing-copyright Many files: 1997-04-29 16:15:03 +00:00
.release-checklist Update for 1.34 release. 2003-07-26 01:03:34 -04:00
ABOUT-NLS Update to gettext 0.11.5. We now enable NLS support by default. 2003-05-03 16:35:17 -04:00
COPYING Clarified that the lib/uuid directory is under a BSD-style and 2004-04-12 13:19:21 -04:00
ChangeLog If diff -u is supported, use it to report test failures. 2006-08-06 14:33:13 -04:00
INSTALL Remove the a.out DLL support, since it's been obsolete and unmaintained 2004-11-19 17:06:47 -05:00
INSTALL.elfbin ChangeLog, INSTALL.elfbin: 1999-01-02 04:15:29 +00:00
MCONFIG.in Read mke2fs.conf and e2fsck.conf from root_sysconfdir rather than harcoded /etc. 2006-06-10 16:08:18 +02:00
Makefile.in add "make rpm" target to top-level Makefile 2006-06-21 00:05:49 -04:00
README Update release notes, version numbers, et. al. for 1.39 release 2006-05-29 11:47:25 -04:00
README.subset Update for 1.33 release. 2003-04-21 16:17:09 -04:00
RELEASE-NOTES Update release notes, version numbers, et. al. for 1.39 release 2006-05-29 11:47:25 -04:00
SHLIBS Many files: 1997-04-29 16:15:03 +00:00
SUBMITTING-PATCHES Added SUBMITTING-PATCHES file 2005-07-05 22:30:13 -05:00
TODO Update TODO to remove item which is already completed. 2006-05-13 09:28:04 -04:00
aclocal.m4 Update to use gettext 0.14.1 and autoconf 2.50+ 2004-11-30 19:00:19 -05:00
configure If diff -u is supported, use it to report test failures. 2006-08-06 14:33:13 -04:00
configure.in If diff -u is supported, use it to report test failures. 2006-08-06 14:33:13 -04:00
depfix.sed ChangeLog, depfix.sed: 1999-07-19 15:48:08 +00:00
e2fsprogs.lsm Update release notes, version numbers, et. al. for 1.39 release 2006-05-29 11:47:25 -04:00
e2fsprogs.spec.in Add pkg-config files to e2fsprogs's libraries. 2005-01-26 12:59:25 -05:00
version.h Update release notes, version numbers, et. al. for 1.39 release 2006-05-29 11:47:25 -04:00
wordwrap.pl ChangeLog, wordwrap.pl: 2001-06-01 23:49:46 +00:00

README

	This is the new version (1.39) of the second extended file
system management programs.

	From time to time, I release new versions of e2fsprogs, to fix
bugs and to make the utilities more robust.  You can always find
information about the latest version at the the e2fsprogs web page,
which is:

	http://e2fsprogs.sourceforge.net

	The INSTALL file has instructions on building and installing
e2fsprogs.  Provisions for building Red Hat RPMs and Debian dpkg files
are supplied as well.

	In case of bugs in these programs, please contact Ted Ts'o at
tytso@thunk.org or tytso@alum.mit.edu.  See the e2fsck man page for
suggestions of what sort of information to include when submitting bug
reports for these programs.