]> 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)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 2 Nov 2011 22:36:30 +0000 (15:36 -0700)
commitfafc899129e290a79040e1b3287b0559b70354c0
tree7dd8d5e7284c22157d8f6a12d3596a8a6c9f2410
parentaa01208507a8ea0b781837c7040170d362239f7f
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