[Pki-devel] [PATCH] 231 - check for null values in GetConfigEntries

Ade Lee alee at redhat.com
Thu Sep 4 16:57:49 UTC 2014


This is something that was encountered in IPA when pviktorin attempted
to clone an instance where the diectory manager password had been
removed from password.conf. Because IPA uses a client cert to connect to
the DB, the password is not needed.

The clone attempts to contact the master to get config entries from
CS.cfg etc. If the password is missing, it adds a null value to the XML
structure it returns, resulting in a NPE when the XML Object is
serialized. This exception is sadly swallowed up.

Needs a null check for the values ..

Please review,
Ade


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-vakwetu-0231-Check-for-null-values-in-GetConfigEntries.patch
Type: text/x-patch
Size: 1774 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20140904/91370aa9/attachment.bin>


More information about the Pki-devel mailing list