[lkml]   [2001]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [reiserfs-list] major security bug in reiserfs (may affect SuSE Linux)

On Wednesday, January 10, 2001 07:02:08 PM +0300 "Vladimir V. Saveliev"
<> wrote:

> Hi
> Chris Mason wrote:
>> On Wednesday, January 10, 2001 02:32:09 AM +0100 Marc Lehmann
>> <> wrote:
>> >>> EIP; c013f911 <filldir+20b/221> <=====
>> > Trace; c013f706 <filldir+0/221>
>> > Trace; c0136e01 <reiserfs_getblk+2a/16d>
>> The buffer reiserfs is sending to filldir is big enough for
>> the huge file name, so I think the real fix should be done in VFSland.
>> But, in the interest of providing a quick, obviously correct fix, this
>> reiserfs only patch will refuse to create file names larger
>> than 255 chars, and skip over any directory entries larger than
>> 255 chars.
> Hmm, wouldn't it make existing long named files unreachable?

Yes, that was intentional. We can make a different version of the patch
that changes reiserfs_find_entry to allow opening the large filenames for
delete and such. But, as a quick fix, I wanted to close all possible paths
to the long names.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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