1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

lib/ldb-samba: Fix building with FORTIFY_SOURCE=2

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Joseph Sutton 2023-09-28 16:32:29 +13:00 committed by Joseph Sutton
parent e961783add
commit 50c208fc53

View File

@ -291,6 +291,7 @@ static void ildb_callback(struct ldap_request *req)
case LDAP_TAG_SearchRequest:
/* loop over all messages */
ret = LDB_SUCCESS;
for (i = 0; i < req->num_replies; i++) {
msg = req->replies[i];