[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug with filenames >= 29 chars and odd length.



Hello all,

We have been noticing corruption with some longer filenames under JFFS2
(2.4.18 version). After some investigation it turns out that any
filename > 28 characters and odd in length (I tried everything up to 99)
gives an error.

I ran the attached script in a new directory, rebooted and then ran 'rm
*' in the directory. Now doing an ls in this directory gives:

ls: ./29.XXXXXXXXXXXXXXXXXXXXXXXXXX’: No such file or directory
ls: ./31.XXXXXXXXXXXXXXXXXXXXXXXXXXXX’: No such file or directory
ls: ./33.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’: No such file or directory
ls: ./35.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’: No such file or directory
ls: ./37.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’: No such file or directory
ls: ./39.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’: No such file or directory
ls: ./41.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’: No such file or directory
ls: ./43.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’: No such file or directory
ls: ./45.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX’: No such file or directory

and so on up to 99. I'm looking through the code with the expectation of
finding an off by one error somewhere, but I thought I would check to
make sure this error hadn't been noticed before and fixed already.
 
The platform is x86 (AMD Elan SC520) based and has a single AM29DL640
attached to a 16 bit bus.

Cheers,
Ian.
-- 
Ian Campbell
Design Engineer

Arcom Control Systems Ltd,
Clifton Road,
Cambridge CB1 7EA
United Kingdom

Tel: +44 (0)1223 403465
E-Mail: icampbell@xxxxxxx.com
Web: http://www.arcomcontrols.com


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________
touch 10.XXXXXXX
touch 11.XXXXXXXX
touch 12.XXXXXXXXX
touch 13.XXXXXXXXXX
touch 14.XXXXXXXXXXX
touch 15.XXXXXXXXXXXX
touch 16.XXXXXXXXXXXXX
touch 17.XXXXXXXXXXXXXX
touch 18.XXXXXXXXXXXXXXX
touch 19.XXXXXXXXXXXXXXXX
touch 20.XXXXXXXXXXXXXXXXX
touch 21.XXXXXXXXXXXXXXXXXX
touch 22.XXXXXXXXXXXXXXXXXXX
touch 23.XXXXXXXXXXXXXXXXXXXX
touch 24.XXXXXXXXXXXXXXXXXXXXX
touch 25.XXXXXXXXXXXXXXXXXXXXXX
touch 26.XXXXXXXXXXXXXXXXXXXXXXX
touch 27.XXXXXXXXXXXXXXXXXXXXXXXX
touch 28.XXXXXXXXXXXXXXXXXXXXXXXXX
touch 29.XXXXXXXXXXXXXXXXXXXXXXXXXX
touch 30.XXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 31.XXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 32.XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 33.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 34.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 35.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 36.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 37.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 38.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 39.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 40.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 41.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 42.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 43.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 44.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
touch 45.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX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