[SSSD] [PATCH] More simple fixes

Jakub Hrozek jhrozek at redhat.com
Mon May 16 09:14:12 UTC 2011


On 05/14/2011 01:38 AM, Jan Zeleny wrote:
> jzeleny-022-possible-memory-leak-fixed.patch
> - this could cause leak in case filter was NULL
> 

member_dn is allocated on state, so it wouldn't leak, unlike filter in
the same function that is allocated on NULL. Both should be allocated on
tmp_ctx (which is what we're going to in the pre-deref refactoring).

But this correct, too, since we no longer need member_dn at that point.

Ack.

> jzeleny-023-fixed-uninitialized-return-value.patch
> - https://fedorahosted.org/sssd/ticket/858
> 

Ack

> jzeleny-024-fixed-unitialized-pointer.patch
> - https://fedorahosted.org/sssd/ticket/857
> 

Ack



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20110516/4a025e83/attachment.sig>


More information about the sssd-devel mailing list