eDir Universal password implementation.

Alan DeKok aland at deployingradius.com
Fri Dec 7 17:54:36 CET 2012


Olivier Beytrison wrote:
> (gdb) p bufsize
> $5 = 256
> (gdb) p MAX_STRING_LEN
> No symbol "MAX_STRING_LEN" in current context.

  It's a preprocessor macro.

> (gdb) n
> 220             if (bufsize >= MAX_STRING_LEN) {
> (gdb) n
> 221                     err = NMAS_E_BUFFER_OVERFLOW;
> 
> bufsize=256 is weird, in this case my password is 14 char long.

  I've pushed a one-character fix.

  Alan DeKok.


More information about the Freeradius-Devel mailing list