From: Paul Eggert Date: Tue, 29 Apr 2014 21:22:07 +0000 (-0700) Subject: tar: do not dereference NULL pointer with '--remove-files .' X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=fc58a8bd984eb5334f713ec7ac993bddfe9e77d3;hp=fc58a8bd984eb5334f713ec7ac993bddfe9e77d3;p=chaz%2Ftar tar: do not dereference NULL pointer with '--remove-files .' Problem reported by Thorsten Hirsch in: http://lists.gnu.org/archive/html/bug-tar/2014-04/msg00011.html * src/unlink.c (flush_deferred_unlinks): Do not attempt to find the parent of "." when "." is at the top level. * tests/remfiles10.at: New file. * tests/Makefile.am (TESTSUITE_AT): * tests/testsuite.at: Add it. ---