From owner-cvs-usrbin Sun Aug 24 22:03:08 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id WAA18116 for cvs-usrbin-outgoing; Sun, 24 Aug 1997 22:03:08 -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 WAA18085; Sun, 24 Aug 1997 22:02:48 -0700 (PDT) From: Warner Losh Received: (from imp@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id WAA08164; Sun, 24 Aug 1997 22:02:12 -0700 (PDT) Date: Sun, 24 Aug 1997 22:02:12 -0700 (PDT) Message-Id: <199708250502.WAA08164@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 tipout.c Sender: owner-cvs-usrbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk imp 1997/08/24 22:02:12 PDT Modified files: usr.bin/tip/tip cmds.c tip.c tip.h tipout.c Log: Change from using sys/param.h and MAXPATHLEN to using limits.h and PATH_MAX to avoid the NOFILE problem. Back out NOFILE kludge. Fix unexploitable buffer overflow in tipout.c. Reviewed by: millert@openbsd.org (tipout.c) Submitted by: millert@openbsd.org (rest of idea) Revision Changes Path 1.5 +2 -2 src/usr.bin/tip/tip/cmds.c 1.5 +3 -3 src/usr.bin/tip/tip/tip.c 1.4 +4 -4 src/usr.bin/tip/tip/tip.h 1.5 +2 -2 src/usr.bin/tip/tip/tipout.c