From owner-cvs-sbin Fri Sep 1 11:09:23 1995 Return-Path: cvs-sbin-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id LAA12154 for cvs-sbin-outgoing; Fri, 1 Sep 1995 11:09:23 -0700 Received: (from joerg@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id LAA12144 ; Fri, 1 Sep 1995 11:09:21 -0700 Date: Fri, 1 Sep 1995 11:09:21 -0700 From: Joerg Wunsch Message-Id: <199509011809.LAA12144@freefall.FreeBSD.org> To: CVS-commiters, cvs-sbin Subject: cvs commit: src/sbin/restore dirs.c Sender: cvs-sbin-owner@FreeBSD.org Precedence: bulk joerg 95/09/01 11:09:21 Modified: sbin/restore dirs.c Log: Check a pointer in skipdirs() before dereferencing it. I don't fully understand why it can become a null pointer under some circumstances, but i've got a pile of tapes where this happens, and running it thru a debugger proved that simply ending the loop in this case did the right thing. Anyway, it cannot make it worse than now, where restore kills itself with "Memory fault".