freebsd-skq/sys/fs/ext2fs
Pedro F. Giffuni 4cb92c4cf4 ext2_htree_release(): prevent signed integer overflow in a loop.
h_levels_num, as most data structs in ext2fs, is unsigned so
the index that addresses it has to be unsigned as well.

To get to overflow here we would probably be considering a
degenerate case though.

MFC after:	5 days
2016-04-23 18:28:59 +00:00
..
ext2_alloc.c ext2fs: replace 0 with NULL for pointers. 2016-04-11 00:12:24 +00:00
ext2_balloc.c ext2fs: use of tab vs spaces. 2014-02-28 21:25:32 +00:00
ext2_bmap.c Add four new RCTL resources - readbps, readiops, writebps and writeiops, 2016-04-07 04:23:25 +00:00
ext2_dinode.h Update superblock and inode structs for ext4. 2016-03-28 07:44:55 +00:00
ext2_dir.h ext2fs: Bring back the htree dir_index implementation. 2016-01-21 14:50:28 +00:00
ext2_extents.c Ext4: Use boolean type instead of '0' and '1' 2016-02-11 15:27:14 +00:00
ext2_extents.h Ext4: Use boolean type instead of '0' and '1' 2016-02-11 15:27:14 +00:00
ext2_extern.h ext2fs: Bring back the htree dir_index implementation. 2016-01-21 14:50:28 +00:00
ext2_hash.c ext2fs: Bring back the htree dir_index implementation. 2016-01-21 14:50:28 +00:00
ext2_htree.c ext2_htree_release(): prevent signed integer overflow in a loop. 2016-04-23 18:28:59 +00:00
ext2_inode_cnv.c Revert r294695: 2016-02-03 14:31:23 +00:00
ext2_inode.c Fix the build when INVARIANTS is defined by restoring bo's definition in 2015-01-19 07:10:08 +00:00
ext2_lookup.c sys: use our roundup2/rounddown2() macros when param.h is available. 2016-04-21 19:57:40 +00:00
ext2_mount.h ext2fs: use of tab vs spaces. 2014-02-28 21:25:32 +00:00
ext2_subr.c - Remove some dead code copied from ffs. 2015-07-29 03:06:08 +00:00
ext2_vfsops.c Fix comment. 2016-04-08 04:29:05 +00:00
ext2_vnops.c Ext2: cleanup setting of ctime/mtime/birthtime. 2016-02-19 15:53:08 +00:00
ext2fs.h Update superblock and inode structs for ext4. 2016-03-28 07:44:55 +00:00
fs.h ext2fs: use of tab vs spaces. 2014-02-28 21:25:32 +00:00
htree.h ext2fs: use of tab vs spaces. 2014-02-28 21:25:32 +00:00
inode.h ext2: rename some directory index constants. 2016-01-24 04:30:30 +00:00