`stse_platform_Crc16_Accumulate()` is not safe
メンテナーはふだん 1 日以内に返信
@nils-cercariolo-st がすでに取り組んでいます。
2026年4月7日 から。
評価
この issue はまだ評価されていません。
説明
From what I understand, the STSELib middleware allows managing multiple STSAFE devices at the same time through the bus_id parameter. For example, stse_platform_i2c_send_start() takes the integer bus_id as its first parameter, which can be used by the porting layer to determine which STSAFE device to communicate with (in case multiple STSAFE chips are present).
The issue is that the function stse_platform_Crc16_Accumulate() does not take the bus_id parameter, making this function unsafe for this use case, since it requires saving the CRC calculation state in a static variable, which would end up being corrupted.
- 主要言語
- C
- スター
- 15
- フォーク
- 12
- 平均マージ
- 1日 5時間
- マージ済み PR(30日)
- 11
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
STMicroelectronics/STSELib のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
STMicroelectronics/STSELib#115 ·
メンテナーはふだん 1 日以内に返信
-
Max `pBuffer` size for `stse_data_storage_update_data_zone()` unclear due to hidden overhead bytesオープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
STMicroelectronics/STSELib#84 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
# Bug: `stse_perso_info_t` AC status 2-bit mask truncates valid AC values再び着手できるかも @Grom- が 203 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
STMicroelectronics/STSELib#69 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
STSAFE A120: Reprovisioning is successful, but returns error STSE_INVALID_C_MAC再び着手できるかも @Grom- が 335 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンbug
STMicroelectronics/STSELib#47 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
STMicroelectronics/STSELib の issue をすべて見る
似ている issue
-
[Issue]: hipsparselt.h C API as shipped now requires C23 -- ONLY because of missing include or guardオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ROCm/rocm-libraries#13736 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
`inverse()` of a controlled `CUGate` drops the phase parameter γ対応中かも @rupasri118 が今日担当しました。 オープンbug mod: circuit
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
Qiskit/qiskit#17223 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
PackageKit/PackageKit#1026 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
OpenPrinting/libcupsfilters#284 ·
メンテナーはふだん 1 日以内に返信