mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #348] Cppcheck static code analysis #244
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#244
Loading…
Add table
Add a link
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?
Originally created by @temporaryaccount on GitHub (Mar 3, 2016).
Original GitHub issue: https://github.com/netblue30/firejail/issues/348
Firejail being a security product written in C needs a very careful approach when programming. Errors are unavoidable, I'd like to know whether it is being routinely checked by static analyzers like Cppcheck or the one in CLANG. FYI, Cppcheck reports some (maybe) minor issues like "%u in format string (no. 1) requires 'unsigned int' but the argument type is 'int'." or "scanf without field width limits can crash with huge input data. Add a field width specifier to fix this problem: %s => %20s", etc.
Thank you for this program!
@netblue30 commented on GitHub (Mar 4, 2016):
It is already included into the build (make cppcheck in the main project directoy).