mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
Fix reversed bool check for access. Found by kukks.
Thanks ! Jeremy. (This used to be commit a13e8bd39de978d69666b8aeb884d943885a3605)
This commit is contained in:
parent
e6fcfdb54e
commit
34a8e1c51e
@ -52,7 +52,7 @@ static bool masked_match(const char *tok, const char *slash, const char *s)
|
||||
SAFE_FREE(tok_copy);
|
||||
|
||||
if (strlen(slash + 1) > 2) {
|
||||
if (interpret_string_addr(&ss_mask, slash+1, 0)) {
|
||||
if (!interpret_string_addr(&ss_mask, slash+1, 0)) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user