Bug 1497837
Summary: | ht://Dig fails with SIGSEGV on execution of 'rundig -v' which is a wrapper for htdig. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Richard Schaal <rschaal.95135> | ||||
Component: | htdig | Assignee: | Petr Menšík <pemensik> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 26 | CC: | pemensik, thozza | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | htdig-3.2.0-0.28.b6.fc26 htdig-3.2.0-0.30.b6.fc27 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-02-06 10:47:26 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: |
|
Hi, thanks for the fix. But I did not test it properly. You are absolutely right, I did not considered NULL value as valid input. Thanks for the patch! Sorry for the delay. htdig-3.2.0-0.28.b6.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2018-fe049e5032 htdig-3.2.0-0.30.b6.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7dfb598e7b htdig-3.2.0-0.30.b6.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7dfb598e7b htdig-3.2.0-0.28.b6.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-fe049e5032 htdig-3.2.0-0.28.b6.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report. htdig-3.2.0-0.30.b6.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. htdig-3.2.0-0.30.b6.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 1333449 [details] Patch file applied to source during rpmbuild Description of problem: SIGSEGV can occur in two locations in htdig/Parseable.cc where a NULL pointer is dereferenced. These locations were apparently recently tweaked in order to get the updated compiler to accept the code, but a slightly wider inspection window shows that the pointer had to be NULL in order to ever exit the subroutine. Version-Release number of selected component (if applicable): htdig-3.2.0-0.27.b6.fc26.x86_64.rpm How reproducible: - Rock solid Steps to Reproduce: 1. Install htdig 2. run rundig 3. Actual results: rundig fails complaining of segment violation. Expected results: htdig should start a "crawl and parse" based on the configuration Additional info: Attached is the patch file that I altered to fix the issue. This should replace the file of the same name.