In ipa_join() principal is initialized to NULL.
If NULL == realm goto done;
In done principal is assigned to the return value and length calculated.
It should probably go to free_and_return instead of done on error.
Fixed.
[16d1db4]
Metadata Update from @rcritten: - Issue assigned to jcholast - Issue set to the milestone: FreeIPA 2.1 - 2011/08 (Final)
Login to comment on this ticket.