Sulogin: respect byte order that is do not mix chars and ints
This commit is contained in:
parent
09aa81cdbb
commit
4860983f8b
@ -31,6 +31,7 @@ sysvinit (2.89dsf) UNRELEASED; urgency=low
|
|||||||
* Sulogin: enforce reconnection of stdin/stdout/stderr if a device
|
* Sulogin: enforce reconnection of stdin/stdout/stderr if a device
|
||||||
was specified.
|
was specified.
|
||||||
* Sulogin: if zero is read at reading the passwd guess it's done.
|
* Sulogin: if zero is read at reading the passwd guess it's done.
|
||||||
|
* Sulogin: respect byte order that is do not mix chars and ints
|
||||||
|
|
||||||
[ Petter Reinholdtsen ]
|
[ Petter Reinholdtsen ]
|
||||||
* Next release will be 2.89dsf.
|
* Next release will be 2.89dsf.
|
||||||
|
@ -613,9 +613,9 @@ char *getpasswd(struct console *con)
|
|||||||
struct termios tty;
|
struct termios tty;
|
||||||
char *ret = pass;
|
char *ret = pass;
|
||||||
unsigned char tc;
|
unsigned char tc;
|
||||||
char ascval;
|
char c, ascval;
|
||||||
int eightbit;
|
int eightbit;
|
||||||
int c, fd;
|
int fd;
|
||||||
|
|
||||||
if (con->flags & CON_NOTTY)
|
if (con->flags & CON_NOTTY)
|
||||||
goto out;
|
goto out;
|
||||||
|
Loading…
Reference in New Issue
Block a user