Bug 168184 - Segmentation fault when copy symlink with checked "Stable Symlinks"
Segmentation fault when copy symlink with checked "Stable Symlinks"
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: mc (Show other bugs)
4
All Linux
medium Severity high
: ---
: ---
Assigned To: Jindrich Novy
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-13 06:34 EDT by Marcin Garski
Modified: 2013-07-02 19:09 EDT (History)
2 users (show)

See Also:
Fixed In Version: mc-4.6.1a-0.15
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-09-13 13:06:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch to fix the segfault while creating a symlink. (1.27 KB, patch)
2005-09-13 06:48 EDT, Jindrich Novy
no flags Details | Diff

  None (edit)
Description Marcin Garski 2005-09-13 06:34:12 EDT
mc-4.6.1a-0.11.FC4

1. Create "mc" directory
2. Change directory to "mc"
3. Create ".eDonkey2000" directory
4. Create ".overnet" symlink pointing to ".eDonkey2000"
5. Copy ".overnet" symlink to "/tmp" BUT check "Stable Symlinks" in copy 
dialog.
6. Watch mc crash

How "mc" directory should look:
[marcin@drosera mc]$ ls -la
total 4
drwxrwxr-x   4 marcin marcin  128 Sep 13 00:40 .
drwxr-xr-x  79 marcin marcin 3816 Sep 13 01:05 ..
drwxrwxr-x   2 marcin marcin   48 Sep 13 00:39 .eDonkey2000
lrwxrwxrwx   1 marcin marcin   12 Sep 13 00:40 .overnet -> .eDonkey2000
Comment 1 Jindrich Novy 2005-09-13 06:48:06 EDT
Created attachment 118751 [details]
Patch to fix the segfault while creating a symlink.

Marcin, thanks for filing the report. Here we go with a quick fix for this.
I'll backport it to the upsream mc and send it to mc-devel as well.

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