scrips/kconfig: reduce impact of getenv() buffer overflow
getenv() returns an string of unknown size, so Coverity warns that it might be used to overflow the stack in the call chain off conf_read_simple(). To avoid that, wisdom says copy to an string of known size and pass that. Change-Id: I9e468de0ae66429062027f58fe0a0a4e1197218f Coverity-ID: 150819 Signed-off-by:Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com> (cherry picked from commit 0307d6ea)
Loading
Please sign in to comment