[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Radiusplugin-devel] [PATCH] Radiusplugin crash on username with tra
From: |
Ralf Lübben |
Subject: |
Re: [Radiusplugin-devel] [PATCH] Radiusplugin crash on username with trailing space |
Date: |
Mon, 9 Feb 2009 18:53:08 +0100 |
User-agent: |
KMail/1.10.3 (Linux/2.6.27-9-generic; KDE/4.1.3; i686; ; ) |
Hello,
thanks for the information, I will test it soon.
Do you use the option "username-as-comon-name" in OpenVPN, because the
username is not part of the key I use in the plugin.
A fix related to your patch will be added in the next version.
Cheers
Ralf
Am Montag 09 Februar 2009 11:32:55 schrieb Sumedha Widyadharma:
> Hello,
>
> I encountered a crash of radiusplugin when a user tried to log into our
> VPN server with a trailing whitespace on his username.
>
> findUser in radiusplugin.cpp returned NULL.
>
> My bandaid fix was to check for this event and throw an exception. maybe
> there's some better way to fix this. I'll see to it if I find time.
>
> Cheers
> Sumedha Widyadharma