dedup

data deduplication program
git clone git://git.2f30.org/dedup.git
Log | Files | Refs | LICENSE

commit 4332d126e504bea10eff857f21e2ea7c3d341a96
parent 27d4cd35a9abcf80ec50ae3a55fff5fc22dd3e99
Author: sin <sin@2f30.org>
Date:   Wed, 21 Mar 2018 10:25:16 +0000

Add note

Diffstat:
dedup.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/dedup.c b/dedup.c @@ -329,6 +329,8 @@ check(void) for (j = 0; j < ent->nblks; j++) { struct blk blk; + /* XXX: If there's file corruption, ent->blks[j] + * could point anywhere */ read_blk(&blk, ent->blks[j]); SHA256_Update(&ctx, blk.data, blk.sz); }