Re: Re: [PATCH] libsepol: Prevent freeing unitialized value in ibendport handling

2018-03-19 Thread jwcart2
On 03/08/2018 04:34 PM, Nicolas Iooss wrote: On Wed, Mar 7, 2018 at 4:05 PM, James Carter wrote: Nicolas Iooss reports: In sepol_ibendport_key_create(), if sepol_ibendport_alloc_ibdev_name() fails to allocate tmp_key->ibdev_name, sepol_ibendport_key_free() is called to

Re: [PATCH] libsepol: Prevent freeing unitialized value in ibendport handling

2018-03-08 Thread Nicolas Iooss
On Wed, Mar 7, 2018 at 4:05 PM, James Carter wrote: > Nicolas Iooss reports: > In sepol_ibendport_key_create(), if sepol_ibendport_alloc_ibdev_name() > fails to allocate tmp_key->ibdev_name, sepol_ibendport_key_free() is > called to free the memory associated with tmp_key,