96c4a4b3a3
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
|
||
---|---|---|
.. | ||
basic | ||
cross_compiler | ||
gen_idt | ||
gen_offset_header | ||
kconfig | ||
patches | ||
sanity_chk | ||
support | ||
.gitignore | ||
Kbuild.include | ||
Makefile | ||
Makefile.build | ||
Makefile.clean | ||
Makefile.extrawarn | ||
Makefile.headersinst | ||
Makefile.help | ||
Makefile.host | ||
Makefile.lib | ||
Makefile.modbuiltin | ||
Makefile.toolchain.gccarmemb | ||
Makefile.toolchain.issm | ||
Makefile.toolchain.xtools | ||
Makefile.toolchain.zephyr | ||
build_grub.sh | ||
check_known_checkpatch_issues.sh | ||
check_link_map.py | ||
checkconfig.py | ||
checkpatch.pl | ||
checkstack.pl | ||
compare_footprint | ||
config | ||
diffconfig | ||
do_checkpatch.sh | ||
expr_parser.py | ||
filter-known-issues.py | ||
gcc-version.sh | ||
get_maintainer.pl | ||
headerdep.pl | ||
maintainer-checkpatch.bash | ||
make-ll | ||
mkmakefile | ||
mksysmap | ||
qemu-machine-hack.py | ||
sanitycheck | ||
size_report | ||
spelling.txt | ||
sysgen | ||
tags.sh | ||
timestamp | ||
vercomp |