Assertion failed in request_list.c
Alan DeKok
aland at ox.org
Mon Aug 15 21:13:01 CEST 2005
Matthias Ruttmann <ruttmann at bartels.de> wrote:
> some time ago I expirienced the same problem. I think the problem is located
> in main/threads.c line 256, where the threadlist is reallocated:
I think you're right.
> the pointer new_queue is typed, the add operator imlpizit multiplies with the
> size of *new_queue and the code doubles the multiplication.
> => memset zeros an area far behind the queue
I don't agree. That code is OK.
> Regard: This solves only half of the problem.
> The queue has moving start and end. After reallocation the
> queue_size is adjusted, but queue_tail may still point in the middle
> of the list, so you'll override entries.
That's the real cause of the problem.
I'll add a patch in. I'd like to release 1.0.5 this week, if
possible.
Alan DeKok.
More information about the Freeradius-Devel
mailing list