calloc() calls
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- c
- 領域
- devtools, embedded-iot
調査の方向性
Start by searching the repository for calloc(sizeof(, especially the calls shown in src/jtag/drivers/ulink.c and src/target/nds32.c. Compare the current code with the upstream fix referenced in the issue, then verify that all affected calls use the intended argument order and that the relevant code still builds.
索引モデルが issue の本文から書いたものです。
説明
Hi,
correct me, if I'm wrong, but I found bunch of calls to calloc(), that seem to me to have bad order of arguments. The interface is void *calloc(size_t num, size_t size), but here is an example: tdo_buffer_start = calloc(sizeof(uint8_t), scan_size_bytes);.
At some locations there it is even combination of corrent and in-correct calls, like here.
Another locations can be easily found, when searching for calloc(sizeof(.
It is possible, it is just that I didn't look into the code deeper and more thoroughly, I indeed didn't, but...
EDIT: It seems this problem was fixed upstream about half year ago, so maybe it is somewhere in the queue already.
- 主要言語
- C
- スター
- 205
- フォーク
- 59
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
STMicroelectronics/OpenOCD のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
STM32N647: OpenOCD halt/debug fails with UNDEFINED while CubeIDE works再び着手できるかも @tarek-bochkati が 268 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
STMicroelectronics/OpenOCD#44 · コメント 1 件 · 担当者 1 名 ·
STMicroelectronics/OpenOCD の issue をすべて見る
似ている issue
-
feature request
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
BasedHardware/omi#20271 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
ImageMagick/ImageMagick#8994 ·
メンテナーはふだん 1 日以内に返信
-
area/ysql kind/bug priority/medium
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
yugabyte/yugabyte-db#34552 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
flux-framework/flux-coral2#509 ·