-
Notifications
You must be signed in to change notification settings - Fork 557
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
static analysis warnings #2810
Comments
I'll fix them, they are part of "make scan-build". I assume you are on the upcoming Debian version. |
@netblue30 any progress here? I still get this warnings with firejail 26ae0b2 under Fedora.
|
@netblue30 Having a look into the scan-build in line 1604 and 1609 there were 3 cases of memory leak detected. Sadly the tool does not give the exact path to the file (only syscall.c instead of fseccomp/syscall.c) Potential leak of memory pointed to by It is interesting, that there is no implicit memory freeing on call of |
When building firejail with the clang static analyzer (scan-build), it reports a few warnings.
It would be nice to get rid of them. Then the check could also be enabled in the CI.
The text was updated successfully, but these errors were encountered: