Segmentation fault in "rlm_pap"

Alan DeKok aland at deployingradius.com
Thu Aug 9 15:54:02 CEST 2012


Urban Loesch wrote:
> [pap] login attempt with password "232nr4Cs"
> [pap] Using SMD5 encryption.
> [pap] Normalizing SMD5-Password from base64 encoding
> Segmentation fault

  Oops.  My guess is that the SMD5 password isn't correctly formed.

  Can you share it?

> After the crash above I tried to run freeradius with gdb. When it
> crashes I got the following in gdb shell:

  OK.  That helps.  I still don't see why it's a problem.

> I also tried to compile freeradius version 2.1.12 from latest git, but
> it's always the same.
> After some hours it crashes  too.
> 
> Have you any idea what could cause this strange crashes?

  The SMD5 password is probably in a weird format.

> If you need any further info please let me know.

  A copy of the SMD5 password.

  Alan DeKok.


More information about the Freeradius-Users mailing list