Public bug reported:
--- ./libparted/fs/fat/resize.c 2015-09-26 22:51:57.000000000 -0700
+++ ../../libparted/parted-2.3/libparted/fs/fat/resize.c 2015-09-26
22:34:31.527662469 -0700
@@ -667,10 +667,8 @@
goto error_free_new_fs;
/* preserve boot code, etc. */
- memcpy (&new_fs_info->boot_sector, &fs_info->boot_sector,
- sizeof (FatBootSector));
- memcpy (&new_fs_info->info_sector, &fs_info->info_sector,
- sizeof (FatInfoSector));
+ new_fs_info->boot_sector = fs_info->boot_sector;
+ new_fs_info->info_sector = fs_info->info_sector;
new_fs_info->logical_sector_size = fs_info->logical_sector_size;
new_fs_info->sector_count = new_geom->length;
** Affects: parted (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1500142
Title:
Invalid read of size 8 in fat_resize()
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1500142/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs