login
Header Space

 
 

Re: Error converting from 1.4.4.1 to 1.5.0?

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Bill Lear <rael@...>
Cc: <git@...>
Date: Wednesday, February 14, 2007 - 5:12 pm

Bill Lear <rael@zopyra.com> writes:


"ldd ~/git-master/bin/git" tells me that it links with libcrypto.so,
so I am using OpenSSL's SHA-1 implementation.  I do not know
what your distro uses (or you hand built git yourself?).

I asked this question, because... 


... we had a problem that some SHA-1 implementation gave bogus
results when we did this:

	SHA_CTX ctx;
	unsigned char sha1[20];
      
	SHA1_Init(&ctx);
        /* hash len bytes starting from buf */
	SHA1_Update(&ctx, buf, len);
	SHA1_Final(sha1, &ctx);

and asked to hash a large buffer in one go.  One of the SHA1
implementations we ship ourselves (I think it was handcrafted
PPC one) used to have problems.  But I do not think 27MB is
large enough to trigger such a library bug (the bug was integer
wraparound of a bit counter, I think).

So it looks more and more like a bit decay as Linus suspected...



-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Error converting from 1.4.4.1 to 1.5.0?, Bill Lear, (Wed Feb 14, 12:12 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Junio C Hamano, (Wed Feb 14, 1:15 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Bill Lear, (Wed Feb 14, 1:20 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Linus Torvalds, (Wed Feb 14, 2:19 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Bill Lear, (Wed Feb 14, 5:13 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Linus Torvalds, (Wed Feb 14, 5:35 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Linus Torvalds, (Wed Feb 14, 2:42 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Junio C Hamano, (Wed Feb 14, 1:45 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Bill Lear, (Wed Feb 14, 4:49 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Junio C Hamano, (Wed Feb 14, 5:32 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Nicolas Pitre, (Wed Feb 14, 5:14 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Junio C Hamano, (Wed Feb 14, 5:12 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Bill Lear, (Wed Feb 14, 5:18 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Bill Lear, (Wed Feb 14, 4:58 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Linus Torvalds, (Wed Feb 14, 5:19 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Bill Lear, (Wed Feb 14, 5:40 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Uwe , (Thu Feb 15, 4:40 am)
Re: Error converting from 1.4.4.1 to 1.5.0?, Linus Torvalds, (Wed Feb 14, 7:03 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Nicolas Pitre, (Wed Feb 14, 6:27 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Linus Torvalds, (Wed Feb 14, 7:24 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Bill Lear, (Wed Feb 14, 6:41 pm)
OT: data destruction classics (was: Re: Error converting fro..., Simon 'corecode' Schubert..., (Wed Feb 14, 9:18 pm)
Re: OT: data destruction classics (was: Re: Error converting..., Johannes Schindelin, (Thu Feb 15, 6:24 am)
Re: OT: data destruction classics (was: Re: Error converting..., Michael K. Edwards, (Thu Feb 15, 9:13 am)
Re: Error converting from 1.4.4.1 to 1.5.0?, Johannes Schindelin, (Wed Feb 14, 6:02 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Junio C Hamano, (Wed Feb 14, 5:47 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Junio C Hamano, (Wed Feb 14, 5:52 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Johannes Schindelin, (Wed Feb 14, 6:04 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Junio C Hamano, (Wed Feb 14, 6:13 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Olivier Galibert, (Wed Feb 14, 8:54 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Johannes Schindelin, (Wed Feb 14, 9:36 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Johannes Schindelin, (Wed Feb 14, 6:32 pm)
Re: Error converting from 1.4.4.1 to 1.5.0?, Bill Lear, (Wed Feb 14, 1:07 pm)
speck-geostationary