29 Oct
2008
29 Oct
'08
3:39 p.m.
Dmitry V. Krivenok wrote:
gdb determined that error occurs in pairfind:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7ba4ac0 (LWP 9773)] 0xb7b360fa in osb_authorize (inst=0x8179e30, request=0x819c670) at rlm_osb.c:73 73 if(pairfind(request->packet->vps, PW_STATE))
I found that request->packet is NULL.
If that's NULL, then your code is wrong.
Is it correct request? How should I handle requests with packet field == NULL?
It's impossible for the field to be NULL. Maybe you didn't re-build your module with 2.1.1. The header files *have* changed. Alan DeKok.