Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2009 19:51:07 +0200
From:      Oliver Pinter <oliver.pntr@gmail.com>
To:        =?ISO-8859-1?Q?Dag=2DErling_Sm=F8rgrav?= <des@des.no>
Cc:        freebsd-hackers@freebsd.org, Jakub Lach <jakub_lach@mailplus.pl>
Subject:   Re: FYI Lighttpd 1.4.23 /kernel (trailing '/' on regular file  symlink) vulnerability
Message-ID:  <6101e8c40905271051r3bb9d633kec6d198d45fc9cf6@mail.gmail.com>
In-Reply-To: <86vdnmijgs.fsf@ds4.des.no>
References:  <23727599.post@talk.nabble.com> <86prdvipwe.fsf@ds4.des.no> <0vGjPHEq7MqxjtFmBufY%2BmBxlR4@7oUjtCwN654QcDr16CH%2BkAk8bJg> <86vdnmiz30.fsf@ds4.des.no> <15QQC%2B1YeDzOjf35dqyJmioc1ik@XX1fo6zQUfC4h0jjRC6IBz3oNH4> <86prdug1p0.fsf@ds4.des.no> <nhZ4ZNM2NtGGBpfrd4LGzlLPCPs@10Ilc7MfiXA2JVIRVQpZfk7cTQ4> <86vdnmijgs.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

This is a redefinitions of PARAMASK in the patch, that you attached

-------8<---------
 ...
 #define	PARAMASK	0x0ffffe00 /* mask of parameter descriptors */
+#define	TRAILINGSLASH	0x10000000 /* path ended in a slash */
+#define	PARAMASK	0x1ffffe00 /* mask of parameter descriptors */
 ...
-------8<---------



On 5/27/09, Dag-Erling Sm=F8rgrav <des@des.no> wrote:
> Eygene Ryabinkin <rea-fbsd@codelabs.ru> writes:
>> [new three-part patch]
>
> I committed the namei.h cleanup patch and the vfs_lookup.c comment
> patch.
>
> I made a number of changes to the trailing-slash patch.  Can you
> double-check it before I commit it?
>
> DES
> --
> Dag-Erling Sm=F8rgrav - des@des.no
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6101e8c40905271051r3bb9d633kec6d198d45fc9cf6>