From: Andrew Morton Date: Tue, 2 Aug 2011 10:43:50 +0000 (+0200) Subject: drivers/cdrom/cdrom.c: relax check on dvd manufacturer value X-Git-Tag: v3.1-rc3~9^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aec9f377e4f235c47e27fd8a429555dfa2dda342;p=pandora-kernel.git drivers/cdrom/cdrom.c: relax check on dvd manufacturer value The report has an ISO which has a very long manufacturer ID. It seems that Linux is wrong, not the ISO maker. Relax the check for the length of this field: emit a warning and truncate the incoming data to 2048 bytes rather than rejecting the entire thing. dvd_manufact.value isn't null-terminated. I'm not even sure if it's a string. The kernel doesn't apepar to use it anyway. Addresses https://bugzilla.kernel.org/show_bug.cgi?id=39062 Reported-by: Tested-by: Cc: Jens Axboe Signed-off-by: Andrew Morton Signed-off-by: Jens Axboe --- Reading git-diff-tree failed