mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
CVE-2020-25717: nsswitch/nsstest.c: Lower 'non existent uid' to make room for new accounts
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14901 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
5ea347d367
commit
fdbee5e074
@ -466,7 +466,7 @@ static void nss_test_errors(void)
|
||||
printf("ERROR Non existent user gave error %d\n", last_error);
|
||||
}
|
||||
|
||||
pwd = getpwuid(0xFFF0);
|
||||
pwd = getpwuid(0xFF00);
|
||||
if (pwd || last_error != NSS_STATUS_NOTFOUND) {
|
||||
total_errors++;
|
||||
printf("ERROR Non existent uid gave error %d\n", last_error);
|
||||
|
Loading…
Reference in New Issue
Block a user