[Freeipa-devel] [PATCH] Unchecked return value in ipa-getkeytab

Martin Kosek mkosek at redhat.com
Tue Jan 11 09:57:16 UTC 2011


On Tue, 2011-01-11 at 10:49 +0100, Martin Kosek wrote:
> krb5_init_context return value was not checked. This could lead
> to unhandled error issues.
> 
> This patch moves the Kerberos context initialization to the
> branch where it is needed and handles the error value in a way
> that allows program exit in a standard way deallocating all
> resources.
> 
> https://fedorahosted.org/freeipa/ticket/721
> 

Now I noticed that the tabs are used instead of spaces in the affected
function. Attaching re-formatted patch to keep it pretty.

Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mkosek-freeipa-004-02-unchecked-return-value-in-ipa-getkeytab.patch
Type: text/x-patch
Size: 1931 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110111/0c504198/attachment.bin>


More information about the Freeipa-devel mailing list