mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r22210: Fix typo in testing for non-centry entries.
Jeremy.
This commit is contained in:
parent
c52c7f91af
commit
b89ecbcac6
@ -66,7 +66,7 @@ static BOOL is_non_centry_key(TDB_DATA kbuf)
|
||||
}
|
||||
for (i = 0; non_centry_keys[i] != NULL; i++) {
|
||||
size_t namelen = strlen(non_centry_keys[i]);
|
||||
if (kbuf.dsize <= namelen) {
|
||||
if (kbuf.dsize < namelen) {
|
||||
continue;
|
||||
}
|
||||
if (strncmp(non_centry_keys[i], (const char *)kbuf.dptr, namelen) == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user