URL:
https://github.com/freeipa/freeipa/pull/818
Author: stlaz
Title: #818: Avoid possible recursion in RPC call from client
Action: opened
PR body:
"""
This commit removes recursion which may lack end condition.
https://pagure.io/freeipa/issue/6796
===============================
This is my try to fix ^--. The methods and their arguments in the module are very poorly
documented (they are not documented), so I just hope I can initialize the variables used
in logs prior to the cycle.
I also think this actually relates more to
https://pagure.io/freeipa/issue/6775 than the
ticket mentioned here and that the person "fixing"
https://pagure.io/freeipa/issue/6796 messed up the tickets but it's hopefully OK to
fix it this way.
Aside from just moving everything into a cycle, I also improved logging a bit and had same
error handling for different errors merged into one `except` block (`SSLError`,
`socket.error`).
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/818/head:pr818
git checkout pr818