MTD: reset some important buf before free the buf [1/1]
authorxianjun.liu <xianjun.liu@amlogic.com>
Mon, 22 Jul 2019 10:02:10 +0000 (18:02 +0800)
committerTao Zeng <tao.zeng@amlogic.com>
Fri, 26 Jul 2019 05:32:21 +0000 (22:32 -0700)
commit982cb0f9a192f6ab7c825a4809e995f8399cebb8
tree7bded306e20a13408ede5fa89b6014624a7271a3
parent71654339720452b08b1d2b43576f4c5e5be003fd
MTD: reset some important buf before free the buf [1/1]

PD#SWPL-11772

Problem:
Inadequate clearing of keys/dtbs/env buf in memory

Solution:
clear the corresponding buf before free the buf

Verify:
AXG-S400

Change-Id: I61971c11a41c7062270a3863ae711c856d66f332
Signed-off-by: xianjun.liu <xianjun.liu@amlogic.com>
drivers/amlogic/mtd/aml_key.c