[2094] in Kerberos-V5-bugs

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

problem in src/appl/bsd/krsh.c?

daemon@ATHENA.MIT.EDU (John Kilburg)
Fri Jul 12 17:59:40 1996

To: krb5-bugs@MIT.EDU
Date: Fri, 12 Jul 1996 14:59:26 -0700
From: John Kilburg <john@hubble.physics.unlv.edu>

The program krsh is dumping core on IRIX 6.1 (using SGI's cc) and I think
I tracked the problem down to the call to kcmd() in krsh.c.  Looks like
krcp.c and krlogin.c have the same problem but it doesn't appear to
cause trouble for some reason.

server_seqno had the value 0xffffffff00000000.  I suppose it would have
worked correctly if I had compiled with -32.

In my opinion, NULL is a better thing to use here anyways :)

blue$ diff krsh.c krsh.c.orig
352,353c352,353
<                 NULL,        /* No need for sequence number */
<                 NULL,        /* No need for server seq # */
---
>                 0,        /* No need for sequence number */
>                 0,        /* No need for server seq # */

Seems to work fine on our other machines
(DEC UNIX 3.2C, AIX 3.2.5, SunOS 4.1.x, FreeBSD 2.1).

Thanks for your efforts.

							-john

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