https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277963

--- Comment #1 from Baptiste Daroussin <b...@freebsd.org> ---
sorry for late reply.


The main issue to switch MAXLOGNAME to 65 would be utmpx because it hard codes
32 which means the name will truncate the name.

If nothing has changed since I grew it to 33, the upgrade to 65 would be safe
as all consumers of MAXLOGNAME (in base at least) are properly checking
boundaries when manipulating strings, so worst case scenario is truncation, but
no overflow.

So the right approach is imho to first upgrade utmpx (if this is possible at
all) and only after that upgrade MAXLOGNAME.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to