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.
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.