[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Revision into Exif

From: Martin Scharrer <mailinglists_at_madmarty.de>
Date: 2006-12-30 10:05:52 CET

> And hope that the data: "0x24 0x52 0x65 0x76 0x3A 0x3A 0x24" doesn't
> occur anywhere else in the file (That's the hex values of the
> "$Rev::$" string). AFAIK This possible corruption of binary data is
> the reason that subversion doesn't substitute keywords by default (as
> opposed to the CVS behavior).
Thats of course a risk, but a very small one.
The probability of this is 256^7 = (2^8)^7 = 7.2 * 10^16 when you take random
bytes. Because there are also other possible strings, like:
$Rev::<space>...$, etc. the overall probability is a little more likely.

best,
Martin
 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Dec 30 10:10:43 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.