git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dsdb: Fix CID 1034744 Dereference after null check
[metze/samba/wip.git]
/
source4
/
dsdb
/
schema
/
schema_syntax.c
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;
}
}