summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorMike Fleetwood <mike.fleetwood@googlemail.com>2016-02-28 15:36:10 +0000
committerBrian C. Lane <bcl@redhat.com>2016-03-07 09:25:17 -0800
commit6242ad71d855be62d99ec345e52393be86ca9900 (patch)
tree3b98ef0d2ba7aab163e308a5f9cea269f3af7248 /NEWS
parent8c6de55e4375bd63ae0d0dc7dd7104a7c2290cac (diff)
downloadparted-6242ad71d855be62d99ec345e52393be86ca9900.tar.gz
lib-fs-resize: Prevent crash resizing FAT with very deep directories
Resizing a FAT file system crashes in libparted/fs/r/fat/count.c flag_traverse_dir() if the length of any path name in the file system overflows the 512 byte file_name local buffer. Increase buffer to 4096, PATH_MAX on Linux. Reported in https://bugzilla.gnome.org/show_bug.cgi?id=762448 Signed-off-by: Brian C. Lane <bcl@redhat.com>
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 96135ed..d7483b8 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,9 @@ GNU parted NEWS -*- outline -*-
** Bug Fixes
+ libparted-fs-resize: Prevent crash resizing FAT file systems with very
+ deep directories with path names over 512 bytes long.
+
Use 512b sector size when communicating with device-mapper. Fixes
problems with partitions being created too small on dm devices
with sector sizes > 5121b