fix a serious bug where, on alpha, due to a an int/long type mismatch,
the uid arg to use_yp() was getting clobbered by the call to my_yp_match(). This led to a problem where a NIS user could edit root's passwd information.
This commit is contained in:
parent
42c9b5b974
commit
8f5c81c41a
@ -266,7 +266,7 @@ int use_yp (user, uid, which)
|
||||
char bf[UT_NAMESIZE + 2];
|
||||
char *result;
|
||||
char *server;
|
||||
int resultlen;
|
||||
long resultlen;
|
||||
char ubuf[UT_NAMESIZE + 2];
|
||||
|
||||
if (which) {
|
||||
|
Loading…
Reference in New Issue
Block a user