[parted-devel] [PATCH 0/2] Prevent crash resizing FAT with very deep directories

Mike Fleetwood mike.fleetwood at googlemail.com
Sun Feb 28 15:36:09 UTC 2016


Hi,

Here's a fix for libparted-fs-resize crashing when resizing a FAT file
system with a deep directory tree with names over 512 bytes long.
Original reporter was using GParted to check and resize a FAT file
system created on his Android phone.  The phone was running CyanogenMod
and the Filemanager app had created a very deep directory tree leading
to a core dump.

Bug 762448 - Check FAT32 fs crashes GParted
https://bugzilla.gnome.org/show_bug.cgi?id=762448

Thanks,
Mike

Mike Fleetwood (2):
  lib-fs-resize: Prevent crash resizing FAT with very deep directories
  tests: t3000-resize-fs.sh: Add very deep directory

 NEWS                       |    3 +++
 libparted/fs/r/fat/count.c |    2 +-
 tests/t3000-resize-fs.sh   |   16 ++++++++++++++++
 3 files changed, 20 insertions(+), 1 deletions(-)




More information about the parted-devel mailing list