Hi, I'm experiencing a segmentation fault when parsing a configuration file, with isync 1.0.3 under `uname -prs` NetBSD 4.99.1 i386
It was caught in function load_config from config.c, and due to the store pointer not being initialised, when parsing an IMAPAccount. The following patch fixes the issue, thought you might prefer to add *storep = NULL in drv_imap.c:1707 Best regards, antoine
$NetBSD: patch-ae,v 1.5 2007/01/18 18:26:21 tonio Exp $
--- src/config.c.orig 2006-11-01 07:54:31.000000000 +0100
+++ src/config.c
@@ -252,7 +252,7 @@ int
load_config( const char *where, int pseudo )
{
conffile_t cfile;
- store_conf_t *store, **storeapp = &stores, **sptarg;
+ store_conf_t *store = NULL, **storeapp = &stores, **sptarg;
channel_conf_t *channel, **channelapp = &channels;
group_conf_t *group, **groupapp = &groups;
string_list_t *chanlist, **chanlistapp;
pgpe4aOb4o9Pe.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ isync-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/isync-devel
