From owner-freebsd-bugs Sun Nov 26 13:22: 9 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from p6.frust.eu.org (d9168.dtk.chello.nl [213.46.9.168]) by hub.freebsd.org (Postfix) with ESMTP id CC8E837B479; Sun, 26 Nov 2000 13:22:05 -0800 (PST) Received: (from edwin@localhost) by p6.frust.eu.org (8.11.1/8.11.1) id eAQLM5H66319; Sun, 26 Nov 2000 22:22:05 +0100 (CET) (envelope-from edwin) Date: Sun, 26 Nov 2000 22:22:04 +0100 From: Edwin Groothuis To: kris@freebsd.org Cc: freebsd-bugs@freebsd.org Subject: bin/22787: [PATCH] telnet dumps core after connecting to host with long name Message-ID: <20001126222204.A66296@p6.frust.eu.org> Mail-Followup-To: Edwin Groothuis , kris@freebsd.org, freebsd-bugs@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Kris, Please close this PR since it is a patch for the same problem. The replacement of strcpy() by strncpy() wasn't needed btw since the variable m1 (pointer to _hostname) is always maximum size of MAXHOSTNAMELEN. http://www.freebsd.org/cgi/query-pr.cgi?pr=22787 Edwin -- Edwin Groothuis | Fatal Dimensions: mavetju@chello.nl | http://fataldimensions.nl.eu.org/ ------------------+ telnet://fataldimensions.nl.eu.org:4000 Trenton@FinalFantasy: y r all fucken coders wierd and negative except me? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message