Hi.
I've looked at the code and I cannot find the problem from inspection.
I'll reproduce the problem and look under some combination of debugger
and valgrind.
In session.c there's a call to record_login, which takes the username
from the authentication context. That eventually calls log_entry_init,
with an apparently corrupt username causing the failure.
This is almost certainly some sort of memory corruption.
--Sam
|