[parted-devel] [PATCH 0/3] Prevent crash resizing FAT16 file systems

Mike Fleetwood mike.fleetwood at googlemail.com
Sun Sep 28 15:15:47 UTC 2014


Hi,

Here's a fix for libparted-fs-resize crashing when it resizes FAT16 file
systems.  Adds resize FAT16 test to existing resize FS test case to
prevent it from happening again.  Also does a tidyup on the test case.
Original reporter was using GPared:

Bug 735669 - GParted crashes resizing fat16 file system
https://bugzilla.gnome.org/show_bug.cgi?id=735669

New test detects the failure and passes with the fix applied.  Tested
using 1) cd tests && sudo make check; and 2) GParted.

Thanks,
Mike

Mike Fleetwood (3):
  lib-fs-resize: Prevent crash resizing FAT16 file systems
  tests: t3000-resize-fs.sh: Add FAT16 resizing test
  tests: t3000-resize-fs.sh: Add requirement on mkfs.vfat

 NEWS                        |    4 ++++
 libparted/fs/r/fat/resize.c |   12 +++++++++---
 tests/t-lib-helpers.sh      |    8 +++++++-
 tests/t3000-resize-fs.sh    |   21 ++++++++++++++++-----
 4 files changed, 36 insertions(+), 9 deletions(-)




More information about the parted-devel mailing list