diff options
Diffstat (limited to 'rpmio/digest.c')
-rw-r--r-- | rpmio/digest.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rpmio/digest.c b/rpmio/digest.c index 8fa83dea4..461aebd47 100644 --- a/rpmio/digest.c +++ b/rpmio/digest.c @@ -453,14 +453,18 @@ rpmDigestUpdate(DIGEST_CTX ctx, const void * data, size_t len) /* Process data in ctx->datalen chunks */ for (; len >= ctx->datalen; buf += ctx->datalen, len -= ctx->datalen) { + /*@-mayaliasunique@*/ memcpy(ctx->in, buf, ctx->datalen); + /*@=mayaliasunique@*/ if (ctx->doByteReverse) byteReverse(ctx->in, ctx->datalen); ctx->transform(ctx); } /* Handle any remaining bytes of data. */ + /*@-mayaliasunique@*/ memcpy(ctx->in, buf, len); + /*@=mayaliasunique@*/ } void |