]> git.hungrycats.org Git - linux/commit
[PATCH] cdrom buffer too small
authorJens Axboe <axboe@suse.de>
Thu, 20 Mar 2003 14:01:46 +0000 (06:01 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Thu, 20 Mar 2003 14:01:46 +0000 (06:01 -0800)
commit5b87896327ac878ea88ff2067dd4a7d5d13953a1
tree661dabadc5cb779a6744ac19d7c001eaae321a87
parenta50f92a6bc3b75e01012e27a56a7a7a76bba7c85
[PATCH] cdrom buffer too small

dvd_read_physical() uses a 20 char buffer to read in the dvd structure,
however the size is really 4 bytes header + 17 bytes body so layer->bca
ends up containing garbage. Kudos to the nice folks who made it a non
multiple of 4 bytes.
drivers/cdrom/cdrom.c