[ext2resize] Re: possible overflow bug in ext2_block_iterate()
Status: Inactive
Brought to you by:
adilger
From: Coywolf Qi H. <co...@gm...> - 2005-12-21 08:45:19
|
2005/12/21, Coywolf Qi Hunt <co...@gm...>: > Hello, > > In ext2.c::ext2_block_iterate(), there is "int count"; but i_blocks is > u32. count overflows when (i_blocks >=3D 1 << 31). I'd fix count to u64. > Comments? Ignore it. No problem, no overflow for now, since we don't handle triple-indirect blocks. > > > -- coywolf > |