svn commit: r328291 - head/stand/libsa
Warner Losh
imp at FreeBSD.org
Tue Jan 23 18:01:37 UTC 2018
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)
{
More information about the svn-src-all
mailing list