gnu-arch-users
[Top][All Lists]
Advanced

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

[Gnu-arch-users] Re: Invalid checksum file syntax


From: Tom Lord
Subject: [Gnu-arch-users] Re: Invalid checksum file syntax
Date: Wed, 12 May 2004 11:09:02 -0700 (PDT)


    > From: Aidan Delaney <address@hidden>

    > Tom (and everyone),
    > > Could you post a copy of the checksum file in question?

    > Signature-for: (null)/xmlrpcd--mainline--0.1--base-0
    > md5 log a8b6bb4997b8fa4b87a338b9d2427a06
    > md5 xmlrpcd--mainline--0.1--base-0.src.tar.gz
    > c00317332a80ab17f4b0fce4482cfccf

Hmm.  Well, that "(null)" is the problem and indicates that a null
pointer was passed to a printf-like function internal to tla.   I.e.,
it indicates a bug.

At first glance, I see only one path through the code that could have
this result -- if arch was unable to read the name of your archive
from the archive.

The bug in arch here is that when that happens, it should panic and
remark that your archive has been bogosified.   It doesn't, at the
moment (and I've fixed that now) --- so the 0 propogates and winds up
in your checksum file.

So the next question is:  Is there an "=meta-info/name" file in your
archive and are its permissions such that you can read it?

And then the next question after that is: are you committing to this
as a local archive or over some network protocol?


    > >  If it turns out that that's what
    > > you've got don't worry -- it's easy to fix.)

    > This is one of the reasons I like tla :)

The fix here, assuming that you trust your archive, will be to delete
the checksum files, then make a mirror of your archive, then turn you
mirror into the real archive and discard the horked real archive.

But we have to figure out why the archive name is getting lost before
you should try that.


-t





reply via email to

[Prev in Thread] Current Thread [Next in Thread]