Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 46631 Details for
Bug 74475
media-libs/xine-lib: open_aiff_file overflows buffer
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
CAN-2004-1300.patch
djb_demux_aiff.patch (text/plain), 991 bytes, created by
Thierry Carrez (RETIRED)
on 2004-12-22 07:45:11 UTC
(
hide
)
Description:
CAN-2004-1300.patch
Filename:
MIME Type:
Creator:
Thierry Carrez (RETIRED)
Created:
2004-12-22 07:45:11 UTC
Size:
991 bytes
patch
obsolete
>=================================================================== >RCS file: /cvsroot/xine/xine-lib/src/demuxers/demux_aiff.c,v >retrieving revision 1.39 >retrieving revision 1.40 >diff -u -r1.39 -r1.40 >--- xine/xine-lib/src/demuxers/demux_aiff.c 2004/06/13 21:28:52 1.39 >+++ xine/xine-lib/src/demuxers/demux_aiff.c 2004/12/15 21:03:02 1.40 >@@ -21,7 +21,7 @@ > /* > * AIFF File Demuxer by Mike Melanson (melanson@pcisys.net) > * >- * $Id: demux_aiff.c,v 1.39 2004/06/13 21:28:52 miguelfreitas Exp $ >+ * $Id: demux_aiff.c,v 1.40 2004/12/15 21:03:02 mroi Exp $ > * > */ > >@@ -120,6 +120,12 @@ > } > chunk_type = BE_32(&preamble[0]); > chunk_size = BE_32(&preamble[4]); >+ >+ if (chunk_size > sizeof(buffer) / sizeof(buffer[0])) { >+ /* the chunk is too large to fit in the buffer -> this cannot be an aiff chunk */ >+ this->status = DEMUX_FINISHED; >+ return 0; >+ } > > if (chunk_type == COMM_TAG) { > if (this->input->read(this->input, buffer, chunk_size) !=
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 74475
:
46028
| 46631