Projects
Multimedia
libmp3splt
libmp3splt-fix_array_oob.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libmp3splt-fix_array_oob.patch of Package libmp3splt (Revision 2)
Currently displaying revision
2
,
Show latest
--- plugins/mp3.c.orig 2011-05-11 22:42:49.000000000 +0200 +++ plugins/mp3.c 2011-05-11 22:44:02.000000000 +0200 @@ -3324,6 +3324,7 @@ while ((j<2048) && ((c = fgetc(mp3state->file_input))!='[')) if (c!='.') junk[j++] = c; else k = j; + if (j >= 2048) j = 2047; junk[j] = '\0'; begin = (off_t) atol (junk); k = j - k; @@ -3407,6 +3408,7 @@ while ((j<2048) && ((c = fgetc(mp3state->file_input))!='[')) if (c!='.') junk[j++] = c; else k = j; + if (j >= 2048) j = 2047; junk[j] = '\0'; end = (off_t) atol (junk); k = j - k;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.