Re: [2.6 patch] security/selinux/netlabel.c: fix double free

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Paul Moore
Date: Monday, January 28, 2008 - 3:23 pm

On Monday 28 January 2008 5:09:38 pm Adrian Bunk wrote:

Hi Adrian,

Thanks for finding this mistake, however, I'd rather see it fixed by 
removing the netlbl_secattr_destroy() call in 
security_netlbl_sid_to_secattr() as it really shouldn't be there 
anymore.  We moved the matching _init() call into 
selinux_netlbl_sock_setsid() and I'd like to see the _init() and 
_destroy() calls done in the same function.  I can push a revised patch 
for this if you would prefer, otherwise I'll be happy to ack an updated 
version ...




-- 
paul moore
linux security @ hp
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [2.6 patch] security/selinux/netlabel.c: fix double free, Paul Moore, (Mon Jan 28, 3:23 pm)