Annotate some functions to prevent Coverity tainted input error.

These errors are really annoying, just silence them.
This commit is contained in:
Milan Broz
2022-11-13 20:03:22 +01:00
parent f312ba6256
commit 1f4c7a83f9
4 changed files with 4 additions and 0 deletions

View File

@@ -171,6 +171,7 @@ err:
return -ENOSYS;
}
/* coverity[ -taint_source : arg-1 ] */
int crypt_random_get(struct crypt_device *ctx, char *buf, size_t len, int quality)
{
int status, rng_type;