#2392·aria2

'util::fromHex' 中的 'char' 截断已签名

作者: 2rr0r4o3创建于 2026年8月24日更新于 2026年8月24日

需要隐式转换检查,而 -fsanitize=undefined 不包含这些检查。按照 `bittorrent::processRootDictionary` 示例中所述进行构建(-fsanitize=implicit-unsigned-integer-truncation,implicit-signed-integer-truncation,implicit-integer-sign-change 以及将 `bitfield.h`,`base64.h`,`util.h` 中的字节辅助函数和 `deps/` 忽略掉的列表忽略掉 `bitfield.h`,`base64.h`,`util.h` 中的字节辅助函数和 `deps/` )。