Radius server crash due to 35# bug

Alan DeKok aland at deployingradius.com
Wed Apr 14 04:40:13 CEST 2010


Liu Linyong wrote:
> Hello Alan,
> 
> I have a question. For V2-1-7, in hash.c, please refer to the follows, 
> 
> static int list_delete(fr_hash_table_t *ht,
> 		       fr_hash_entry_t **head, fr_hash_entry_t *node)
> {
> ......
> 	for (cur = *head; cur != &ht->null; cur = cur->next) {
> 		if (cur == node) {    //  WHY NOT "if (cur->reversed == node->reversed)"  ???

  Hmm, I think it should be fixed as you said.

  Please try it.  If it works, and fixes the problem on your system, we
can add it to 2.1.9.

  Alan DeKok.



More information about the Freeradius-Devel mailing list