Bug 1246808

Summary: Discovered error in option parsing code in audio-entropyd
Product: [Fedora] Fedora Reporter: stan <gryt2>
Component: audio-entropydAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: tcallawa
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: audio-entropyd-2.0.3-10.fc21 audio-entropyd-2.0.3-10.fc22 audio-entropyd-2.0.3-10.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-26 13:19:39 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:
Attachments:
Description Flags
This is a patch that fixes this error in audio-entropyd.c none

Description stan 2015-07-26 00:39:21 UTC
Created attachment 1056163 [details]
This is a patch that fixes this error in audio-entropyd.c

Description of problem:
I was using the option parsing code from audio-entropyd in another program, and found that when a short option with an argument was used in the configuration file, it failed.  Turns out it is because strtoken is destructive of the line.  But it will work for long options with =, and short options without argument.

Version-Release number of selected component (if applicable):
audio-entropyd-2.0.3-9.fc23.src.rpm, all current versions.

How reproducible:
Every time if the conditions are hit.

Steps to Reproduce:
1.  Install audio-entropyd
2.  Use a short configuration in the configuration file, with an argument.
3.  

Actual results:
Option won't be set.

Expected results:
Option is set.

Additional info:

Comment 1 Fedora Update System 2015-09-30 17:57:45 UTC
audio-entropyd-2.0.3-10.fc21 has been submitted as an update to Fedora 21. https://bodhi.fedoraproject.org/updates/FEDORA-2015-ea9920d90d

Comment 2 Fedora Update System 2015-09-30 17:57:52 UTC
audio-entropyd-2.0.3-10.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-8ac4e874b2

Comment 3 Fedora Update System 2015-10-01 23:53:22 UTC
audio-entropyd-2.0.3-10.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update audio-entropyd'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-8ac4e874b2

Comment 4 Fedora Update System 2015-10-02 01:49:13 UTC
audio-entropyd-2.0.3-10.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update audio-entropyd'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-8ac4e874b2

Comment 5 Fedora Update System 2015-10-04 01:37:36 UTC
audio-entropyd-2.0.3-10.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update audio-entropyd'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-7c88f180f0

Comment 6 Fedora Update System 2015-10-04 02:21:21 UTC
audio-entropyd-2.0.3-10.fc21 has been pushed to the Fedora 21 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update audio-entropyd'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-ea9920d90d

Comment 7 Fedora Update System 2015-10-26 13:19:37 UTC
audio-entropyd-2.0.3-10.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2015-10-26 13:24:25 UTC
audio-entropyd-2.0.3-10.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2015-11-01 02:48:03 UTC
audio-entropyd-2.0.3-10.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.