Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 275755 Details for
Bug 369981
dev-libs/libusb-0.12.X memory corruption
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that fixes the memory corruption
libusb_memset_altsetting_alloc.patch (text/plain), 394 bytes, created by
Nicolas Dufresne
on 2011-06-03 23:13:42 UTC
(
hide
)
Description:
Patch that fixes the memory corruption
Filename:
MIME Type:
Creator:
Nicolas Dufresne
Created:
2011-06-03 23:13:42 UTC
Size:
394 bytes
patch
obsolete
>=== modified file 'descriptors.c' >--- descriptors.c 2006-02-18 00:28:19 +0000 >+++ descriptors.c 2010-05-31 07:59:53 +0000 >@@ -176,6 +176,9 @@ > return -1; > } > >+ memset(interface->altsetting, 0, sizeof(struct usb_interface_descriptor) * >+ (interface->num_altsetting + 1)); >+ > ifp = interface->altsetting + interface->num_altsetting; > interface->num_altsetting++; > >
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 369981
:
275755