Looks like a bug in the 7300 disk driver

Karl Fox karl at mstar.UUCP
Wed Jan 11 01:38:27 AEST 1989


Come on, folks!  If you provide a 4-byte buffer to read, it is a BUG to
write 512 bytes to it!  Sure, the raw disk device has size limitations,
but it should never round up.  The driver should probably return EINVAL
if the size isn't a multiple of 512.
-- 
Karl Fox, Morning Star Technologies
UUCP:     osu-cis!mstar!karl -or- pyramid!mstar!karl -or- sequent!mstar!karl
Internet: osu-cis!mstar!karl at tut.cis.ohio-state.edu



More information about the Unix-pc.general mailing list