]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
The report has an ISO which has a very long manufacturer ID. It seems
authorAndrew Morton <akpm@linux-foundation.org>
Tue, 26 Jul 2011 10:14:49 +0000 (20:14 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Aug 2011 05:14:23 +0000 (15:14 +1000)
commit89a2e7cc37ae27c8d23da89d7fcfa89bf2716040
treecff38359e2e283ec6f8cc11ee787bd323d75b01f
parent61cfe95e5a3f7c27b93480680781309165e6c67f
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: <ale.goujon@gmail.com>
Tested-by: <ale.goujon@gmail.com>
Cc: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/cdrom/cdrom.c