aio-libs / aio-libs/multidict

multidict C Extension Analysis Report

オープン
#1,306 コメント 2 件 リアクション 1 件 担当者 1 名 @Vizonex が担当を希望しています GitHub で見る
bug reproducer: present
主要言語
Python
スター
492
フォーク
129
平均マージ
14時間 28分
マージ済み PR(30日)
35

説明

I ran a [code analysis tool](https://github.com/devdanzin/cext-review-toolkit) I'm developing on multidict and it generated an interesting report: https://gist.github.com/devdanzin/a36588ae7e2b73f0d85f8a925fb13b3d. It contains issue descriptions, suggested fixes, and reproducers for some of the issues.

From the summary:

> The most critical finding is a **double-free/use-after-free in `md_contains`** and a **crash from swapped format string arguments** in `_err_cannot_fetch`. The iterator and view types are also missing the heap type lifecycle management (`Py_VISIT(Py_TYPE(self))`) that the main dict types correctly implement.

I hope it helps.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。