summaryrefslogtreecommitdiff
path: root/source4/libcli/cldap/cldap.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-07-06 05:51:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:09:48 -0500
commit3ed1e8ff3c351296adfa78a99c19cc7b0fd5d7e7 (patch)
tree6da0df4219f39e6d4dc0df57db101d2add66ffbc /source4/libcli/cldap/cldap.c
parent5e3ca4a73376db847cd3ca55807f5b1fcdbc9148 (diff)
downloadsamba-3ed1e8ff3c351296adfa78a99c19cc7b0fd5d7e7.tar.gz
samba-3ed1e8ff3c351296adfa78a99c19cc7b0fd5d7e7.tar.bz2
samba-3ed1e8ff3c351296adfa78a99c19cc7b0fd5d7e7.zip
r16829: Fix a number of issues raised by the IBM checker, or gcc warnings.
In particular, this removes one use of the LDB_DN_NULL_FAILED macro, which was being used on more than DNs, had an embedded goto, and confused the IBM checker. In the password_hash code, ensure that sambaAttr is not, before checking the number of values. In GENSEC, note that this switch value can't occour. This seems to be the only way to quiet both the IBM checker and gcc, as well as cope with possibly invalid inputs. Andrew Bartlet (This used to be commit 3e58350ec2ab883795b1dd03ac46a3520cac67d0)
Diffstat (limited to 'source4/libcli/cldap/cldap.c')
0 files changed, 0 insertions, 0 deletions