GNOME Bugzilla – Bug 311414
Crashes when trying to transfer a file with a newline character in its name
Last modified: 2018-07-01 08:40:43 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
confirming as brian has set a target milestone :-)
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.