Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
timidity
timidity-readmidi-zero-division-fix.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File timidity-readmidi-zero-division-fix.patch of Package timidity
From: Takashi Iwai <tiwai@suse.de> Subject: readmidi: Fix division by zero References: CVE-2017-11546 An adhoc fix for division by zero in insert_note_steps(). Signed-off-by: Takashi Iwai <tiwai@suse.de> --- timidity/readmidi.c | 2 ++ 1 file changed, 2 insertions(+) --- a/timidity/readmidi.c +++ b/timidity/readmidi.c @@ -4585,6 +4585,8 @@ static void insert_note_steps(void) if (beat != 0) meas++, beat = 0; num = timesig[n].a, denom = timesig[n].b, n++; + if (!denom) + denom = 1; } a = (meas + 1) & 0xff; b = (((meas + 1) >> 8) & 0x0f) + ((beat + 1) << 4);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor