aboutsummaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorPhillip Susi <[email protected]>2006-02-04 23:27:44 -0800
committerLinus Torvalds <[email protected]>2006-02-05 11:06:52 -0800
commita460ad62260def15c42130de253d6cfc32528a2f (patch)
tree6fd5b90db456ae6a333a224b8c1c975474bb3c27 /scripts/basic
parentbd576c9523fbf23e94fb7dbe05d2ae1cf96864e4 (diff)
[PATCH] pktcdvd: Fix overflow for discs with large packets
The pktcdvd driver was using an 8 bit field to store the packet length obtained from the disc track info. This causes it to overflow packet length values of 128KB or more. I changed the field to 32 bits to fix this. The pktcdvd driver defaulted to its maximum allowed packet length when it detected a 0 in the track info field. I changed this to fail the operation and refuse to access the media. This seems more sane than attempting to access it with a value that almost certainly will not work. Signed-off-by: Peter Osterlund <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions