libcli/cldap: fix a crash bug in cldap_socket_recv_dgram() (bug #8593)
commit740a001971bab647c1ab129b3dd2fbccaddc4e7b
authorStefan Metzmacher <metze@samba.org>
Thu, 10 Nov 2011 13:43:55 +0000 (10 14:43 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 10 Jan 2012 20:04:47 +0000 (10 21:04 +0100)
tree736611d63db4859162bb8aaf43a478c25f7924d9
parentff4e1df575a3d7eb484b31d6afe46825ba418981
libcli/cldap: fix a crash bug in cldap_socket_recv_dgram() (bug #8593)

After a calling any wrapper of tevent_req_notify_callback(),
e.g. tevent_req_nterror(), tevent_req_done(), tevent_req_nomem(),
a function has to return immediately otherwise it is very likely to
crash.

metze

(similar to commit 17f1a97a614db4ed8292544988cb6a6cf56621d8)
libcli/cldap/cldap.c