rlm_sql: Bug in stripping output of dynamic strings {sql:...}
Alan DeKok
aland at deployingradius.com
Sat Apr 14 03:26:11 CEST 2007
Milan Holub wrote:
> Unfortunately I'm getting the output stripped by last character(byte):
> instead of getting 37 for session_count I get 3, instead of getting 1563
> for noresetcounterflat I get 156, instead of getting "S3H" for product_code
> I get "S3". When the query returns 1 character I get empty output.
Ah. That looks like an issue with "strlcpy". Try a "cvs update",
I've fixed a line in sql_xlat.
Alan DeKok.
--
http://deployingradius.com - The web site of the book
http://deployingradius.com/blog/ - The blog
More information about the Freeradius-Users
mailing list