Skip to content

Commit

Permalink
file: added missing taint flag reset
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Alminana <[email protected]>
  • Loading branch information
leonardo-albertovich authored and edsiper committed Apr 8, 2024
1 parent 6bf3757 commit 0e8312a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cio_file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0e8312a

Please sign in to comment.