TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

SM2 Decryption Buffer Overflow

41 点作者 dochtman超过 3 年前

2 条评论

tptacek超过 3 年前
A buffer overflow in the Chinese national SM2 ECC cipher, which presumably nobody has enabled in North America.
评论 #28291541 未加载
评论 #28292145 未加载
评论 #28290455 未加载
评论 #28291971 未加载
blkhp19超过 3 年前
I&#x27;m guessing this is common API design in the world of C libraries? Coming from Swift &#x2F; other high-level languages, it seems awfully error-prone to have to call an API multiple times, sometimes with null arguments, sometimes with pointers to buffers that <i>hopefully</i> are the right size, just to process some data. Programmer errors &#x2F; misinterpretation of the documentation leading to programmer errors seems inevitable.
评论 #28292730 未加载