#3533·jq

在处理数组索引时出现了未定义的行为,对象为 `infinite`

作者: fuyu0425创建于 2026年4月26日更新于 2026年7月26日

On jq commit 5f2a14dd1b03a8b43015058ed006dd4ab24fb58f, the ordinary CLI array-index surface still triggers undefined behavior when infinite is used as an array index for has(...) or del(...).

On a sanitizer build, these witness commands both hit an inf to int conversion error: