git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bffd65
)
dsdb: Fix CID 1034744 Dereference after null check
author
Volker Lendecke
<vl@samba.org>
Fri, 30 Mar 2018 17:13:03 +0000
(12:13 -0500)
committer
Jeremy Allison
<jra@samba.org>
Tue, 3 Apr 2018 22:44:22 +0000
(
00:44
+0200)
This HIGHLY looks like a cut&paste error...
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@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 6205373a3fcf6d7867743971193463ab83d8e16e..b434b6b0a5f71eec690bc638dc64ac358e5cec81 100644
(file)
--- a/
source4/dsdb/schema/schema_syntax.c
+++ b/
source4/dsdb/schema/schema_syntax.c
@@
-662,7
+662,7
@@
static WERROR dsdb_syntax_NTTIME_UTC_validate_ldb(const struct dsdb_syntax_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;
}
}