返回全部动态
llama.cpp b11393 发布:修复工具调用解析器释放后使用漏洞
原标题:b11393
AI 摘要
llama.cpp 发布 b11393 版本,修复了 chat-peg-parser 中一处 use-after-free 漏洞:当 pending_tool_call 被重置后,current_tool 指针未清空,导致后续到达的 TOOL_ID 节点写入已销毁的对象并造成 id 缓冲区二次释放。该版本同时提供 macOS、Linux、Windows、Android 等多平台预编译二进制包。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
<details open> chat-peg-parser : clear current_tool when pending_tool_call is reset (#29942) A TOOL_ID node that arrives after TOOL_CLOSE wrote through `current_tool`, which still pointed into the just-destroyed `pending_tool_call` optional (use-after-free, then a second free of the id buffer). Clear the pointer on reset. </details> **Website:** - <https://llama.app> **Attestations:** - <https://github.com/ggml-org/llama.cpp/attestations/52608917> **macOS/iOS:** - [macOS Apple Silicon (arm
发布时间:2026-10-05 00:22
抓取时间:2026-10-05 00:37
来源机构:ggml-org