From owner-cvs-gnu Sat Jun 22 10:51:43 1996 Return-Path: owner-cvs-gnu Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA23091 for cvs-gnu-outgoing; Sat, 22 Jun 1996 10:51:43 -0700 (PDT) Received: from precipice.shockwave.com (ppp-5-75.rdcy01.pacbell.net [206.170.5.75]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA23078; Sat, 22 Jun 1996 10:51:37 -0700 (PDT) Received: from shockwave.com (localhost.shockwave.com [127.0.0.1]) by precipice.shockwave.com (8.7.5/8.7.3) with ESMTP id KAA22886; Sat, 22 Jun 1996 10:51:11 -0700 (PDT) Message-Id: <199606221751.KAA22886@precipice.shockwave.com> To: Bruce Evans , ache@freebsd.org cc: CVS-committers@freefall.freebsd.org, ache@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-gnu@freefall.freebsd.org Subject: Re: cvs commit: src/gnu/usr.bin/man/man Makefile man.c In-reply-to: Your message of "Sat, 22 Jun 1996 16:29:17 +1000." <199606220629.QAA21238@godzilla.zeta.org.au> Date: Sat, 22 Jun 1996 10:51:11 -0700 From: Paul Traina Sender: owner-cvs-gnu@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Andrew asked me to review it, and I started to do so, found security problems with it and never got back to him in a timely manner. My fault. Andrew, please back these changes out, I'm sorry, I'm totally swamped with the new job, but I will absolutely positively get back to you next week. Paul From: Bruce Evans Subject: Re: cvs commit: src/gnu/usr.bin/man/man Makefile man.c > Modified: gnu/usr.bin/man/man Makefile man.c > Log: > Close security holes and restore suid bit > Restore writting cat's functionality > Revision Changes Path > 1.16 +2 -0 src/gnu/usr.bin/man/man/Makefile > 1.15 +123 -46 src/gnu/usr.bin/man/man/man.c This should have been reviewed. I found a bug easily: $ man -d ls [Nothing interestting] $ su # mkdir /usr/share/man/cat1 # I don't have cat directories # chown man /usr/share/man/cat1 # exit $ man -d ls [Nothing interesting] $ man ls zcat: /usr/share/man/cat1/ls.1.gz: unexpected end of file [file is 0 bytes long] The old version built the cat file normally even in the debugging case. Bruce