mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
libcli/security: Cast isupper() argument to ‘unsigned char’
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
60f4d873b7
commit
748cbac2fa
@ -555,7 +555,7 @@ static struct security_acl *sddl_decode_acl(struct security_descriptor *sd,
|
||||
if (acl == NULL) return NULL;
|
||||
acl->revision = SECURITY_ACL_REVISION_ADS;
|
||||
|
||||
if (isupper(sddl[0]) && sddl[1] == ':') {
|
||||
if (isupper((unsigned char)sddl[0]) && sddl[1] == ':') {
|
||||
/* its an empty ACL */
|
||||
return acl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user