#72 do not substract from UT_NAMESIZE for length check
Merged by mhlavink. Opened by mhlavink.
mhlavink/libuser master  into  master

Download 72.patch

Use full 32 characters limit for username verification,
while utmp declares ut_user[UT_NAMESIZE] it also
has nostring attribute so do not expect nul termination
to fit.

This fixes RHEL-55983 where all system utils work with 32chars,
but passwd -e (through libuser) fails with 32char user name

Commit e7b6a215 fixes this pull-request

Pull-Request has been merged by mhlavink

Pull-Request has been merged by mhlavink

Metadata