[Freeipa-devel] [PATCH] Use of pointer after free in ipa-join

Adam Young ayoung at redhat.com
Fri Jan 7 16:26:47 UTC 2011


On 01/07/2011 09:21 AM, Martin Kosek wrote:
> In some cases recently freed memory was used/freed again. This
> patch introduces more consistency between functions
> join_ldap/join_krb5 when dealing with affected variables.
>
> https://fedorahosted.org/freeipa/ticket/709
>
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
Is there any chance that the point-to-a-pointer parameters will have 
valid values other than null passed in?  Almost seems that by 
initializing them to null, you might be masking a memory leak.

If not, then ACK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110107/eb2c7dcf/attachment.htm>


More information about the Freeipa-devel mailing list