diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-06-26 03:29:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:50 -0500 |
commit | 3214f2e2129eaa693658185c4ebebf1760a039ac (patch) | |
tree | de5f63c19b8e992236557d9fb1b6f58c9eac5ab7 /source4/ldap_server | |
parent | 40f1ddfdede5eca533737945d3ca3fe43ad0b5f2 (diff) | |
download | samba-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/ldap_server')
-rw-r--r-- | source4/ldap_server/ldap_server.c | 2 |
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); |