e2fsprogs/lib/ext2fs
Theodore Ts'o c21cde9986 libext2fs: Add some fail-safe checks to the 32-bit bitmap code
If a 64-bit bitmap is passed to a 32-bit bitmap function, add some
checks to make sure that we print a useful error message so we can
better catch potential problems.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
2010-01-30 20:20:21 -05:00
..
tdb Update to latest samba tdb library before LGPLv3 change 2008-02-17 17:35:54 -05:00
Makefile.in Merge branch 'maint' into next 2009-10-04 20:40:46 -04:00
Makefile.pq Many files: 1997-11-14 05:23:04 +00:00
alloc.c Convert to use block group accessor functions 2009-10-25 21:43:47 -04:00
alloc_sb.c libext2fs: clean up ext2fs_bg_flags_ interfaces 2009-10-25 21:41:32 -04:00
alloc_stats.c Convert to use block group accessor functions 2009-10-25 21:43:47 -04:00
alloc_tables.c Convert ext2fs_group_{first,last}_block() to *block2() 2009-10-25 21:24:06 -04:00
badblocks.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
bb_compat.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
bb_inode.c Convert ext2fs_block_alloc_stats() calls to block_alloc_stats2() 2009-10-25 21:46:58 -04:00
bitmaps.c Fix overflow in calculation of total file system blocks 2009-09-07 21:23:03 -04:00
bitops.c libext2fs: Add 64-bit bitops 2009-06-01 16:15:40 -04:00
bitops.h Add support for 64-bit bitmaps 2009-08-22 13:27:40 -04:00
blkmap64_ba.c Add support for 64-bit bitmaps 2009-08-22 13:27:40 -04:00
blknum.c libext2fs: Convert ext2fs_bg_flag_test() to ext2fs_bg_flags_test() 2009-10-25 21:42:12 -04:00
block.c Convert uses of super->s_*_blocks_count to ext2fs_*_blocks_count() 2009-09-07 20:46:34 -04:00
bmap.c libext2fs: add ext2fs_extent_open2 2009-05-28 16:33:38 -04:00
bmap64.h Add support for 64-bit bitmaps 2009-08-22 13:27:40 -04:00
bmove.c Convert to use io_channel_read_blk64() and io_channel_write_blk64() 2009-09-07 21:14:24 -04:00
brel.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
brel_ma.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
check_desc.c Convert ext2fs_group_{first,last}_block() to *block2() 2009-10-25 21:24:06 -04:00
closefs.c libext2fs: Byte-swap 64-bit block group descriptors 2009-10-25 21:46:01 -04:00
crc16.c Fix compiling under diet libc 2008-09-12 09:10:39 -04:00
crc16.h Fix compiling under diet libc 2008-09-12 09:10:39 -04:00
csum.c libext2fs: Byte-swap 64-bit block group descriptors 2009-10-25 21:46:01 -04:00
dblist.c Convert to use block group accessor functions 2009-10-25 21:43:47 -04:00
dblist_dir.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
dir_iterate.c libext2fs: Fix minor gcc -Wall warnings 2009-07-12 01:13:06 -04:00
dirblock.c Convert to use io_channel_read_blk64() and io_channel_write_blk64() 2009-09-07 21:14:24 -04:00
dirhash.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
dosio.c libext2fs: don't leak strdup'd dev name in dosio.c upon error 2009-03-08 20:38:20 -04:00
dosio.h Many files: 1997-08-11 20:29:22 +00:00
dupfs.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
e2image.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
expanddir.c Convert ext2fs_block_alloc_stats() calls to block_alloc_stats2() 2009-10-25 21:46:58 -04:00
ext2_err.et.in Add support for 64-bit bitmaps 2009-08-22 13:27:40 -04:00
ext2_ext_attr.h Fix gcc -Wall complaints in libext2fs 2006-11-14 23:14:12 -05:00
ext2_fs.h Use ext2fs_file_acl_block() instead of using .i_file_acl directly 2009-09-07 22:29:45 -04:00
ext2_io.h Convert libext2fs to 64-bit bitmap interface 2009-08-05 00:27:10 -04:00
ext2_types.h.in Fix ext2fs_swap{16,32,64} for external applications on big-endian machines 2008-06-07 08:55:21 -04:00
ext2fs.h libext2fs: Byte-swap 64-bit block group descriptors 2009-10-25 21:46:01 -04:00
ext2fs.pc.in Fix pkg-config files: use Requires.private and fix the include directory 2008-09-02 21:20:44 -04:00
ext2fsP.h libext2fs: Add some fail-safe checks to the 32-bit bitmap code 2010-01-30 20:20:21 -05:00
ext3_extents.h Remove vararg macro which causes portability problems from ext3_extent.h 2008-07-13 16:06:57 -04:00
ext_attr.c Convert uses of super->s_*_blocks_count to ext2fs_*_blocks_count() 2009-09-07 20:46:34 -04:00
extent.c Convert ext2fs_block_alloc_stats() calls to block_alloc_stats2() 2009-10-25 21:46:58 -04:00
extent_dbg.ct libext2fs: add new function ext2fs_extent_set_bmap() 2008-06-02 18:52:05 -04:00
fiemap.h Move declaration of FS_IOC_FIEMAP ioctl to fiemap.h 2009-08-22 13:16:14 -04:00
fileio.c Use blk64_t for blocks in struct ext2_file 2009-06-01 16:15:40 -04:00
finddev.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
flushb.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
freefs.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
gen_bitmap.c libext2fs: Add some fail-safe checks to the 32-bit bitmap code 2010-01-30 20:20:21 -05:00
gen_bitmap64.c libext2fs: Add some fail-safe checks to the 32-bit bitmap code 2010-01-30 20:20:21 -05:00
get_pathname.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
getsectsize.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
getsize.c ext2fs_get_device_size: Fix error handling 2009-01-20 13:37:47 -05:00
i_block.c libext2fs: Fix FEATURE_RO_COMPAT_HUGE_FILE && !HUGE_FILE_FL 2009-10-21 01:46:58 -04:00
icount.c Convert uses of super->s_*_blocks_count to ext2fs_*_blocks_count() 2009-09-07 20:46:34 -04:00
imager.c Convert to use block group accessor functions 2009-10-25 21:43:47 -04:00
ind_block.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
initialize.c Convert to use block group accessor functions 2009-10-25 21:43:47 -04:00
inline.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
inode.c Convert to use block group accessor functions 2009-10-25 21:43:47 -04:00
inode_io.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
io_manager.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
irel.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
irel_ma.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
ismounted.c libext2fs: handle <=linux-2.6.19 bug in /proc/swaps 2009-11-13 08:48:29 -05:00
jfs_compat.h e2fsck: Add support to check journal checksums 2008-06-06 23:38:38 -04:00
jfs_dat.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
jfs_user.h Move linux/jbd.h to ext2fs/kernel-jbd.h, to avoid using the 2001-12-23 19:33:51 -05:00
kernel-jbd.h Add 64bit option to known incompatible file system options 2009-10-25 22:16:19 -04:00
kernel-list.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
link.c Fix encoding for rec_len in directories for >= 64k blocksize file systems 2009-06-21 21:07:38 -04:00
llseek.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
lookup.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
mkdir.c Convert ext2fs_block_alloc_stats() calls to block_alloc_stats2() 2009-10-25 21:46:58 -04:00
mkjournal.c Convert ext2fs_block_alloc_stats() calls to block_alloc_stats2() 2009-10-25 21:46:58 -04:00
namei.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
native.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
newdir.c Fix encoding for rec_len in directories for >= 64k blocksize file systems 2009-06-21 21:07:38 -04:00
nt_io.c remove useless if-before-free tests 2009-03-08 20:37:12 -04:00
openfs.c libext2fs: Byte-swap 64-bit block group descriptors 2009-10-25 21:46:01 -04:00
progress.c libext2fs: create generic numeric progress meters and use them 2009-08-23 19:20:03 -04:00
read_bb.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
read_bb_file.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
res_gdt.c libext2fs: initialize large inodes for journal & resize 2009-06-17 19:49:00 -04:00
rw_bitmaps.c Convert to use block group accessor functions 2009-10-25 21:43:47 -04:00
sparse.c Add support for on-line resizing ala the resize inode. This patch 2004-12-15 14:39:16 -05:00
swapfs.c Merge branch 'maint' into next 2009-11-16 00:30:57 -05:00
tdb.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tdb.h Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tdbtool.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
test_io.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tst_badblocks.c Merge branch 'maint' into next 2009-10-04 20:40:46 -04:00
tst_bitops.c libext2fs: Add 64-bit bitops 2009-06-01 16:15:40 -04:00
tst_byteswap.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tst_getsectsize.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tst_getsize.c libext2fs: Add error table initialization to test programs 2009-09-08 21:33:03 -04:00
tst_iscan.c Convert to use block group accessor functions 2009-10-25 21:43:47 -04:00
tst_super_size.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
tst_types.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
undo_io.c Convert to use io_channel_read_blk64() and io_channel_write_blk64() 2009-09-07 21:14:24 -04:00
unix_io.c unix_io: check for read-only devices when opening R/W 2008-10-12 23:12:22 -04:00
unlink.c Remove trailing whitespace for the entire source tree 2008-08-27 23:07:54 -04:00
valid_blk.c Use ext2fs_file_acl_block() instead of using .i_file_acl directly 2009-09-07 22:29:45 -04:00
version.c Stop after the second '.' when parsing version numbers 2007-07-08 12:37:13 -04:00
write_bb_file.c Fix signed vs unsigned printf format strings for block and inode numbers 2006-09-12 14:56:15 -04:00