Godot 4.x: 修复 OptimizedTranslation 堆越界读取漏洞
Re: Godot 4.x: heap out-of-bounds read in OptimizedTranslation message lookup
Godot 开发者请注意:若你的项目使用了自定义或第三方提供的 .translation 资源文件,建议尽快升级至包含 PR #124701 的版本,防止恶意数据导致内存泄露或崩溃。
Posted by Tomasz Kaye on Oct 23
由 Tomasz Kaye 发布于 10 月 23 日
Follow-up: the fix for this issue has been merged upstream.
后续:此问题的修复已合并至上游。
PR #124701, "Fix out-of-bounds reads with corrupt OptimizedTranslation
PR #124701,"修复损坏的 OptimizedTranslation 导致的越界读取"
data", merged to master on 2026-10-20 (merge commit 9e0d5af850):
数据",于 2026-10-20 合并至 master(合并提交 9e0d5af850):
https://github.com/godotengine/godot/pull/124701
The patch validates bucket and string offsets in new _get_bucket and
该补丁验证了新的 _get_bucket 和
_get_string helpers, used by both get_message and
_get_string 辅助函数中的桶偏移量和字符串偏移量,这两个函数被 get_message 和
get_translated_message_list, and adds input bounds checks to the
get_translated_message_list 使用,并为
bundled...
捆绑包...添加了输入边界检查
更进一步:量化金融体系
看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力