[Freeipa-devel] Improved error handling

Dmitri Pal dpal at redhat.com
Wed Apr 15 16:02:56 UTC 2009


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.

-- 
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-Better-error-handling-if-something-bad-happens.patch
Type: text/x-patch
Size: 3644 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090415/ddcf1eaf/attachment.bin>


More information about the Freeipa-devel mailing list