Created attachment 1484671 [details] scan-results.html Please find attaches a Coverity Scan report of highlight 3.42. It contains some valid issues, including the one about DEADCODE, which is, from my point of view, a copy&paste error, because the line 3459| if (nextText == string::npos) should rather read: 3459| if (nextText2 == string::npos) because of: 3458| size_t nextText2 = line.find_first_not_of(" \t", nextText + 1); Another would be the MISSING_BREAK issue, which you can mute with a comment like this: /* Falls through */ These are only two examples, but there are surely more valid issues. I can try to help with it, if you wish, but I'm afraid I cannot test the changes properly, thus I created this bug report.
Hi Milan, highlight 3.44 is available at this moment. Can you please run this test against 3.44 and report this bug upstream? Thanks. http://www.andre-simon.de/doku/highlight/en/changelog.php
I'm not sure what the upstream is. `rpm -qi highlight` says: Bug URL : https://bugz.fedoraproject.org/highlight which basically lists bugs filled here. I'll re-run the test with newer version, I should do it immediately, I'm sorry I didn't.
Created attachment 1485237 [details] scan-results for 3.44-1 There are less defects reported in the recent version. See the attached log, please.
Upstream bug report: https://gitlab.com/saalen/highlight/issues/82
(In reply to Filipe Rosset from comment #4) > Upstream bug report: https://gitlab.com/saalen/highlight/issues/82 Ah, thanks for upstreaming this. Feel free to close this and get any fixes once they are officially released. My offer to help with the fix still applies, just let me know if you'd like me to provide any patch (I want to avoid work duplication, in case anybody else would like to work on this).
(In reply to Milan Crha from comment #5) > (In reply to Filipe Rosset from comment #4) > > Upstream bug report: https://gitlab.com/saalen/highlight/issues/82 > > Ah, thanks for upstreaming this. Feel free to close this and get any fixes > once they are officially released. > > My offer to help with the fix still applies, just let me know if you'd like > me to provide any patch (I want to avoid work duplication, in case anybody > else would like to work on this). great, the best option is to send patches upstream
highlight-3.47-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-6435f89651
highlight-3.47-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-845c2b9bc6
highlight-3.47-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-210c4be57e
highlight-3.47-1.fc28 has been pushed to the Fedora 28 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-210c4be57e
highlight-3.47-1.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-845c2b9bc6
highlight-3.47-1.fc29 has been pushed to the Fedora 29 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-6435f89651
highlight-3.47-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.
highlight-3.47-1.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
highlight-3.47-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.