Hi Javier, after a bit of conversation with Adolf in privat Mail I think I know the reason for this bug.
in probe.c:
117 >···g_list_foreach(probes, get_probe_each, args);
...
98 struct probe **pp = (struct probe **)args[1];
99
100 // DEBUG(printf("%s()\n", __FUNCTION__));
101 if(*pp == NULL)
102 {
103 if( p->port == (u16)port)
104 *pp = p;
105 }
106 }
I don't even know what cheops-ng is for, never used it so I don't know in which
situation
this happens but if g_list_foreach will pass a NULL pointer to args pp will
become NULL
which results in a segmentation fault in line 101.
To fix this a a check if(!pp) should be enough and maybe an additional check
why this function
passes a NULL pointer.
Kind regards
Nico
--
Nico Golde - http://www.ngolde.de
JAB: [EMAIL PROTECTED] - GPG: 0x73647CFF
Forget about that mouse with 3/4/5 buttons,
gimme a keyboard with 103/104/105 keys!
pgpfM3NLq2cKo.pgp
Description: PGP signature

