github / github/codeql

General issue - cpp/uninitialized-local should provide at least 1 path that leaves variable uninitialized (preferably all if possible)

オープン
#11,216 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 15時間
マージ済み PR(30日)
141

説明

**Description of the issue**

It is very difficult to see how this could be uninitialized and the report looks like a false positive:

https://github.com/ryao/zfs/security/code-scanning/709

I am not yet decided on whether this is a false positive or not, but I am certain that it would be very helpful if CodeQL could provide a path that leaves the variable uninitialized. I have seen it provide possible paths in #11215, but that is for a different query.

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

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

評価

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

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

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