Whamcloud - gitweb
ChangeLog, dirblock.c:
authorTheodore Ts'o <tytso@mit.edu>
Sat, 5 May 2001 05:12:14 +0000 (05:12 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 5 May 2001 05:12:14 +0000 (05:12 +0000)
commit1cca4d60367c89bcdeb2ee6f1d54ab6f393f289d
treebee7c9ce61a92b88b6f1bf427d33563a292c66aa
parent0edb4d8504afc08c48ce7f30b670a2a7e27db7bc
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.
lib/ext2fs/ChangeLog
lib/ext2fs/dirblock.c