https://bugs.openldap.org/show_bug.cgi?id=9921
--- Comment #2 from dpa-openldap@aegee.org dpa-openldap@aegee.org --- I found this by running the Cland Static Analyzer under CodeChecker with the Cross Translation Unit (CTU) option. The complete results, including false positives, are at https://mail.aegee.org/dpa/scan99/openldap26/ .