* PATCH: setfiles memory leak
@ 2007-02-07 17:09 Todd.Miller
2007-02-20 15:28 ` Stephen Smalley
0 siblings, 1 reply; 2+ messages in thread
From: Todd.Miller @ 2007-02-07 17:09 UTC (permalink / raw)
To: SE Linux
This patch fixes a memory leak on an error path.
- todd
--- policycoreutils-1.34.1/setfiles/setfiles.c 2006-06-29 14:21:16.000000000 -0400
+++ policycoreutils-1.34.1/setfiles/setfiles.c 2007-02-06 17:00:19.000000000 -0500
@@ -357,6 +357,7 @@
"%s: %s not reset customized by admin to %s\n",
progname, my_file, context);
}
+ freecon(context);
goto out;
}
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PATCH: setfiles memory leak
2007-02-07 17:09 PATCH: setfiles memory leak Todd.Miller
@ 2007-02-20 15:28 ` Stephen Smalley
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2007-02-20 15:28 UTC (permalink / raw)
To: Todd.Miller; +Cc: SE Linux
On Wed, 2007-02-07 at 12:09 -0500, Todd.Miller@sparta.com wrote:
> This patch fixes a memory leak on an error path.
>
> - todd
>
> --- policycoreutils-1.34.1/setfiles/setfiles.c 2006-06-29 14:21:16.000000000 -0400
> +++ policycoreutils-1.34.1/setfiles/setfiles.c 2007-02-06 17:00:19.000000000 -0500
> @@ -357,6 +357,7 @@
> "%s: %s not reset customized by admin to %s\n",
> progname, my_file, context);
> }
> + freecon(context);
> goto out;
> }
>
Merged to -stable and to -trunk.
--
Stephen Smalley
National Security Agency
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-20 15:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-07 17:09 PATCH: setfiles memory leak Todd.Miller
2007-02-20 15:28 ` Stephen Smalley
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.