mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-09-03 20:52:56 -05:00
There is a non-zero chance that the Kerberos configuration can't be retrieved. If this fails it should report an error which will likely fail the operation but otherwise allow the server to remain running. A flag was added to not allow the Master key to be returned but since this manipulates *config and that is NULL...SEGV. Add a goto to skip that block in the case of failure. Credit to Viktor Ashirov for identifying the fix. All I did was write up the patch. Fixes: https://pagure.io/freeipa/issue/9914 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>