After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 311414 - Crashes when trying to transfer a file with a newline character in its name
Crashes when trying to transfer a file with a newline character in its name
Status: RESOLVED WONTFIX
Product: gftp
Classification: Other
Component: general
2.0.18
Other Mac OS
: Normal critical
: 2.0.19
Assigned To: Brian Masney
Brian Masney
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2005-07-24 14:43 UTC by falko
Modified: 2018-07-01 08:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description falko 2005-07-24 14:43:38 UTC
Distribution/Version: 10.4.2 using Fink

In MacOS X, some directories contain "Icon" files that are normally invisible to the user. They are either 
created by OS 9 or OS X. Their filenames end with a newline character (0x0A). If one tries to transfer 
these files, gftp crashes.
First of all, it's a good thing that gftp doesn't transfer those files as it's really hard to remove them or 
rename them after uploading, but it'd probably be better if gftp wouldn't crash.

Here's a traceback reported by os x:
Command: gftp-gtk
Path:    /sw/bin/gftp-gtk
Parent:  bash [11704]

Version: ??? (???)

PID:    11705
Thread: 1

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000010

Thread 0:
0   libSystem.B.dylib      	0x9001efec select + 12
1   libglib-2.0.0.dylib    	0x01075c44 g_poll + 376 (icplusplus.c:28)
2   libglib-2.0.0.dylib    	0x0107ca68 g_main_context_iterate + 1400 (icplusplus.c:28)
3   libglib-2.0.0.dylib    	0x0107cfb8 g_main_loop_run + 888 (icplusplus.c:28)
4   libgtk-x11-2.0.0.dylib 	0x004d48a4 gtk_main + 220 (icplusplus.c:28)
5   gftp-gtk               	0x0000aab8 main + 728 (gftp-gtk.c:1338)
6   gftp-gtk               	0x00002948 _start + 348 (crt.c:272)
7   gftp-gtk               	0x000027e8 start + 60
Comment 1 André Klapper 2006-11-02 23:31:05 UTC
confirming as brian has set a target milestone :-)
Comment 2 André Klapper 2018-07-01 08:40:43 UTC
gftp is not under active development anymore and has not seen code changes for many years. Its codebase has been archived: https://gitlab.gnome.org/Archive/gftp/commits/master
The maintainer states that "I would like to hand this project off to someone compotent" on https://www.gftp.org/

Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (or rather transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active development again.