Re: 2.0.x kernel denial of service via VFAT longnames

Vitaly Fedrushkov (willy@snowyowl.csu.ac.ru)
Wed, 30 Sep 1998 15:59:23 +0600 (CHEL)


Good $daytime,

> Date: Tue, 29 Sep 1998 11:48:58 -0700 (PDT)
> From: Gordon Chaffee <chaffee@cs.berkeley.edu>
> To: linux-kernel@vger.rutgers.edu
> Cc: Vitaly Fedrushkov <willy@snowyowl.csu.ac.ru>
> Subject: Re: 2.0.x kernel denial of service via VFAT longnames

> Known problem--I've even sent fixes to someone to test and they seemed
> to work for him. I'll try to dig them up... OK, here they are.

Thanks Gordon, it runs an order of magnitude faster now.

But somewhat is broken as I see lots of duplicate shortnames. My
example contains more than 256 files so guesses like SHOWI~xx.HTM
where xx is a hex simply can't cover it all.

I still haven't looked into details but I'll try to do this in a day
or two and provide a patch.

BTW I had a look at DOSEMU code. It uses A-Z0-9 for mangling but
produces duplicates too.

Regards,
Willy.

--
"No easy hope or lies        | Vitaly "Willy the Pooh" Fedrushkov
 Shall bring us to our goal, | Information Technology Division
 But iron sacrifice          | Chelyabinsk State University
 Of Body, Will and Soul."    | mailto:willy@csu.ac.ru  +7 3512 156770
                   R.Kipling | http://www.csu.ac.ru/~willy  VVF1-RIPE

- 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/