e2fsprogs/lib
Darrick J. Wong 5f0164b3a4 libext2fs: fix tdb.c mmap leak
When undoing an expansion of an mmap'd database while cancelling a
transaction, the tdb code prematurely decreases the variable that
tracks the file size, which leads to a region leak during the
subsequent unmap.  Fix this by maintaining a separate counter for the
region size.

(This is probably unnecessary since e2undo was the only user of tdb
transactions, but I suppose we could be proactive.)

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2015-01-27 13:10:39 -05:00
..
blkid libext2fs: fix endian checking bits 2014-11-05 11:08:32 -05:00
e2p Reserve the codepoints for the new INCOMPAT feature ENCRYPT 2015-01-26 10:27:41 -05:00
et Merge branch 'maint' into next 2014-09-11 12:40:43 -04:00
ext2fs libext2fs: fix tdb.c mmap leak 2015-01-27 13:10:39 -05:00
quota quotaio: annotate & fix up for sparse endian checker 2014-11-04 11:26:24 -05:00
ss Merge branch 'maint' into next 2014-09-11 12:40:43 -04:00
uuid Merge branch 'maint' into next 2014-07-06 00:09:27 -04:00
Makefile.bsd-lib Include LDFLAGS when building BSD libraries 2012-05-11 22:21:08 -04:00
Makefile.checker e2fsprogs: remove checker infrastructure 2014-07-04 23:59:30 -04:00
Makefile.darwin-lib Add configure options --enable-symlink-build and --enable-symlink-install 2010-05-17 19:21:42 -04:00
Makefile.elf-lib Put ELF_OTHER_LIBS in the right place for the linker 2012-08-06 12:30:49 -04:00
Makefile.library Add configure options --enable-symlink-build and --enable-symlink-install 2010-05-17 19:21:42 -04:00
Makefile.profile Add configure options --enable-symlink-build and --enable-symlink-install 2010-05-17 19:21:42 -04:00
Makefile.solaris-lib Put ELF_OTHER_LIBS in the right place for the linker 2012-08-06 12:30:49 -04:00
config.h.in Merge branch 'maint' into next 2014-11-04 11:20:09 -05:00
dirpaths.h.in Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00
fpopen.c Shorten compile commands run by the build system 2011-09-18 17:34:37 -04:00