[1305] in Kerberos-V5-bugs

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

Re: last bug report for krlogin.c

daemon@ATHENA.MIT.EDU (John DiMarco)
Mon Mar 27 12:51:34 1995

To: "Jonathan I. Kamens" <jik@cam.ov.com>
Cc: krb5-bugs@MIT.EDU
In-Reply-To: Your message of "Sun, 26 Mar 1995 10:06:43 EST."
             <199503261506.KAA24832@gza-client1.cam.ov.com> 
Date: 	Mon, 27 Mar 1995 12:50:52 -0500
From: John DiMarco <jdd@cdf.toronto.edu>

In message <199503261506.KAA24832@gza-client1.cam.ov.com>you write:
>   From: John DiMarco <jdd@cdf.toronto.edu>
>   Date: 	Fri, 24 Mar 1995 20:18:04 -0500
>
>   Ditto for krcp.c
>
>Are you sure?  As far as I can tell, everything in krcp.c that calls
>des_read treats return values of -1 and 0 essentially identically, at
>least in krb5b4pl3.  Am I confused?

You're mostly right, except for this, in sink():
                j = des_read(rem, cp, amt);
                if (j <= 0) {
                    if (j == 0)
                      error("rcp: dropped connection");
                    else
                      error("rcp: %s\n",
                            sys_errlist[errno]);
                    exit(1);
                }

In any case, krcp -x doesn't quite work on Solaris yet; send_auth fails with
"rcp: send_auth failed krb5_read_message: Not enough space".  

And I also notice that none of the calls to des_read check for EINTR.

I've no time to track down the problems at the moment, unfortunately.

Regards,

John
--
John DiMarco <jdd@cdf.toronto.edu>                        Office: EA201B
Computing Disciplines Facility Systems Manager            Phone: 416-978-1928
University of Toronto                                     Fax:   416-978-1931
http://www.cdf.toronto.edu/personal/jdd/jdd.html

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