Bug 168184 - Segmentation fault when copy symlink with checked "Stable Symlinks"
Summary: Segmentation fault when copy symlink with checked "Stable Symlinks"
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mc
Version: 4
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-09-13 10:34 UTC by Marcin Garski
Modified: 2013-07-02 23:09 UTC (History)
2 users (show)

Fixed In Version: mc-4.6.1a-0.15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-13 17:06:27 UTC
Type: ---
Embargoed:


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

Description Marcin Garski 2005-09-13 10:34:12 UTC
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 10:48:06 UTC
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.