Hi All,<br>I upgraded my freeradius from 1 to 2. When do eap-tls authenticate, the radiusd crashed in debug mode.<br>After debug the code, I found the following code which didn't appear in version 1.<br><i>int eaplist_add(rlm_eap_t *inst, EAP_HANDLER *handler)<br>
......<br> if (fr_debug_flag) {<br> check_handler_t *check = rad_malloc(sizeof(*check));<br><br> check->inst = inst;<br> check->handler = handler;<br> check->trips = handler->trips;<br>
request_data_add(request, inst, 0, check,<span style="color: rgb(255, 0, 0);"> check_handler</span>);<br> }<br> ......<br>}</i><br><br>In function request_free, it would call "<i>this->free_opaque(this->opaque);</i>", this is actually "<i>check_handler</i>".<br>
The process crashed in "<i>rbtree_finddata()</i>".<br><br>Could anyone tell me why add these code in new version?<br>