lkml.org 
[lkml]   [1999]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] Brown paperbag bug in 2.3.14 (kHTTPd)
Hi,

Andrea just found a bug in kHTTPd in 2.3.14, of the brown-paperbag-kind.
I don't know how the h*ll this ever worked. (It did work when I coded it,
I can't trace when it stopped working). If you are using kHTTPd, you
should apply this patch.

Greetings,
Arjan van de Ven


--- linux/net/khttpd/security.c~ Thu Aug 19 20:40:23 1999
+++ linux/net/khttpd/security.c Thu Aug 19 20:40:42 1999
@@ -156,7 +156,7 @@

while (List!=NULL)
{
- if (strstr(List->value,Filename)!=NULL)
+ if (strstr(Filename,List->value)!=NULL)
{
if (filp!=NULL)
fput(filp);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.077 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site