[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnu-radius] Segfault in rewrite debug for maintainer mode
From: |
Maurice Makaay |
Subject: |
Re: [Bug-gnu-radius] Segfault in rewrite debug for maintainer mode |
Date: |
Sun, 2 Nov 2003 15:31:25 +0100 |
Hi,
> I will need the exact contents of the rewrite file that caused the
> program to crash.
--------
integer
store_username()
{
%[Orig-User-Name] = %[User-Name];
return 0;
}
integer
username_tolower()
{
%[User-Name] = tolower(%[User-Name]);
return 0;
}
.....etc.....
--------
The program crashes right after the closing brace of store_username. The
minimal file I can reproduce the problem with is:
--------
integer
justreturn()
{
%[User-Name];
}
--------
My screen output reads:
--------
Nov 02 15:31:00 Main.info: Starting
Nov 02 15:31:00 Main.info: Terminating the subprocesses
Nov 02 15:31:00 Main.info: Loading configuration files.
Nov 02 15:31:00 Main.info: reading /vol/radius/uumm/raddb/config
Nov 02 15:31:00 Main.debug: rewrite.y:1287:parse_rewrite: Loading file
/vol/radius/uumm/raddb/rewrite
rw_yylex: TYPE(Integer)
rw_yylex: IDENT: justreturn
rw_yylex: (
rw_yylex: )
rw_yylex: {
rw_yylex: ATTR: User-Name
rw_yylex: ;
rw_yylex: }
Abort
--------
Regards,
-- Maurice Makaay