Segment fault
Jouni Malinen
jkmaline
Wed May 7 06:41:31 PDT 2003
On Wed, May 07, 2003 at 06:06:53PM +0900, ?vBXXZcX0-? wrote:
> Lastest CVS tree.. generate Segmentation fault...because,
> at the first init time..
Not for me.. Could you please run in in debugger or use gdb to produce
backstrace from core dump?
> static int
> radius_change_server(hostapd *hapd, struct hostapd_radius_server *nserv,
> struct hostapd_radius_server *oserv,
> int sock, int auth)
>
> called by hostapd.c and oserv is NULL but in side the function the oserv-> XXXXX access cause
> segment fault...
That function should not dereference oserv if it is NULL..
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list