diff options
author | tmm <tmm@FreeBSD.org> | 2001-07-29 21:01:13 +0000 |
---|---|---|
committer | tmm <tmm@FreeBSD.org> | 2001-07-29 21:01:13 +0000 |
commit | 15b6c360f7f4a7b51164181d9df88801fc1e9256 (patch) | |
tree | 0ad6965063ec24a37679d9b7483ff3287799fd0d /usr.bin | |
parent | 6b3146187fdc1c90923517f5472877524da924d3 (diff) | |
download | FreeBSD-src-15b6c360f7f4a7b51164181d9df88801fc1e9256.zip FreeBSD-src-15b6c360f7f4a7b51164181d9df88801fc1e9256.tar.gz |
Disallow ATAPI CD transfers that are not a multiple of the device block
size (previously, the transfer size would be rounded up to a multiple of
the block size, which would overflow the buffer).
This fixes panics when doing things like trying to mount audio CD's.
PR: kern/21946
Review Timeout: sos
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions