bug in rlm_eap/mem.c

양승용 syyang at unet.kr
Wed Jul 23 04:03:41 CEST 2008


The following is a patch for bug in mem.c (2.0.5 version)
In some condition bug in mem.c leads to a memory leak and crash

*** mem.c       2008-02-10 04:18:10.000000000 -0500
--- mem.c.patch 2008-07-19 20:04:35.000000000 -0400
***************
*** 390,395 ****
--- 390,396 ----
                                handler->next->prev = NULL;
                        } else {
                                inst->session_head = NULL;
+                               inst->session_tail = NULL;
                        }
                        eap_handler_free(handler);
                }




More information about the Freeradius-Devel mailing list