Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Segfault with invalid use of %{home_server} #1922
Comments
alandekok
added a commit
that referenced
this issue
Feb 24, 2017
|
|
alandekok |
74d2ecc
|
|
While it shouldn't crash, that configuration is meaningless and does nothing. I've pushed a fix. |
pauldekkers
commented
Feb 24, 2017
|
Thanks, that resolves it. I was aware it was a meaningless configuration. |
pauldekkers
closed this
Feb 24, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pauldekkers commentedFeb 24, 2017
Issue type
Defect/Feature description
I shouldn't use it like this, but I guess FreeRADIUS shouldn't crash either ;-)
I was evaluating whether I can see variables from my realm pool or home_server at all in unlang. When I add
in my default server, I get a Segmentation Fault
How to reproduce issue
With 3.0.x of today, tried on a Debian machine with ./configure or make deb (doesn't matter):
Add:
in the default-server, or
%{home_server_pool}for that matter, and a simple proxy.conf:What I was after BTW was
%{home_server_pool:somevar}which works fine :-) but I tried that later obviously. (Or%{realm:somevar}which appears to be unavailable, confirming from rlm_realm source).Output of gdb showing issue occurring