1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-07 04:02:58 +03:00

A quick fix to avoid potential memory issues.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@595866 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Paul J. Reder
2007-11-16 23:14:56 +00:00
parent 16519a4d5a
commit 7cd3e66507

View File

@@ -266,7 +266,13 @@ void *util_ldap_compare_node_copy(util_ald_cache_t *cache, void *c)
}
node->lastcompare = n->lastcompare;
node->result = n->result;
node->sgl_processed = n->sgl_processed;
if (n->subgroupList && !node->subgroupList ) {
/* original entry had an SGL, no shared memory left to copy it */
node->sgl_processed = 0;
}
else {
node->sgl_processed = n->sgl_processed;
}
return node;
}
else {