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)
 {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to