Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site anasazi.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!hao!noao!terak!anasazi!guy From: guy@anasazi.UUCP (Guy Finney) Newsgroups: net.sources.bugs,net.micro Subject: C-Kermit literal filename bug fix Message-ID: <166@anasazi.UUCP> Date: Thu, 25-Apr-85 18:25:25 EDT Article-I.D.: anasazi.166 Posted: Thu Apr 25 18:25:25 1985 Date-Received: Sun, 28-Apr-85 05:45:29 EDT Distribution: net Organization: Anasazi, Phoenix Az. Lines: 25 Xref: linus net.sources.bugs:272 net.micro:8835 Apologies if this has been around before... We're running C-Kermit Prerelease version #2 dated 5 Mar 85 made with 'sys3'. Running as a server using literal filenames, a 'get' for any file fails saying the file can't be opened. The problem seems to be in the sfile() routine... if (fncnv) { . . . } else { if (*cmarg2 != '\0') strcpy(pktnam, cmarg2); else strcpy(filnam, pktnam); } The last strcpy() has its args reversed, nulling out filnam and producing the error. It should read strcpy(pktnam, filnam) instead. I'm not sure how to report this bug to the powers that be at Columbia, so if some kind soul would forward this (only if it's a new bug)... -- Guy Finney {decvax|ihnp4|hao}!noao!terak!anasazi!guy