tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: login(1) vs "dialout ttys"



Aymeric Vincent <aymericvincent%free.fr@localhost> writes:

> current naming of our devices.  (It can't currently lead to an out of
> bounds access because ttyname(3) returns a static PATH_MAX-length array)

Err, it actually can if the last component of the path is very short and
the path is close to PATH_MAX, but that's probably an uncommon setup for
an admin to choose.

 Aymeric



Home | Main Index | Thread Index | Old Index