Skip to content

selinux: fix double free

[email protected] lkml selinux 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 2 repliesIn review
  2. v11 patch 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1selinux: fix double freesecurity/selinux/ss/services.c+4 -02 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchStephen Smalley
1/1A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/1] selinux: fix double free

From: Tom Rix <[email protected]>

repo: linux-next
tag: next-20200610

Running clang scan-view over linux-next uncovers many problem only a few are memory related, this one looked like the most serious.

Changes from v1

Fix call to kfree
- kfree(names);
+ kfree(*names);

Tom Rix (1):
selinux: fix double free

 security/selinux/ss/services.c | 4 ++++
 1 file changed, 4 insertions(+)
Signature · 1 line
2.18.1