Critical bug in rlm_eap/mem.c

양승용 syyang at unet.kr
Wed Jul 23 03:57:00 CEST 2008


The following is a patch for bug in mem.c

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);

                }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20080723/45ddc7e4/attachment.html>


More information about the Freeradius-Devel mailing list