Sulogin: respect byte order that is do not mix chars and ints
This commit is contained in:
@@ -613,9 +613,9 @@ char *getpasswd(struct console *con)
|
||||
struct termios tty;
|
||||
char *ret = pass;
|
||||
unsigned char tc;
|
||||
char ascval;
|
||||
char c, ascval;
|
||||
int eightbit;
|
||||
int c, fd;
|
||||
int fd;
|
||||
|
||||
if (con->flags & CON_NOTTY)
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user