iFix comment - dedup - deduplicating backup program Err bitreich.org 70 hgit clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ URL:git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ bitreich.org 70 1Log /scm/dedup/log.gph bitreich.org 70 1Files /scm/dedup/files.gph bitreich.org 70 1Refs /scm/dedup/refs.gph bitreich.org 70 1Tags /scm/dedup/tag bitreich.org 70 1README /scm/dedup/file/README.gph bitreich.org 70 1LICENSE /scm/dedup/file/LICENSE.gph bitreich.org 70 i--- Err bitreich.org 70 1commit 849566c399cdd0731d73e95cec8f9baade215419 /scm/dedup/commit/849566c399cdd0731d73e95cec8f9baade215419.gph bitreich.org 70 1parent 9f54a917ef6c2f8f850684bed77fa708a062ca33 /scm/dedup/commit/9f54a917ef6c2f8f850684bed77fa708a062ca33.gph bitreich.org 70 hAuthor: sin URL:mailto:sin@2f30.org bitreich.org 70 iDate: Sun, 5 May 2019 17:05:28 +0100 Err bitreich.org 70 i Err bitreich.org 70 iFix comment Err bitreich.org 70 i Err bitreich.org 70 iDiffstat: Err bitreich.org 70 i M bencrypt.c | 2 ++ Err bitreich.org 70 i Err bitreich.org 70 i1 file changed, 2 insertions(+), 0 deletions(-) Err bitreich.org 70 i--- Err bitreich.org 70 1diff --git a/bencrypt.c b/bencrypt.c /scm/dedup/file/bencrypt.c.gph bitreich.org 70 i@@ -262,6 +262,8 @@ beget(struct bctx *bctx, unsigned char *md, void *buf, size_t *n) Err bitreich.org 70 i Err bitreich.org 70 i /* Calculate maximum size of encrypted block */ Err bitreich.org 70 i size = EDSIZE + *n + crypto_aead_xchacha20poly1305_ietf_ABYTES; Err bitreich.org 70 i+ Err bitreich.org 70 i+ /* Allocate buffer to store encrypted block */ Err bitreich.org 70 i ebuf = malloc(size); Err bitreich.org 70 i if (ebuf == NULL) { Err bitreich.org 70 i bseterr("malloc: %s", strerror(errno)); Err bitreich.org 70 .