Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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

Summary: oggenc crashes when encoding pcm from stdin
Product: Red Hat Enterprise Linux 7 Reporter: Zdenek Pytela <zpytela>
Component: vorbis-toolsAssignee: Kamil Dudka <kdudka>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.5CC: bugreporter1, extras-qa, hdegoede, jkoten, kdudka, thomas, tpelka
Target Milestone: rcKeywords: EasyFix
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: vorbis-tools-1.4.0-13.el7 Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: 1185558 Environment:
Last Closed: 2018-10-30 08:09:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1185558    
Bug Blocks: 1185272, 1549689    

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