Changed the default pass through transfer length for non-media access commands to 65534 bytes instead of 8192, just in case someone tries to use a disc with an abnormal number of tracks.
This commit is contained in:
@@ -524,7 +524,7 @@ static int ioctl_get_block_length(uint8_t id, const UCHAR *cdb, int number_of_bl
|
||||
|
||||
if (no_length_check)
|
||||
{
|
||||
return 8192;
|
||||
return 65534;
|
||||
}
|
||||
|
||||
switch (cdb[0])
|
||||
@@ -590,7 +590,7 @@ common_handler:
|
||||
break;
|
||||
default:
|
||||
/* Other commands */
|
||||
return 8192;
|
||||
return 65534;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user