[Patch] Recent security improvements breaks proftpd

Corinna Vinschen cygwin-patches@cygwin.com
Fri Sep 26 12:58:00 GMT 2003


On Fri, Sep 26, 2003 at 02:53:28PM +0200, Corinna Vinschen wrote:
> Btw., shouldn't that be
> 
>   SetTokenInformation (ptok, TokenDefaultDacl, pdacl, pAcl->AclSize)
>                                                       ^^^^^^^^^^^^^
> 						      instead of sizeof(buf)?

Urgh.  What I meant was: 

  sizeof *pdacl + pAcl->AclSize

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-patches mailing list