FreeBSD Bugzilla – Attachment 14173 Details for
Bug 26647
[PATCH] ATA/ATAPI driver should check for too high track numbers for CDIOCPLAYTRACKS
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 617 bytes, created by
un1i
on 2001-04-17 16:00:12 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
un1i
Created:
2001-04-17 16:00:12 UTC
Size:
617 bytes
patch
obsolete
>Index: atapi-cd.c >=================================================================== >RCS file: /ncvs/src/sys/dev/ata/atapi-cd.c,v >retrieving revision 1.88 >diff -u -r1.88 atapi-cd.c >--- atapi-cd.c 2001/04/05 11:17:33 1.88 >+++ atapi-cd.c 2001/04/17 14:00:05 >@@ -801,7 +801,8 @@ > args->end_track = cdp->toc.hdr.ending_track + 1; > t1 = args->start_track - cdp->toc.hdr.starting_track; > t2 = args->end_track - cdp->toc.hdr.starting_track; >- if (t1 < 0 || t2 < 0) { >+ if (t1 < 0 || t2 < 0 || t1 > (cdp->toc.hdr.ending_track - >+ cdp->toc.hdr.starting_track)) { > error = EINVAL; > break; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 26647
: 14173