summaryrefslogtreecommitdiffstats
path: root/package/dosfstools/0001-mkfs-Default-to-64-32-heads-sectors-for-targets-smalle.patch
Commit message (Collapse)AuthorAgeFilesLines
* package/dosfstools: bump version to 4.1Bernd Kuhls2017-05-261-42/+0
| | | | | | | | | | | | | Removed patches applied upstream: 0001-mkfs-Default-to-64-32-heads-sectors-for-targets-smalle.patch https://github.com/dosfstools/dosfstools/commit/1e76e5778a1885452939a79d9145b80634a5b023 0002-src-device_info.c-Fix-undefined-PATH_MAX-under-musl.patch https://github.com/dosfstools/dosfstools/commit/69ac2b0706ff01ea7a8b6efd9f9efa2481895261 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* dosfstools: security bump to version 4.0Gustavo Zacarias2016-05-311-0/+42
Fixes: CVE-2015-8872 - if the third to last entry was written on a FAT12 filesystem with an odd number of clusters, the second to last entry would be corrupted. This corruption may also lead to invalid memory accesses when the corrupted entry becomes out of bounds and is used late. CVE-2016-4804 - the variable used for storing the FAT size (in bytes) was an unsigned int. Since the size in sectors read from the BPB was not sufficiently checked, this could end up being zero after multiplying it with the sector size while some offsets still stayed excessive. Ultimately it would cause segfaults when accessing FAT entries for which no memory was allocated. Converted package to autotools infra to match upstream. The install options are now removals, enabled compatibilty symlinks and exec-prefix set to / to match previous install names/locations. Accounted for optional udev usage. Dropped musl compatibility patch since it's upstream. Add upstream patch to keep sectors a multiple of sectors per track since it makes mtools cranky. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
OpenPOWER on IntegriCloud