Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Sep 1995 11:09:21 -0700
From:      Joerg Wunsch <joerg>
To:        CVS-commiters, cvs-sbin
Subject:   cvs commit: src/sbin/restore dirs.c
Message-ID:  <199509011809.LAA12144@freefall.FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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".



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199509011809.LAA12144>