bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] infinite symlink directory loop causes segfault with --create


From: Pavel Raiskup
Subject: [Bug-tar] infinite symlink directory loop causes segfault with --create --dereference
Date: Wed, 09 Jul 2014 15:11:29 +0200
User-agent: KMail/4.12.5 (Linux/3.14.9-200.fc20.x86_64; KDE/4.12.5; x86_64; ; )

Subject says it pretty much all, but see the Red Hat bugreport for
backtrace and other files [1].

Attached patch fixes this by not recursing down to the loop - not sure
whether the looping directory point should be backed up also, but
it makes sense IMO (as the symlink itself would be otherwise backed up if
the --dereference option was not specified.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1115890

Pavel

Attachment: 0001-create-do-not-segfault-with-dereference.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]