完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
在控制台调试生成测试代码中使用CopyEXEXT命令测试PEAP总是会碰到断言。
在PEAP情况下,联接()调用 WieDig-TLSSI- IITHI恒等式(和;NULL,0,NULL,0); 所以它总是在以下断言: WiDeDeSalt(“坏的ARG”),(身份!= NULL)和(私有)密钥!(NULL)和(和);=空); 在WiDejtLsSi-iNITHI恒等式中实现: 以下检查看来是错误的: 如果(证书)数据!=空)(证书长度)!= 0) 如果(私人)钥匙!= null(Kyl长度)!= 0) 例如,将NULL NULL传递到PrimeType密钥,而非零KEYL长度将命中空指针引用。 以上来自于百度翻译 以下为原文 Test peap with join_ext command in console debug build test code will always hit assertion. In peap case, join_ent() calls wiced_tls_init_identity( &identity, NULL, 0, NULL, 0 ); So it always hit below assertion: wiced_assert( "Bad args", (identity != NULL) && (private_key != NULL) && (certificate_data != NULL) ); And looking at the implementation in wiced_tls_init_identity: Below checking looks wrong: if ( ( certificate_data != NULL ) || ( certificate_length != 0 ) ) if ( ( private_key != NULL ) || ( key_length != 0 ) ) e.g. Pass NULL to private_key with non-zero key_length will hit null pointer dereference. |
|
相关推荐
3个回答
|
|
我在这个问题上提出了一张票。你可以注释WiDeDeSalt(“坏的ARG”),(身份)!= NULL)和(私有)密钥!(NULL)和(和);= NULL);现在。
以上来自于百度翻译 以下为原文 I have raised a ticket on this issue. You can comment out the wiced_assert( "Bad args", (identity != NULL) && (private_key != NULL) && (certificate_data != NULL) ); for now. |
|
|
|
asd013 发表于 2018-12-27 18:32 我自己解决不了问题。 我在这里发布的原因是为了让你的SDK更好。 我希望在你在这个问题上提出一张罚单之后,这将被固定在下一个发行版*中。 从我的经验中发现,买票和固定有很长的差距。 对于一些问题,我甚至多次提醒,但仍然没有得到解决。 例如 HTTPS://Cultuy.CyPress .COM/THEAD/8502 HTTPS://Cultuy.CyPress .COM/THEAD/781. HTTPS://Cultuy.CyPress .COM/THEAD/8102 你会考虑改善你的内部流程吗? 以上来自于百度翻译 以下为原文 I have no problem to fix it by myself. The reason I post it here is to make your sdk better. I hope after you raised a ticket on the issue, this will be fixed in *next release*. From the experience I found raise a ticket and get fixed has a very long gap. For some issues, I even remind multiple times but still does not get fix. e.g. https://community.cypress.com/thread/8502 https://community.cypress.com/thread/7781 https://community.cypress.com/thread/8102 Would you consider to improve your internal process? |
|
|
|
我相信这个问题已经解决了,所以我将关闭这个线程。 以上来自于百度翻译 以下为原文 I believe this issue has been resolved so I will close this thread. |
|
|
|
只有小组成员才能发言,加入小组>>
718个成员聚集在这个小组
加入小组1910 浏览 1 评论
1666 浏览 1 评论
3418 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1583 浏览 6 评论
1388 浏览 1 评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
209浏览 2评论
195浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
341浏览 2评论
367浏览 1评论
76浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-13 03:20 , Processed in 0.932536 second(s), Total 82, Slave 66 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号