commit | 1cca4d60367c89bcdeb2ee6f1d54ab6f393f289d | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Sat May 05 05:12:14 2001 +0000 |
committer | Theodore Ts'o <tytso@mit.edu> | Sat May 05 05:12:14 2001 +0000 |
tree | bee7c9ce61a92b88b6f1bf427d33563a292c66aa | |
parent | 0edb4d8504afc08c48ce7f30b670a2a7e27db7bc [diff] |
ChangeLog, dirblock.c: dirblock.c (ext2fs_read_dir_block): Check for an directory record length which isn't a multiple four, and treat that as an invalid. Scan the directory and return an error (EXT2_ET_DIR_CORRUPTED) if the directory records are orrupted. (ext2fs_write_dir_block): If while byte-swapping the directory block, if there's an error, abort and return EXT2_ET_DIR_CORRUPTED.