GNOME Bugzilla – Bug 67437
balsa segfaults when I try to create an IMAP sub-folder
Last modified: 2009-08-15 18:40:50 UTC
Package: balsa Severity: normal Version: 1.2.3 Synopsis: balsa segfaults when I try to create an IMAP sub-folder Bugzilla-Product: balsa Bugzilla-Component: general Description: Mail server is cyrus-imap on a FreeBSD-box Debugging Information: (no debugging symbols found)...[New Thread 1024 (LWP 1225)] [New Thread 2049 (LWP 1226)] 0x401a8669 in __wait4 () from /lib/i686/libc.so.6
+ Trace 15398
------- Bug moved to this database by unknown@bugzilla.gnome.org 2001-12-23 09:47 ------- The original reporter (m.ephraim@xs4all.nl) of this bug does not have an account here. Reassigning to the exporter, unknown@bugzilla.gnome.org. Reassigning to the default owner of the component, pawsa@theochem.kth.se.
I don't follow this stack trace, but it suggests that strcmp may be failing on NULL string arguments. A patch follows to protect against these, and also to fix up some problems with the subfolder rename code. Files libbalsa/mailbox_imap.c: - correct a misleading comment; - remove two space characters from a string. src/folder-conf.c: - add `old_dir' member to structure, to remember the original imap pathname of the subfolder and pass it to libbalsa_imap_rename_subfolder; - use a macro to protect strcmp;
Created attachment 6311 [details] [review] patch against current cvs
*** This bug has been marked as a duplicate of 64917 ***
balsa-1.3.5 and 2.0.0 released, closing this report for good.