From owner-cvs-usrbin Fri Aug 22 15:15:01 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA06648 for cvs-usrbin-outgoing; Fri, 22 Aug 1997 15:15:01 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA06609; Fri, 22 Aug 1997 15:14:36 -0700 (PDT) From: Warner Losh Received: (from imp@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id PAA11120; Fri, 22 Aug 1997 15:14:18 -0700 (PDT) Date: Fri, 22 Aug 1997 15:14:18 -0700 (PDT) Message-Id: <199708222214.PAA11120@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrbin@FreeBSD.ORG Subject: cvs commit: src/usr.bin/tip/tip cmds.c tip.c tip.h Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 1997/08/22 15:14:18 PDT Modified files: usr.bin/tip/tip cmds.c tip.c tip.h Log: Fix buffer overflow. prompt didn't get a size for its buffer, so it could overflow it. Also made some filenames MAXPATHLEN long rather than 80 long. Revision Changes Path 1.4 +13 -13 src/usr.bin/tip/tip/cmds.c 1.4 +5 -4 src/usr.bin/tip/tip/tip.c 1.3 +7 -3 src/usr.bin/tip/tip/tip.h