Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 136933 Details for
Bug 200194
net-dialup/globespan-adsl-0.12: double free or corruption
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
globespan-adsl-0.11-pagesize.patch
globespan-adsl-0.11-pagesize.patch (text/plain), 669 bytes, created by
Jakub Moc (RETIRED)
on 2007-11-24 22:19:10 UTC
(
hide
)
Description:
globespan-adsl-0.11-pagesize.patch
Filename:
MIME Type:
Creator:
Jakub Moc (RETIRED)
Created:
2007-11-24 22:19:10 UTC
Size:
669 bytes
patch
obsolete
>--- eciadsl-usermode-0.11/pusb-linux.c.orig 2007-11-24 23:05:42.000000000 +0100 >+++ eciadsl-usermode-0.11/pusb-linux.c 2007-11-24 23:12:15.000000000 +0100 >@@ -29,7 +29,6 @@ > #include <string.h> > > #include "pusb-linux.h" >-#include <asm/page.h> > > struct pusb_endpoint_t > { >@@ -392,13 +391,18 @@ > { > struct usbdevfs_bulktransfer bulk; > int ret, received = 0; >+ static long pagesize = 0; >+ >+ if (pagesize == 0) >+ pagesize = sysconf(_SC_PAGESIZE); >+ > > do > { > bulk.ep = ep; > bulk.len = size; >- if (bulk.len > PAGE_SIZE) >- bulk.len = PAGE_SIZE; >+ if (size > pagesize) >+ bulk.len = pagesize; > bulk.timeout = timeout; > bulk.data = buf; >
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 200194
: 136933