Bug 40802 - tar segfaults on inaccessible directories in incremental mode
Summary: tar segfaults on inaccessible directories in incremental mode
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: tar   
(Show other bugs)
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bernhard Rosenkraenzer
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-05-16 00:54 UTC by Need Real Name
Modified: 2007-04-18 16:33 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-05-16 00:54:39 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description Need Real Name 2001-05-16 00:54:34 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.2-2smp i586)

Description of problem:
tar passes a null pointer to strlen() and segfaults when it it hits an
inaccessible directory

How reproducible:
Always

Steps to Reproduce:
1.mkdir tarbug
2.chmod 0 tarbug
3.tar -c -f /dev/null --listed-incremental inc.out tarbug


Actual Results:  tar: tarbug: Cannot savedir: Permission denied
Segmentation fault


Expected Results:  tar: tarbug: Cannot savedir: Permission denied


Additional info:

Comment 1 Bernhard Rosenkraenzer 2001-05-17 12:18:34 UTC
Fixed in 1.13.19-5



Note You need to log in before you can comment on or make changes to this bug.