shilow/boar

Boar fails silently on md5 collision

GoogleCodeExporter opened this issue · 2 comments

What steps will reproduce the problem?
1. Add two distinct files with the same md5 checksum to a working dir (ex.: 
"hello.exe" and "erase.exe" from 
http://www.mscs.dal.ca/~selinger/md5collision/);
2. Check in - one blob overwrites the other;
3. Check out to a new working dir - now there are two files, but with the same 
contents (instead of two different contents).

What version of boar are you using? (Mercurial change id or daily build
date)
boar-29-Jul-2012-setup-win32.exe

Note: I know md5 collisions - in "regular" files - are rare (especially if both 
files have the same length like in the example above) but it's still a 
possibility to have your backups corrupted without noticing, so IMHO it should 
be accounted for.

Original issue reported on code.google.com by mgibso...@gmail.com on 6 Aug 2012 at 4:43

  • Merged into: #16
Sorry, when looking at the existing issues somehow I missed Issue 16... you can 
close this as a duplicate.

Original comment by mgibso...@gmail.com on 6 Aug 2012 at 4:46

Done and done!

Original comment by ekb...@gmail.com on 12 Aug 2012 at 7:29

  • Changed state: Duplicate