The branch, master has been updated
via 73107aa9f6a ldb: fix Coverity 1636883
from 8b84282008d util:datablob: data_blob_pad checks its alignment
assumption
https://git.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 73107aa9f6ac455acdef629e3e41e6dcd34fb929
Author: Douglas Bagnall <[email protected]>
Date: Mon Dec 23 13:07:40 2024 +1300
ldb: fix Coverity 1636883
oops.
Signed-off-by: Douglas Bagnall <[email protected]>
Reviewed-by: Martin Schwenke <[email protected]>
Autobuild-User(master): Martin Schwenke <[email protected]>
Autobuild-Date(master): Mon Dec 30 04:17:46 UTC 2024 on atb-devel-224
-----------------------------------------------------------------------
Summary of changes:
lib/ldb/common/ldb_dn.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Changeset truncated at 500 lines:
diff --git a/lib/ldb/common/ldb_dn.c b/lib/ldb/common/ldb_dn.c
index 0af0d94826a..5b8c0f4f580 100644
--- a/lib/ldb/common/ldb_dn.c
+++ b/lib/ldb/common/ldb_dn.c
@@ -969,7 +969,7 @@ static bool ldb_dn_casefold_internal(struct ldb_dn *dn)
*/
TALLOC_FREE(dn->components[i].cf_name);
failed:
- for (j = 0; j < i; i++) {
+ for (j = 0; j < i; j++) {
TALLOC_FREE(dn->components[j].cf_name);
TALLOC_FREE(dn->components[j].cf_value.data);
}
--
Samba Shared Repository