git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ldb: Fix CID 1348110 Uninitialized scalar variable
[obnox/samba/samba-obnox.git]
/
lib
/
ldb
/
common
/
ldb_dn.c
diff --git
a/lib/ldb/common/ldb_dn.c
b/lib/ldb/common/ldb_dn.c
index 5bf72ac2f6bba62af444ccb401d71b7dca9a9b72..b7d2de7e00fc167f36b475a56d5874f9495d1d27 100644
(file)
--- a/
lib/ldb/common/ldb_dn.c
+++ b/
lib/ldb/common/ldb_dn.c
@@
-1916,7
+1916,7
@@
int ldb_dn_set_component(struct ldb_dn *dn, int num,
return LDB_ERR_OTHER;
}
- if (v
.length > v
.length + 1) {
+ if (v
al.length > val
.length + 1) {
return LDB_ERR_OTHER;
}