[Freeipa-devel] Improved error handling

Dmitri Pal dpal at redhat.com
Wed Apr 15 16:29:37 UTC 2009


Dmitri Pal wrote:
> Hi,
>
> Tried to use the INI interface for the INI file validation and 
> realized that there might be cases when the interface function returns 
> error and the error list is destroyed but not NULL.
> Follow up printing function in this case would probably crash.
> The probability of such error is low though. Most likely it is ENOMEM 
> condition when other things will start to fall apart too.
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
Changed the comment in the commit.

-- 
Thank you,
Dmitri Pal

Engineering Manager IPA project,
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-INI-parser.-Better-error-handling-if-something-bad-h.patch
Type: text/x-patch
Size: 3656 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090415/cbd5a2b7/attachment.bin>


More information about the Freeipa-devel mailing list