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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

ISO C++ Directions Group response to RFI on open source software security

3 点作者 alilleybrinker超过 1 年前

2 条评论

trealira超过 1 年前
From the response:<p><i>Much of the criticism of C++ is based on code that is written in older styles, or even in C, that do not use the modern facilities aimed to increase type-and-resource safety. Also, the C++ eco system offers a large number of static analysis tools, memory use analysers, test frameworks and other sanity tools.</i><p>I often hear comments like this from proponents of modern C++, comments that imply that anachronistic C++ is to blame for CVEs written in it. However, it can be tricky even in &quot;modern&quot; C++ to avoid causing use-after-free errors and memory corruption. First example is this post, discussing something that was assumed to be a GCC bug that actually just shows how unintuitive lambdas and coroutines can be when mixed together:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33084431">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=33084431</a><p>And these are two memory safety errors (in Chromium and Edge, respectively) that are written in what looks to be modern C++:<p><a href="https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=1027152" rel="nofollow noreferrer">https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=102715...</a><p><a href="https:&#x2F;&#x2F;microsoftedge.github.io&#x2F;edgevr&#x2F;posts&#x2F;memory-corruption-vulnerabilities-in-edge&#x2F;" rel="nofollow noreferrer">https:&#x2F;&#x2F;microsoftedge.github.io&#x2F;edgevr&#x2F;posts&#x2F;memory-corrupti...</a>
评论 #38578839 未加载
trealira超过 1 年前
For context, this is what they&#x27;re replying to: <a href="https:&#x2F;&#x2F;www.federalregister.gov&#x2F;documents&#x2F;2023&#x2F;08&#x2F;10&#x2F;2023-17239&#x2F;request-for-information-on-open-source-software-security-areas-of-long-term-focus-and-prioritization" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.federalregister.gov&#x2F;documents&#x2F;2023&#x2F;08&#x2F;10&#x2F;2023-17...</a>