summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-26 03:29:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:50 -0500
commit3214f2e2129eaa693658185c4ebebf1760a039ac (patch)
treede5f63c19b8e992236557d9fb1b6f58c9eac5ab7 /source4
parent40f1ddfdede5eca533737945d3ca3fe43ad0b5f2 (diff)
downloadsamba-3214f2e2129eaa693658185c4ebebf1760a039ac.tar.gz
samba-3214f2e2129eaa693658185c4ebebf1760a039ac.tar.bz2
samba-3214f2e2129eaa693658185c4ebebf1760a039ac.zip
r7918: fixed a crash bug in the ldap server
(This used to be commit 44ded17bc2501cd8d03fb3a94a3b7c502f5a2128)
Diffstat (limited to 'source4')
-rw-r--r--source4/ldap_server/ldap_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_server.c b/source4/ldap_server/ldap_server.c
index e635dae1ab..9c0e883e36 100644
--- a/source4/ldap_server/ldap_server.c
+++ b/source4/ldap_server/ldap_server.c
@@ -105,7 +105,7 @@ static void ldapsrv_process_message(struct ldapsrv_connection *conn,
}
data_blob_free(&blob);
blob = data_blob_talloc(call, NULL, wrapped.length + 4);
- if (q->data.data == NULL) {
+ if (blob.data == NULL) {
goto failed;
}
RSIVAL(blob.data, 0, wrapped.length);