Re: Problem with tarfs ?

On Sun, 26 Oct 2003, [ISO-8859-1] Fr?d?ric L. W. Meunier wrote:

How to reproduce it.

1 - Download

Actually, I cannot download it from that site.  But I took a similar
archive from Cygwin cache.

2- Enter the package.

3- Go to etc/postinstall

4- Enter the gcc-core-mingw-3.3.1-20030804-1.tgz package.

In fact, entering one archive inside another is not essential.  I can
enter gcc-core-mingw-3.3.1-20030804-1.tar and have the same problem.

5- Go to lib/gcc-lib/i686-pc-mingw32/

As soon as you try to go to 3.3.1/ mc starts consuming all CPU.

Confirmed.  Either my implementation of vfs_s_fullpath() for archives is
incorrect, or there is an unrelated bug.  The entry corresponding to
"cc1.exe" has its parent set to an entry called "..", which I didn't
expect to happen.  I believe the link from inodes to entries was an
afterthought and wasn't implemented properly, at least for tar archives.
Unfortunately, changing undocumented code is very dangerous.

Thank you for finding this bug!

Pavel Roskin

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