Add note - dedup - deduplicating backup program HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 4332d126e504bea10eff857f21e2ea7c3d341a96 DIR parent 27d4cd35a9abcf80ec50ae3a55fff5fc22dd3e99 HTML Author: sin <sin@2f30.org> Date: Wed, 21 Mar 2018 10:25:16 +0000 Add note Diffstat: M dedup.c | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- DIR 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); }