Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 09 Nov 2010 20:15:45 +0800
From: Andy Sy <andy.sy@...titans.com>
To: popa3d-users@...ts.openwall.com
Subject: Re: popa3d-vname, allowing hierarchies for "domain:directory"
 in vnamemap

> 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!

Yes, sorry, typo.  This is how the new line looks:

   if ( strstr(address, '/') || strchr(user, '/')) ...

became:

   if ( strstr(address, "..") || strchr(user, '/'))

- Andy



Powered by blists - more mailing lists

Your e-mail address:

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