cppcheck analysis of openldap_2.4.17-1.dsc
- ./clients/tools/ldapdelete.c:230 [error] - Resource leak: fp
- ./clients/tools/ldapmodrdn.c:182 [possible error] - Memory leak: entrydn
- ./clients/tools/ldapmodrdn.c:171 [possible error] - Memory leak: rdn
- ./clients/tools/ldapmodrdn.c:233 [possible error] - Resource leak: fp
- ./contrib/ldapc++/examples/main.cpp:72 [possible error] - Memory leak: entry
- ./contrib/ldapc++/src/LDAPBindRequest.h:58 [possible error] - Memory leak: LDAPSaslInteractiveBind::m_res
- ./contrib/slapd-modules/comp_match/certificate.h:376 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./contrib/slapd-modules/comp_match/authorityKeyIdentifier.h:324 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./contrib/slapd-modules/comp_match/componentlib.c:2021 [possible error] - Memory leak: a
- ./contrib/slapd-modules/comp_match/componentlib.c:2161 [possible error] - Memory leak: a
- ./contrib/slapd-modules/comp_match/crl.h:356 [error] - Invalid number of character ({) when these macros are defined: '__cplusplus'.
- ./contrib/slapd-modules/dsaschema/dsaschema.c:244 [error] - Memory leak: savefname
- ./contrib/slapd-modules/dsaschema/dsaschema.c:187 [error] - Memory leak: saveline
- ./contrib/slapd-modules/nssov/nss-ldapd/nss/pam.c:140 [error] - Uninitialized variable: rc
- ./libraries/libldap/test.c:679 [error] - Memory leak: copyfname
- ./libraries/liblutil/avl.c:82 [error] - Data is allocated but not initialized: r
- ./libraries/liblutil/passfile.c:68 [error] - Resource leak: f
- ./libraries/liblutil/passfile.c:68 [possible error] - Resource leak: f
- ./libraries/liblutil/tavl.c:68 [error] - Data is allocated but not initialized: r
- ./servers/slapd/slapi/slapi_utils.c:2519 [error] - Wrong assignment of an auto-variable to an effective parameter of a function
Note: if you think the results reveal a security bug,
please don't hesitate to contact the
security team
This report was generated on Thu, 16 Dec 2010 05:59:44 +0000, based on results by cppcheck 1.41-modif