/[base]
ViewVC logotype

Revision 310850


Jump to revision: Previous Next
Author: tsoome
Date: Fri Dec 30 19:06:29 2016 UTC (7 years, 6 months ago)
Changed paths: 30
Log Message:
dosfs support in libstand is broken since r298230

Apparently the libstand dosfs optimization is a bit too optimistic
and did introduce possible memory corruption.

This patch is backing out the bad part and since this results in
dosfs reading full blocks now, we can also remove extra offset argument
from dv_strategy callback.

The analysis of the issue and the backout patch is provided by Mikhail Kupchik.

PR:		214423
Submitted by:	Mikhail Kupchik
Reported by:	Mikhail Kupchik
Reviewed by:	bapt, allanjude
Approved by:	allanjude (mentor)
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D8644


Changed paths

Path Details
Directoryhead/lib/libstand/cd9660.c modified , text changed
Directoryhead/lib/libstand/dosfs.c modified , text changed
Directoryhead/lib/libstand/ext2fs.c modified , text changed
Directoryhead/lib/libstand/nandfs.c modified , text changed
Directoryhead/lib/libstand/read.c modified , text changed
Directoryhead/lib/libstand/stand.h modified , text changed
Directoryhead/lib/libstand/ufs.c modified , text changed
Directoryhead/lib/libstand/write.c modified , text changed
Directoryhead/sys/boot/common/bcache.c modified , text changed
Directoryhead/sys/boot/common/bootstrap.h modified , text changed
Directoryhead/sys/boot/common/disk.c modified , text changed
Directoryhead/sys/boot/common/md.c modified , text changed
Directoryhead/sys/boot/efi/libefi/efipart.c modified , text changed
Directoryhead/sys/boot/i386/libfirewire/firewire.c modified , text changed
Directoryhead/sys/boot/i386/libi386/bioscd.c modified , text changed
Directoryhead/sys/boot/i386/libi386/biosdisk.c modified , text changed
Directoryhead/sys/boot/i386/libi386/pxe.c modified , text changed
Directoryhead/sys/boot/mips/beri/loader/beri_disk_cfi.c modified , text changed
Directoryhead/sys/boot/mips/beri/loader/beri_disk_sdcard.c modified , text changed
Directoryhead/sys/boot/ofw/libofw/ofw_disk.c modified , text changed
Directoryhead/sys/boot/pc98/libpc98/bioscd.c modified , text changed
Directoryhead/sys/boot/pc98/libpc98/biosdisk.c modified , text changed
Directoryhead/sys/boot/powerpc/kboot/hostdisk.c modified , text changed
Directoryhead/sys/boot/powerpc/ps3/ps3cdrom.c modified , text changed
Directoryhead/sys/boot/powerpc/ps3/ps3disk.c modified , text changed
Directoryhead/sys/boot/uboot/lib/disk.c modified , text changed
Directoryhead/sys/boot/usb/storage/umass_loader.c modified , text changed
Directoryhead/sys/boot/userboot/userboot/host.c modified , text changed
Directoryhead/sys/boot/userboot/userboot/userboot_disk.c modified , text changed
Directoryhead/sys/boot/zfs/zfs.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27