From e77c9f0c3d3724ca31d3d2144e278384ad59af70 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Tue, 23 Jan 2018 18:01:36 +0000 Subject: [PATCH] getenv does not return tainted data in the boot loader. Attempt to clue Coverity into that fact. Sponsored by: Netflix --- stand/libsa/environment.c | 1 + 1 file changed, 1 insertion(+) diff --git a/stand/libsa/environment.c b/stand/libsa/environment.c index 83349f1a8fe5..36409cc0add1 100644 --- a/stand/libsa/environment.c +++ b/stand/libsa/environment.c @@ -138,6 +138,7 @@ env_setenv(const char *name, int flags, const void *value, return(0); } +/* coverity[ -tainted_string_return_content ] */ char * getenv(const char *name) {