[22737] in Kerberos

home help back first fref pref prev next nref lref last post

daemon@ATHENA.MIT.EDU (hwntw)
Mon Oct 25 09:22:49 2004

From: hwntw@hotmail.com (hwntw)
Date: 25 Oct 2004 06:03:14 -0700
Message-ID: <f6fd68d9.0410250503.6281076e@posting.google.com>
To: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu

hartmans@MIT.EDU (Sam Hartman) wrote in message news:<tslacue7i4k.fsf@cz.mit.edu>...
> Actually, as I recall, MIT's telnetd will call MIT's login.krb5.
> There do seem to be several username size limits in that program, all
> based on UT_NAMESIZE.
> 
> Looking at Solaris, I think that will get set to 8.
> 
> I suspect that we don't handle the case where utmpx has a longer name
> size than utmp very well.
> 
> I'm not sure what the fix is off the top of my head; forcing
> UT_NAMESIZE to 32 might just work, but you would need to check and
> make sure it didn't create a buffer overflow.
> 
> ________________________________________________
> Kerberos mailing list           Kerberos@mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
TVM,
Is this it?

login.c:#define UT_NAMESIZE     sizeof(((struct utmp *)0)->ut_name)

What would a changed definition look like?
Colin
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post