[sylpheed:32872] Bug in sylpheed 2.6.0

Simon Effenberg savar at schuldeigen.de
Tue Feb 24 00:33:43 JST 2009


Hi,

if i try to import a csv file into the addressbook manager i get a
segfault. After debugging i saw a problem in addr_compl.c ->
add_address() that the name is not empty but 0x0.. this does not happen
when reading the xml file. The address_entry_find_func() has then the
problem that it compares a string with a null pointer
val = strcmp(ae1->name, ae2->name);

I append a patch (which works for me).

best regards
simon
-- 
GnuPG: 5755FB64

Per aspera ad astra.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 07addr_compl.diff
Type: text/x-diff
Size: 414 bytes
Desc: not available
Url : http://www.sraoss.jp/pipermail/sylpheed/attachments/20090223/c95914fc/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://www.sraoss.jp/pipermail/sylpheed/attachments/20090223/c95914fc/attachment-0001.bin 


More information about the Sylpheed mailing list