[4114] in Kerberos
Re: Kpasswd failure
daemon@ATHENA.MIT.EDU (Asokan)
Sun Oct 30 18:38:45 1994
To: kerberos@MIT.EDU
Date: Sun, 30 Oct 1994 22:52:28 GMT
From: nasokan@math.uwaterloo.ca (Asokan)
In article <390br2$97e@newsbf01.news.aol.com>, BWatts <bwatts@aol.com> wrote:
>Has anyone seen this before:
>"Memory exhausted while trying to change password"
>
>System: RS/6000 AIX 3.2.5
>Login : Xyplex server - kerberos IV
>
I ran into this and fixed it. If I remember right, it was
because malloc(0) returns an error status. The fix was
(again if I remember right) to add 1 to the argument expression
of the offending malloc() call in lib/kadm/kadm_cli_wrap.c.
(There is exactly one place where the argument has the
potential to evaluate to 0).
If you can't find the place, let me know and I'll dig out
the diffs.
- Asokan
[University of Waterloo]