FreeBSD Bugzilla – Attachment 9768 Details for
Bug 19865
atapi-cd.c does not check CDIOCREADSUBCHANNEL data format
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 823 bytes, created by
Yves Jaeger
on 2000-07-12 11:50:03 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Yves Jaeger
Created:
2000-07-12 11:50:03 UTC
Size:
823 bytes
patch
obsolete
>*** atapi-cd.c.orig Mon Jul 10 13:52:23 2000 >--- atapi-cd.c Mon Jul 10 13:57:24 2000 >*************** >*** 751,756 **** >--- 751,762 ---- > u_long len = args->data_len; > int abslba, rellba; > >+ /* the following 4 lines are inserted by yves jaeger on >jul 9, 2000 */ >+ /* currently supported is only the data_format >CD_CURRENT_POSITION */ >+ /* TODO: support other values for >data_format */ >+ if (args->data_format != CD_CURRENT_POSITION) >+ return (EINVAL); >+ > if (len > sizeof(data) || > len < sizeof(struct cd_sub_channel_header)) > return EINVAL;
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 19865
: 9768