Hello, in rp3-1.0.1 I had a segmentation fault problem when using rp3-config. In account.cc, the function load_accounts, the line marked 3 should go in 1; otherwise, if the continue statement 2 is reached, tmp does not get updated, and the same interfaced is released twice, causing segmentation faults when freeing the buffers twice. The bug has gone away with the modification I propose. A different problem arises in inteface.c, at the line glob("/etc/sysconfig/network-scripts/ifcfg-*", 0, NULL, &globbuf); a file ifcfg- was present in my configuration, causing problems. Cheers, Paolo Nason GSList* load_accounts (void) { .... tmp = ifs; while (tmp != NULL) { interface* iface = (interface*)tmp->data; 1 /* should be here */ tmp = g_list_next(tmp); if (strncmp(iface->logicalName, "ppp", strlen("ppp")) == 0) { Account* a; char* tmp; tmp = svGetValue (iface->ifcfg, "WVDIALSECT"); if (tmp == NULL) { interface_free (iface); 2 continue; } ................. } else { interface_free(iface); } 3 tmp = g_list_next(tmp); } g_list_free(ifs); return accounts; }
Please try the test release ftp://people.redhat.com/rp3/rp3-1.0.2-1.i386.rpm and report whether it fixes this problem for you.
Paolo reports this not fixed in 1.0.2.
Thanks for the patch. This is fixed in the source and will be in the next release. -Jonathan