git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
246cb19
)
dsdb: Fix CID 1034745 Dereference after null check
author
Volker Lendecke
<vl@samba.org>
Tue, 23 Jun 2015 10:48:13 +0000
(12:48 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 23 Jun 2015 20:12:09 +0000
(22:12 +0200)
This is a cut&paste error
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/dsdb/schema/schema_syntax.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/schema/schema_syntax.c
b/source4/dsdb/schema/schema_syntax.c
index 2f48b25437b9ddd6384ac0ea5098fde7f4d8ebd9..f9c50b8164d1cb96bce504642e657fb393d062de 100644
(file)
--- a/
source4/dsdb/schema/schema_syntax.c
+++ b/
source4/dsdb/schema/schema_syntax.c
@@
-801,7
+801,7
@@
static WERROR dsdb_syntax_NTTIME_validate_ldb(const struct dsdb_syntax_ctx *ctx,
}
if (attr->rangeUpper) {
- if ((int32_t)t > (int32_t)*attr->range
Low
er) {
+ if ((int32_t)t > (int32_t)*attr->range
Upp
er) {
return WERR_DS_INVALID_ATTRIBUTE_SYNTAX;
}
}