-
Notifications
You must be signed in to change notification settings - Fork 144
Review OpenScanHub results for libdnf #1659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
A more recent report is available at https://svashisht.fedorapeople.org/f41-03-Jul-2024/ But it contains high number of false positives due to cppcheck warning about limiting analysis of branches. It should be fixed in the future mass scans. |
Report for Fedora 42 (rawhide) is available at https://svashisht.fedorapeople.org/openscanhub/mass-scans/f42-13-Nov-2024/, it significantly reduces number of false positives. |
Most of the warnings come from code generated by swig. While there is a chance we might be able to fix some of those on libdnf side I have already tried to do something similar in the past and didn't succeed. I am not sure if it is worth to invest more time into it. Then there are several glib2 deprecations:
However these are quite new and the recommended functions are available only since 2.84 which is present in >= Fedora42. Next there is a false positive:
I believe this is also a failse positive:
While the class type Issue:
is already tracked as #1686 Finally for:
I made a PR. |
@kontura Thanks for the review! Meanwhile, a new mass scan was performed last month and results can be seen here. However, the results look pretty much the same, so further review may not be needed. |
@kontura Shall I add path under |
Thanks, I looked at it and added two new commits to my PR based on two new reports.
I am not sure, I don't know what is the purpose of these reports. If they are only for us developers I probably wouldn't add it. I am not certain the SWIG issues are false positives and I don't mind them. |
They are meant for upstream developers and package maintainers. I would avoid adding |
Fedora scanned F41 critical packages for insecure pieces of source code https://lists.fedoraproject.org/archives/list/[email protected]/thread/ZNWA2K3H6OS3LFJOTA5H4FJJC64EBLRK/ Results are at https://svashisht.fedorapeople.org/f41-22-Apr-2024/. There are some findings for libdnf. It would be great to review and the address true positives.
The text was updated successfully, but these errors were encountered: