Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4CD93B71.5010605@neotitans.com>
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

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.