]> git.karo-electronics.de Git - karo-tx-linux.git/commit
cdrom: fix bad cgc.buflen assignment (CVE-2006-2935)
authorJens Axboe <axboe@suse.de>
Fri, 18 Aug 2006 19:42:43 +0000 (21:42 +0200)
committerAdrian Bunk <bunk@stusta.de>
Fri, 18 Aug 2006 19:42:43 +0000 (21:42 +0200)
commitc1df7b7181ae16b4ec44a0b1e1bdf67f5a06f17e
treef39aa905ad7cb26fffadb6127be6b9817ccf36fd
parent3cfd644882784276280c07ad4b9eb086fa44222f
cdrom: fix bad cgc.buflen assignment (CVE-2006-2935)

The code really means to mask off the high bits, not assign 0xff.

Reported by Marcus Meissner <meissner@suse.de>.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/cdrom/cdrom.c