phNfcLib_Initialization.c Bug

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

phNfcLib_Initialization.c Bug

1,163 次查看
cf_isys
Contributor I

Hi, I found the following bug: the gphNfcLib_Key variable are defined with a size of 6, but in the phNfcLib_Init when call the:

PH_CHECK_NFCLIB_INIT_FCT(wStatus, phKeyStore_SetKey(&gphNfcLib_Params.sKeyStore, 1, 0, 0x6, &gphNfcLib_Key[0], 0));

This function copy in this variable 12 bytes!. 

the Solution for this is define gphNfcLib_Key with a size of 12.

Please take note,

Thanks,

标签 (2)
0 项奖励
回复
1 回复

1,087 次查看
nxf58474
NXP Employee
NXP Employee

Hi,

 

Hope you are doing well. I'll check your report and verify it with the team.

 

Thanks and Regards,

Ricardo

0 项奖励
回复