From owner-cvs-sbin Tue Jul 23 12:33:52 1996 Return-Path: owner-cvs-sbin Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA06323 for cvs-sbin-outgoing; Tue, 23 Jul 1996 12:33:52 -0700 (PDT) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id MAA06306; Tue, 23 Jul 1996 12:33:45 -0700 (PDT) Date: Tue, 23 Jul 1996 12:33:45 -0700 (PDT) From: "Jordan K. Hubbard" Message-Id: <199607231933.MAA06306@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/restore main.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jkh 96/07/23 12:33:45 Modified: sbin/restore main.c Log: When running 'rrestore foo', you get a segmentation fault because the obsolete() function to convert dump-style args to getopt-style args doesn't check to see that 'f' really has an argument following the option string in argv[1]. Submitted-By: jmacd Revision Changes Path 1.2 +3 -1 src/sbin/restore/main.c