[patch] fix selinux OOM and memory leak

Havoc Pennington hp at redhat.com
Wed Apr 13 08:00:58 PDT 2005


On Wed, 2005-04-13 at 10:30 -0400, David Zeuthen wrote:
> On Wed, 2005-04-13 at 10:17 -0400, Havoc Pennington wrote:
> > Meant to send that to the list
> > 
> > On Wed, 2005-04-13 at 10:16 -0400, Havoc Pennington wrote:
> > > /me mumbles something about how we should have test coverage on the
> > > selinux stuff since the dispatch.c test framework would have caught this
> > > bug and writing the test was probably faster than debugging this
> > > 
> 
> Are you sure this is so easy? I guess you would need to stub out
> non-trivial libselinux functionality; haven't looked too much into it
> though.

It's not trivial, but it's not hard. You're right that you basically
create a stub no-op selinux thing.

Havoc




More information about the dbus mailing list