summaryrefslogtreecommitdiff
path: root/drivers/media/radio/miropcm20-rds-core.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2008-09-03 15:49:47 (GMT)
committerJames Morris <jmorris@namei.org>2008-09-03 22:35:13 (GMT)
commit8e531af90f3940615623dc0aa6c94866a6773601 (patch)
treed618b12f26648de917cbec53677c734362e6bfc2 /drivers/media/radio/miropcm20-rds-core.c
parentec0c15afb41fd9ad45b53468b60db50170e22346 (diff)
downloadlinux-8e531af90f3940615623dc0aa6c94866a6773601.tar.xz
SELinux: memory leak in security_context_to_sid_core
Fix a bug and a philosophical decision about who handles errors. security_context_to_sid_core() was leaking a context in the common case. This was causing problems on fedora systems which recently have started making extensive use of this function. In discussion it was decided that if string_to_context_struct() had an error it was its own responsibility to clean up any mess it created along the way. Signed-off-by: Eric Paris <eparis@redhat.com> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'drivers/media/radio/miropcm20-rds-core.c')
0 files changed, 0 insertions, 0 deletions