Backtrace: ---------- Starting program: /usr/bin/lineakconfig Program received signal SIGSEGV, Segmentation fault. dcfp_rm_first_spaces (ptr=0x1 <Address 0x1 out of bounds>) at dcfp.c:430 430 dcfp.c: No such file or directory. in dcfp.c (gdb) bt #0 dcfp_rm_first_spaces (ptr=0x1 <Address 0x1 out of bounds>) at dcfp.c:430 #1 0x0805779f in dcfp_parse_var (varptr=0x80eb1c0, line=0x80eb381 " ") at dcfp.c:249 #2 0x08057c26 in dcfp_parse_section (sectptr=0x80eb170, fp=0x8074c60, line=0x3d3d3d3d <Address 0x3d3d3d3d out of bounds>, line_nr=0xafdfee78) at dcfp.c:356 #3 0x08057c90 in dcfp_parse_section (sectptr=0x80e1d30, fp=0x8074c60, line=0x73654400 <Address 0x73654400 out of bounds>, line_nr=0xafdfee78) at dcfp.c:344 Reproducible: Always Steps to Reproduce:
Pointer not checked before incrementing. --- src/dcfp.c~ 2007-06-06 10:02:01.000000000 -0400 +++ src/dcfp.c 2007-06-06 10:02:19.000000000 -0400 @@ -245,7 +245,8 @@ value = (char *)malloc(sizeof(char)); *value = '\0'; firstptr = strchr(line, '='); - firstptr++; + if(firstptr != NULL) + firstptr++; ptr = dcfp_rm_first_spaces(firstptr); if (ptr==NULL) return value;
Maarten, Thanks for your patch but from upstream page: "lineakconfig and klineakconfig-0.5.x are NOT compatible with lineakd > 0.4.x" I'm going to remove this package from tree.
Unless you have objections? FYI, It is also using GTK+-1.2.
I cannot find klineakconfig in the portage. Is it part of another package or should I install it manually?
(In reply to comment #4) > I cannot find klineakconfig in the portage. Is it part of another package or > should I install it manually? > It was allready removed sometime ago because it's not compatible with current lineakd. See upstream page.
# Samuli Suominen <drac@gentoo.org> (06 Jun 2006) # Masked for removal in 30 days. Uncompatible with # current lineakd as per upstream page. Bug 181079. x11-misc/lineakconfig