phNfcLib_Initialization.c Bug

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

phNfcLib_Initialization.c Bug

1,144件の閲覧回数
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,068件の閲覧回数
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 件の賞賛
返信