Coverity Scans reports available #63
Labels
No labels
3rdparty
Android
API
Author does not respond
bsd
bug
build system/CI
ci-virtual-device
CMake
Contributions Welcome
Core
dependencies
device-specific
documentation
don't_merge
duplicate
enhancement
Example
Haiku
hidraw
hotplug
info required
invalid
libusb
macOS
Misc
Not an issue
question
Release
Test
Test GUI
Windows
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-libusb/hidapi#63
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A long time ago I registered the hidapi project at Coverity Scans https://scan.coverity.com/faq
The project should be available at https://scan.coverity.com/projects/hidapi?tab=overview
I can add any other member of this hidapi project to have access to the Coverity Scans results. Just connect on Coverity Scans and ask for an access to the hidapi results.
For now only 2 issues are reported by Coverity Scans.
Sent request.
Aprouved
Coverity found a new bug in
testgui/test.cpp:Thanks for catching it.
This is just a test app, not a part of any critical implementation.
Will have a fix for it as soon as someone have a chance to get his hands to it.
https://scan.coverity.com/projects/hidapi?tab=overview
Looks like there are two outstanding issues.
I think those are outdated.
We don't have automatic build submissions (yet). Probably a good idea to setup some.
I submitted a new scan with the current source code a few hours ago.
The results are not yet available. Strange.
Interesting, the last uploaded snapshot I see was uploaded at 2022-04-03
The status is still " Last Build Status: Running. Your build is currently being analyzed ".
Maybe the server is overloaded.
Indeed it seems the server is overloaded. It still shows "Last Build Status: Running. Your build is currently being analyzed".
@LudovicRousseau
Looks like the submission failed. Please help to submit a new build. Thanks.
New build submitted.
The coverity results are now visible.
Thanks.
This time we did found some valid issues (error handling mostly).
I see only Linux files listed. Were the Windows files also scanned?
@JoergAtGithub I did a GNU/Linux build only. I do not use Windows.
Feel free to submit a Windows build.
I've prepared an on-demand Github Actions job to run and submit Coverity report for 3 platforms (Windows, Linux, macOS).
But it is not exactly usable yet: each submission overrides the previous one, so even if the job is executed - the results only for one platform will be available (whichever runs last).
Splitting into 3 different jobs for each platform is not exactly a solution, since still only one report will be available at the time, and what I want to achieve - a combiner report for all HIDAPI sources for all platforms, to track all issues alltogether on Coverity Web UI.
I'll try to get it done some time this week.
Meanwhile I've manually executed all jobs on all platforms against current master and created tickets for each issue found by Coverity.
Since #557 is merged, we have a single multi-platform job to submit Coverity scans for all platforms of HIDAPI. (With fixed issues I've described in my prev message.)
#558 to not forget about those checks.
That being said, I think we can safely close this ticket.