Problem with klogind/kshd

Tim Gaastra tim at gaastra.net
Wed May 1 16:43:51 EDT 2002


One confirmed problem: crashing in login.krb5

Because of:
Src/appl/bsd/login.c
Line 1193: strncpy(term, getenv("TERM"), sizeof(term));

Apparently, there have been issues with strncpy and alignment problems
with the IA64 in the past...

The current kludgey fix has been to make a pointer, assign the getenv to
it, strlen the pointer, assign that to a size_t, and then call the
strncpy as strncpy(term,<pointer>,<size_t>);

This got us past THAT problem, but there are more, mostly likely of the
same.

-----Original Message-----
From: kerberos-admin at mit.edu [mailto:kerberos-admin at mit.edu] On Behalf
Of Sam Hartman
Sent: Wednesday, May 01, 2002 11:48 AM
To: Tim Gaastra
Cc: kerberos at mit.edu
Subject: Re: Problem with klogind/kshd


Run strace on all the involved processes; see where things are hanging.

________________________________________________
Kerberos mailing list           Kerberos at mit.edu
http://mailman.mit.edu/mailman/listinfo/kerberos




More information about the Kerberos mailing list