assert on listen.c:565

Alan DeKok aland at ox.org
Mon Nov 28 21:09:27 CET 2005


Joe Maimon <jmaimon at ttec.com> wrote:
...

  The simple solution, I think, is to delete the assertion that
"request->listener == listener".  This fails after a HUP, when the
listener is re-allocated.

  Hmm... this highlights a serious bug.  The listener should NEVER be
re-allocated, because it's being pointed to from live requests.
Therefore, the code in listen.c shouldn't allocate a new listener, but
should instead yank the old one from the old list.

  Alan DeKok.




More information about the Freeradius-Devel mailing list