Issue ID: 9417
Summary: ldapexop: exit with indeterminate status
Component: client tools
Target Milestone: ---
In clients/tools/ldapexop.c:354 'main' calls 'tool_exit' with testing
'code' to 'LDAP_SUCCESS' as argument, but clang static analyzer finds that
line 103 if 'ldap_whoami' fails then 'main' should exit, leaving
uninitialized, the test result is indeterminate. After further inspection I can
conclude that 'rc' is set all the way down so I think 'tool_exit' should
called with 'rc' directly.
See MR!207 for potential fix for this.
You are receiving this mail because:
You are on the CC list for the issue.