mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4503] Code scanning alerts (CodeQL CWE-367/TOCTOU warnings) #2685
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#2685
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 @rusty-snake on GitHub (Sep 3, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4503
GitHub seems to have updated CodeQL.
https://github.com/netblue30/firejail/security/code-scanning
Can someone have a look whether this are false-positives or unproblematic alerts.
@netblue30 @smitsohu @reinerh
@kmk3 commented on GitHub (Sep 22, 2021):
Is anyone already working on this? I think I managed to fix some of them;
might submit a PR eventually.
@reinerh commented on GitHub (Sep 22, 2021):
I wanted to have a look at it, but didn't find the time so far. Please go ahead. :)
@reinerh commented on GitHub (Oct 18, 2021):
@kmk3 Feel free to open PRs for the ones you already worked on. No need to fix all of them at once.
Then others could already have a look at the remaining ones.
@kmk3 commented on GitHub (Oct 19, 2021):
@reinerh commented on Oct 18:
Alright, I'll try to wrap up the branch and open a PR. I have indeed not fully
fixed all of them; I'll just send the ones I'm more sure about in the PR.
@kmk3 commented on GitHub (Oct 29, 2021):
Sorry for the delay; I've opened #4652 with just the more trivial fixes to get
some basic feedback. I have a few more fixes mostly ready.
@rusty-snake commented on GitHub (Oct 29, 2021):
Insteresting,
./configure --enable-analyzer && en_US-locale makefinds only https://github.com/netblue30/firejail/issues/4592#issuecomment-937507639 whileCFLAGS=-fanalyzer ./configure && en_US-locale CFLAGS=-fanalyzer makefinds a few[CWE-401] [-Wanalyzer-malloc-leak]in addition. Any my experimental meson setup finds even[CWE-415] [-Wanalyzer-double-free].edit: this explains it
d04f63cba2/configure.ac (L45)gcc --version:gcc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)@smitsohu commented on GitHub (Oct 29, 2021):
@rusty-snake Could you please share
[CWE-415] [-Wanalyzer-double-free]?@rusty-snake commented on GitHub (Oct 29, 2021):
[CWE-415] [-Wanalyzer-double-free]@smitsohu commented on GitHub (Oct 29, 2021):
@rusty-snake Thank you.
I think it is a false positive, too, but maybe someone else wants to confirm.