commit | eb77f0fdebfeff579c94c91594b62cc38a2e82da | [log] [tgz] |
---|---|---|
author | Bhuvan Varshney <bvarshne@codeaurora.org> | Fri Jul 26 18:58:38 2019 +0530 |
committer | Bhuvan Varshney <bvarshne@codeaurora.org> | Fri Jul 26 18:58:38 2019 +0530 |
tree | 480ce19215fb705c6a62ca99927c39e52b9dd9d4 | |
parent | 42ce1902c51424e3619b091688d5a9837bfb2ac7 [diff] |
NFC: Fix stack-use-after-scope issue Address of "bytes" buffer is assigned to a pointer variable having scope outside the if-else block. This variable when passed to NFA api might cause possible stack-use-after-scope issue. Moved API call for ScopedByteArrayRO outside the if-else block to fix possible stack-use-after-scope issue. Change-Id: Ibe47833aebbc73018a3325546bf4807d3b9cdabe
DESCRIPTION | CHECKOUT COMMAND |
---|---|
NFC_NCIHAL_Nfc | git clone https://github.com/NXPNFCProject/NFC_NCIHAL_Nfc.git |
Android Version | NXP Release | NXP Tag |
---|---|---|
aosp-master | 10.00.04 (SN100x) | NFC_AR_00_2000_10.00.04_OpnSrc |
aosp-master | 10.00.06 (SN110x) | NFC_AR_00_6000_10.00.06_OpnSrc |