mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #7098] [MERGED] bugfix: lib: fix memory leaks in syscall_in_list() #6313
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#6313
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?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/7098
Author: @pierretom
Created: 3/11/2026
Status: ✅ Merged
Merged: 3/12/2026
Merged by: @kmk3
Base:
master← Head:patch19📝 Commits (1)
1fe762afix memory leaks insyscall_in_list()📊 Changes
1 file changed (+6 additions, -2 deletions)
View changed files
📝
src/lib/syscall.c(+6 -2)📄 Description
asprintf()overwrites the value ofptr->xxxwith the new pointer.Result: the older allocation is never freed.
Should also help to pass a test for the PR #7066.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.