]> git.sur5r.net Git - openldap/commit
Add a few NULL checks to defend against dumb API checkers.
authorHoward Chu <hyc@openldap.org>
Fri, 9 Sep 2011 06:41:06 +0000 (23:41 -0700)
committerHoward Chu <hyc@openldap.org>
Fri, 9 Sep 2011 06:41:06 +0000 (23:41 -0700)
commitc7d6c0fab302ee765a9d68e5b95dd4c2402625aa
tree905ef0e4c74ff2583ce8f5c7cfdeb86171d21e62
parentf72d65b77aa6cd4439ee0ad80b498f4ed707a278
Add a few NULL checks to defend against dumb API checkers.

Unfortunately automated checkers don't seem to read the documentation
for how APIs are expected to be used, and the C declaration syntax
isn't expressive enough to encode the documented usage.
libraries/libldap/schema.c
libraries/libldap/tls2.c