[906] in Kerberos

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

ksrvutil bug

daemon@ATHENA.MIT.EDU (Steve Lunt)
Tue Apr 10 23:26:41 1990

From: lunt@CTT.BELLCORE.COM (Steve Lunt)
To: athena.mit.edu!kerberos@bellcore.bellcore.com
Date:  9 Apr 1990  18:24 EDT

	There is a bug in ksrvutil.c.  The fix is as follows:

567c567
< 	(void) des_random_key(new_key);
---
> 	(void) des_new_random_key(new_key);

When executing "ksrvutil change" I would get a core dump.  After recompiling
with the debug flag (-g), it worked fine!  Thus I suspected a machine
dependence.  des_random_key() seems to be machine dependent, while
des_new_random_key() seems to be less so, and they are advertised as having the
same purpose (to generate a hopefully random key using DES).  I noticed that
des_new_random_key() is used nowhere in the code.  Is this the successor to
des_random_key()?

-- Steve

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