Freeradius possible memory leak
aland at deployingradius.com
Tue Sep 8 13:59:05 CEST 2009
Szymon Roczniak wrote:
> The one that uses leaking memory returns "Auth-Type : Accept" from
":" ? What's that?
> authorize_check_query = "SELECT 1,'notused','Auth-Type','Accept',':' FROM
That's the issue. The operator is wrong. Use ":=", not ":"
It shouldn't leak memory, so that still needs to be fixed.
I'm not sure why it leaks, either. All of the code paths *appear* to
clean up after themselves. But the rlm_sql code is rather too
complicated for its own good.
More information about the Freeradius-Users