summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2013-08-31 18:17:58 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-17 07:39:28 -0700
commitdf80fb632e488e4e1e62f89e5019ee0f57ffaaed (patch)
treed3aed6b7aa2e09cb172d095c19fc8e171bbaf92f /tools/perf/scripts/python/bin/stackcollapse-record
parent16f1eeb660bd2bfd223704ee6350706b39c55a7a (diff)
downloadkernel-df80fb632e488e4e1e62f89e5019ee0f57ffaaed.tar.gz
staging: r8188eu: Fix Smatch off-by-one warning in hal/rtl8188e_hal_init.c
Smatch reports the following warning: "drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c:2008 Hal_ReadPowerValueFromPROM_8188E() error: buffer overflow 'pwrInfo24G->IndexBW40_Base[rfPath]' 5 <= 5" drivers/staging/rtl8188eu/hal/rtl8188e_hal_init.c 2005 /* 2.4G default value */ 2006 for (group = 0; group < MAX_CHNL_GROUP_24G; group++) { 2007 pwrInfo24G->IndexCCK_Base[rfPath][group] = EEPROM_DEFAULT_24G_INDEX; 2008 pwrInfo24G->IndexBW40_Base[rfPath][group] = EEPROM_DEFAULT_24G_INDEX; The reason is that IndexCCK_Base[] has MAX_CHNL_GROUP_24G elements, but IndexBW40_Base is smaller by 1. Make them both have MAX_CHNL_GROUP_24G elements. Reported by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
88f1263a3c226f3bb5e3441c310ae11e8001'>selftests/sgx: Enable multiple thread supportReinette Chatre 2021-11-15selftests/sgx: Add page permission and exception testReinette Chatre 2021-11-15selftests/sgx: Rename test properties in preparation for more enclave testsReinette Chatre 2021-11-15selftests/sgx: Provide per-op parameter structs for the test enclaveJarkko Sakkinen 2021-11-15selftests/sgx: Add a new kselftest: Unclobbered_vdso_oversubscribedJarkko Sakkinen 2021-11-15selftests/sgx: Move setup_test_encl() to each TEST_F()Jarkko Sakkinen 2021-11-15selftests/sgx: Encpsulate the test enclave creationJarkko Sakkinen 2021-11-15selftests/sgx: Dump segments and /proc/self/maps only on failureJarkko Sakkinen 2021-11-15selftests/sgx: Create a heap for the test enclaveJarkko Sakkinen 2021-11-15selftests/sgx: Make data measurement for an enclave segment optionalJarkko Sakkinen 2021-11-15selftests/sgx: Assign source for each segmentJarkko Sakkinen 2021-11-15selftests/sgx: Fix a benign linker warningSean Christopherson 2021-07-30selftests/sgx: Fix Q1 and Q2 calculation in sigstruct.cTianjia Zhang 2021-06-23selftests/sgx: remove checks for file execute permissionsDave Hansen 2021-06-15selftests/sgx: Refine the test enclave to have storageJarkko Sakkinen 2021-06-15selftests/sgx: Add EXPECT_EEXIT() macroJarkko Sakkinen 2021-06-15selftests/sgx: Dump enclave memory mapJarkko Sakkinen 2021-06-15selftests/sgx: Migrate to kselftest harnessJarkko Sakkinen 2021-06-15selftests/sgx: Rename 'eenter' and 'sgx_call_vdso'Jarkko Sakkinen 2021-04-06x86/sgx: Expose SGX architectural definitions to the kernelSean Christopherson 2021-03-24selftests/sgx: Use getauxval() to simplify test codeTianjia Zhang 2021-03-19selftests/sgx: Improve error detection and messagesDave Hansen 2020-11-18selftests/sgx: Use a statically generated 3072-bit RSA keyJarkko Sakkinen 2020-11-18selftests/x86: Add a selftest for SGXJarkko Sakkinen