From 0e8312abee72efa7c0ce23c13f214427dce97a5e Mon Sep 17 00:00:00 2001 From: Leonardo Alminana Date: Wed, 3 Apr 2024 23:57:58 +0200 Subject: [PATCH] file: added missing taint flag reset Signed-off-by: Leonardo Alminana --- src/cio_file.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cio_file.c b/src/cio_file.c index a5285f8..56ac160 100644 --- a/src/cio_file.c +++ b/src/cio_file.c @@ -352,6 +352,8 @@ static int mmap_file(struct cio_ctx *ctx, struct cio_chunk *ch, size_t size) return CIO_OK; } + cf->taint_flag = CIO_FALSE; + /* * 'size' value represents the value of a previous fstat(2) set by a previous * caller. If the value is greater than zero, just use it, otherwise do a new