Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 9 Nov 2010 14:49:13 +0300
From: Solar Designer <solar@...nwall.com>
To: popa3d-users@...ts.openwall.com
Subject: Re: popa3d-vname, allowing hierarchies for "domain:directory" in vnamemap

Andy,

On Tue, Nov 09, 2010 at 07:24:25PM +0800, Andy Sy wrote:
> Was able to drastically simplify the patch by just replacing
> 
>   if ( strchr(user, '/') || ...
> 
> with:
> 
>   if ( strstr(address, "..") || ...

You need to keep the user check as well!

Alexander

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ