]> Dogcows Code - chaz/tar/commitdiff
tar: do not dereference NULL pointer with '--remove-files .'
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 29 Apr 2014 21:22:07 +0000 (14:22 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 29 Apr 2014 21:22:59 +0000 (14:22 -0700)
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.


No differences found
This page took 0.022766 seconds and 4 git commands to generate.