Skip Menu |

Download (untitled) / with headers
text/plain 2.1KiB
From Wed Jan 29 19:52:16 1997
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU []) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id TAA16600 for <bugs@RT-11.MIT.EDU>; Wed, 29 Jan 1997 19:52:12 -0500
Received: from by MIT.EDU with SMTP
id AA18219; Wed, 29 Jan 97 19:52:11 EST
Received: (from ahobson@localhost)
by (8.8.4/8.8.4)
id TAA09992; Wed, 29 Jan 1997 19:52:10 -0500 (EST)
Message-Id: <>
Date: Wed, 29 Jan 1997 19:52:10 -0500 (EST)
From: Andrew Hobson <>
To: krb5-bugs@MIT.EDU
Subject: rcp -x minor bug
X-Send-Pr-Version: 3.99

Show quoted text
>Number: 359
>Category: krb5-clients
>Synopsis: rcp -x file1 file2 non-existantfile core dumps
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gjking
>State: feedback
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Wed Jan 29 19:53:01 EST 1997
>Last-Modified: Sat Aug 15 01:34:30 EDT 1998
>Originator: Andrew Hobson
MindSpring Enterprises
Show quoted text
>Release: 1.0
FreeBSD 2.2_BETA. PPro 200MHz.
System: FreeBSD 2.2-BETA_A FreeBSD 2.2-BETA_A #0: Sun Dec 29 13:36:58 EST 1996 i386

Show quoted text
$ rcp -x .zprofile .zshrc b
zsh: segmentation fault (core dumped) rcp -x .zprofile .zshrc b

(gdb) bt
#0 0x4688 in des_write (fd=-1,
buf=0xefbfb640 "\001rcp: b: No such file or directory.\n", len=36)
at krcp.c:1442
#1 0xefbfd758 in end ()
#2 0x3d9b in error (fmt=0x2702 "") at krcp.c:1173
#3 0x2765 in verifydir (cp=0xefbfd805 "b") at krcp.c:609
#4 0x22dd in main (argc=3, argv=0xefbfd764) at krcp.c:465

Note that the coredump only happens when encryption is turned on.

Show quoted text
rcp -x file1 file2 non-existantfile core dumps
Show quoted text
The global variable rem is -1 and des_write assumes a valid file
descriptor. I'm not supplying a patch because I don't know where to
put the check for rem == -1.
Show quoted text