[Bug 209722] [NEW] wavemon crashes with "Segmentation fault" if config-File cannot be written

Launchpad Bug Tracker 209722 at bugs.launchpad.net
Mon Dec 29 03:38:24 GMT 2008


You have been subscribed to a public bug by Weboide (weboide):

Binary package hint: wavemon

Hello,

i start wavemon 0.4.0b-11 on a system, were the folder is read-only, were wavemon will save his
config-file. So wavemon crashes with "Segmentation fault", if you try to save the file.

I think this in file conf.c function write_cf() will not clearly work:
...
	if ((fd = fopen(cfname, "w")) < 0) fatal_error("cannot open %s", cfname);
	ll_reset(cfld);
	while ((lp = ll_getall(cfld))) fputs(lp, fd);
	fclose(fd);
....

I think it is the same about the other fopen() functions in wavemon.

Hope you understand me. Excuse my bad english.

Yours sincerely, Pinking.

** Affects: wavemon (Ubuntu)
     Importance: Low
         Status: Confirmed


** Tags: bitesize
-- 
wavemon crashes with "Segmentation fault" if config-File cannot be written
https://bugs.launchpad.net/bugs/209722
You received this bug notification because you are a member of Ubuntu Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list