Bug 1185268 - vorbis-tools: division by zero in oggenc / opusenc
Summary: vorbis-tools: division by zero in oggenc / opusenc
Keywords:
Status: CLOSED DUPLICATE of bug 1184448
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1184452 1185274
Blocks: 1185273
TreeView+ depends on / blocked
 
Reported: 2015-01-23 10:54 UTC by Vasyl Kaigorodov
Modified: 2019-09-29 13:27 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-01-23 11:24:48 UTC
Embargoed:


Attachments (Terms of Use)
crash_div_zero.wav (532 bytes, audio/x-wav)
2015-01-23 11:02 UTC, Vasyl Kaigorodov
no flags Details

Description Vasyl Kaigorodov 2015-01-23 10:54:46 UTC
It was reported [1] that a crafted WAV file with number of channels set to 0 will cause oggenc and opusenc to crash due to a division by zero issue at :

Stopped reason: SIGFPE 0x0804d497 in wav_open (in=0x805c368, opt=0xbffff2ec, oldbuf=0x805c4d0 "RIFF\f\002", buflen=0xc) at audio.c:552 552 opt->total_samples_per_channel = len/(format.channels*samplesize);

The upstream patches are most likely these:
https://trac.xiph.org/changeset/19423/
https://trac.xiph.org/changeset/19422/

[1]: https://trac.xiph.org/ticket/2137

Comment 1 Vasyl Kaigorodov 2015-01-23 11:02:14 UTC
Created attachment 983301 [details]
crash_div_zero.wav

Comment 2 Kamil Dudka 2015-01-23 11:06:57 UTC
Is this a duplicate of bug #11184448?

Comment 3 Kamil Dudka 2015-01-23 11:07:46 UTC
I meant bug #1184448.

Comment 4 Vasyl Kaigorodov 2015-01-23 11:08:34 UTC
Created vorbis-tools tracking bugs for this issue:

Affects: fedora-all [bug 1185274]

Comment 5 Vasyl Kaigorodov 2015-01-23 11:24:48 UTC
(In reply to Kamil Dudka from comment #3)
> I meant bug #1184448.

This one too. My fault - did not check if these were filed already or not.
Sorry again.

*** This bug has been marked as a duplicate of bug 1184448 ***


Note You need to log in before you can comment on or make changes to this bug.