[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cdi-devel] [PATCH 0/2] ext2: Duplicate filename fixes

The OS should really prevent this from even reaching the driver, but the driver
was crashing and you can always get corrupted filesystems from elsewhere, so
it's probably worth fixing herer, too.

Kevin Wolf (2):
  ext2: Handle duplicate dir entries gracefully in unlink
  ext2: Prevent creating second dir entry with same name

 ext2/libext2/directory.c         | 13 ++++++++++---
 ext2/libext2/include/directory.h |  2 +-
 ext2/res.c                       |  2 +-
 3 files changed, 12 insertions(+), 5 deletions(-)