Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2018 18:01:36 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r328291 - head/stand/libsa
Message-ID:  <201801231801.w0NI1awp082211@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Tue Jan 23 18:01:36 2018
New Revision: 328291
URL: https://svnweb.freebsd.org/changeset/base/328291

Log:
  getenv does not return tainted data in the boot loader. Attempt to
  clue Coverity into that fact.
  
  Sponsored by: Netflix

Modified:
  head/stand/libsa/environment.c

Modified: head/stand/libsa/environment.c
==============================================================================
--- head/stand/libsa/environment.c	Tue Jan 23 18:01:32 2018	(r328290)
+++ head/stand/libsa/environment.c	Tue Jan 23 18:01:36 2018	(r328291)
@@ -138,6 +138,7 @@ env_setenv(const char *name, int flags, const void *va
     return(0);
 }
 
+/* coverity[ -tainted_string_return_content ] */
 char *
 getenv(const char *name)
 {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801231801.w0NI1awp082211>