Re: [Freeipa-devel] [PATCH] Unchecked return values in ipa-join

2011-01-12 Thread Martin Kosek
On Wed, 2011-01-12 at 11:32 -0500, Rob Crittenden wrote: Jakub Hrozek wrote: On Tue, Jan 11, 2011 at 12:46:29PM +0100, Martin Kosek wrote: krb5_get_default_realm() and asprintf() return values were ignored. This could lead to unhandled error issues or memory access issues. This patch

Re: [Freeipa-devel] [PATCH] Unchecked return values in ipa-join

2011-01-11 Thread Jakub Hrozek
On Tue, Jan 11, 2011 at 12:46:29PM +0100, Martin Kosek wrote: krb5_get_default_realm() and asprintf() return values were ignored. This could lead to unhandled error issues or memory access issues. This patch adds return value checks to all such functions. As a consequence, one new return