On Fri, Jun 12, 2009 at 09:04:32AM -0700, number9652 wrote: > > ext2fs_validate_entry would read beyond the end of the block to get dirent->rec_len for certain arguments (like if blocksize == final_offset). This patch adds a check so that doesn't happen, and changes the types of the arguments to avoid a compiler warning. > > Signed-off-by: Nic Case <number9652@xxxxxxxxx> Applied. In the future, please line-wrap the body of the commit message at 72-75 characters. I also lined up the arguments to ext2fs_validate_entry on the continuation line, and used a CPP macro instead of an automatic variable for dirent_min_length. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html