From owner-cvs-all Wed Sep 20 16: 7: 7 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id EBC2C37B424; Wed, 20 Sep 2000 16:07:04 -0700 (PDT) Received: (from imp@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA62881; Wed, 20 Sep 2000 16:07:04 -0700 (PDT) (envelope-from imp@FreeBSD.org) Message-Id: <200009202307.QAA62881@freefall.freebsd.org> From: Warner Losh Date: Wed, 20 Sep 2000 16:07:04 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/telnet telnet.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG imp 2000/09/20 16:07:04 PDT Modified files: usr.bin/telnet telnet.c Log: Fix buffer overflow when DISPLAY is longer than 43 characters. This is not exploitable because telnet doesn't run with elevated privs. Didn't fix all the other potential buffer overflows. Would be a good task for someone who has lots of time to carefully study each case because cut and paste solutions are dangerous for this code base. Added $FreeBSD$ in the same way that command.c did it. Revision Changes Path 1.9 +7 -4 src/usr.bin/telnet/telnet.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message