Skip to content
Commit 43d323ee authored by Ramakrishna Pallala's avatar Ramakrishna Pallala Committed by Andrew Boie
Browse files

drivers: flash: Fix Nios-II QSPI flash Coverity issue



Fix Coverity "Memory - corruptions (ARRAY_VS_SINGLETON)"
issue by type casting word_to_write to u8_t pointer and
adding a length check before memcpy operation.

Coverity CID: 182779

Signed-off-by: default avatarRamakrishna Pallala <ramakrishna.pallala@intel.com>
parent cfc79d16
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment