Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 261551 Details for
Bug 339451
app-misc/rioutil _FORTIFY_SOURCE indicates presence of overflow
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Really fix buffer overflow
rioutil-1.5.0-overflow.patch (text/plain), 515 bytes, created by
Kevin McCarthy (RETIRED)
on 2011-02-05 01:15:55 UTC
(
hide
)
Description:
Really fix buffer overflow
Filename:
MIME Type:
Creator:
Kevin McCarthy (RETIRED)
Created:
2011-02-05 01:15:55 UTC
Size:
515 bytes
patch
obsolete
>flist->genre is defined as 'char genre[17]' so don't copy 22 into it > >Patch by Kevin McCarthy <signals42@gmail.com> > >--- librioutil/file_list.c >+++ librioutil/file_list.c >@@ -241,7 +241,7 @@ > strncpy(flist->title, info.data->title, 64); > strncpy(flist->album, info.data->album, 64); > strncpy(flist->name, info.data->name, 64); >- strncpy(flist->genre, (char *)info.data->genre2, 22); >+ strncpy(flist->genre, (char *)info.data->genre2, 17); > > strncpy(flist->year, (char *)info.data->year2, 4); >
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 339451
:
249289
|
261550
| 261551