RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1569426 - oggenc crashes when encoding pcm from stdin
Summary: oggenc crashes when encoding pcm from stdin
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: vorbis-tools
Version: 7.5
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Kamil Dudka
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On: 1185558
Blocks: CVE-2014-9640 1549689
TreeView+ depends on / blocked
 
Reported: 2018-04-19 09:23 UTC by Zdenek Pytela
Modified: 2021-12-10 15:59 UTC (History)
7 users (show)

Fixed In Version: vorbis-tools-1.4.0-13.el7
Doc Type: No Doc Update
Doc Text:
undefined
Clone Of: 1185558
Environment:
Last Closed: 2018-10-30 08:09:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3418301 0 None None None 2018-04-19 09:42:14 UTC
Red Hat Product Errata RHBA-2018:3075 0 None None None 2018-10-30 08:09:29 UTC

Description Zdenek Pytela 2018-04-19 09:23:57 UTC
+++ This bug was initially created as a clone of Bug #1185558 +++

Description of problem:

When encoding raw pcm data from a pipe, oggenc crashes when it reaches the end of the input data.

Version-Release number of selected component (if applicable):

vorbis-tools-1.4.0-12.el7.x86_64

How reproducible:

always

Steps to Reproduce:
$ ulimit -c unlimited
$ dd if=/dev/zero bs=1024 count=100000 status=none | oggenc -r -o test.ogg -

Actual results:
Encoding standard input to 
         "test.ogg" 
at quality 3.00
        Encoding [ 0m04s so far] \ 

Done encoding file "test.ogg"

        File length:  9m 40.0s
        Elapsed time: 0m 04.4s
        Rate:         131.5533
        Average bitrate: 0.7 kb/s

Segmentation fault (core dumped)
$

Expected results:
no segfault

Additional info:

The above test command is only meant to demonstrate the problem. In reality, the data to encode is produced by the sox command like this:

/usr/bin/sox -t ul -b 8 -r 8000 -c 1 track01.raw -b 16 -t wav - | /usr/bin/oggenc  -Q -R 8000 -B 16 -C 1 - -o track01.ogg

The same bug seems to be fixed in F27 with vorbis-tools-1.4.0-26.fc27.x86_64.

Comment 8 errata-xmlrpc 2018-10-30 08:09:17 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3075


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