チケット #46527

off by one buffer overflow

登録: 2023-01-17 06:09 最終更新: 2023-03-21 08:38

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
修正済み
ファイル:
1

チケットの履歴 (8 件中 3 件表示)

2023-01-17 06:09 更新者: mortmann
  • 新しいチケット "off by one buffer overflow" が作成されました
2023-01-17 06:21 更新者: cazfi
コメント

Reply To mortmann

and the following statement is always TRUE and can therefore be removed:

More than that, the entire real_activities array can be removed now that there's no non-real activities (holes) in the activities enum. I just didn't do it in at the same commit as removal of those non-real activities.

As for the reported bug, is it present in older branches too? (Likely so, don't think the code has changed)

2023-03-18 12:33 更新者: cazfi
コメント

Reply To cazfi

As for the reported bug, is it present in older branches too? (Likely so, don't think the code has changed)

No that I looked at it; yes and no. Older branches avoid actual over-boundaries write by luck. As they have also dummy activities included in the ACTIVITY_LAST count used in determining the size of the target array.

2023-03-18 12:33 更新者: cazfi
  • マイルストーン(未割り当て) から 3.0.7 (完了済み) に更新されました
  • コンポーネント(未割り当て) から General に更新されました
2023-03-18 12:45 更新者: cazfi
2023-03-18 12:56 更新者: cazfi
  • 担当者(未割り当て) から cazfi に更新されました
  • 解決法なし から 受領 に更新されました
2023-03-21 08:38 更新者: cazfi
  • 状況オープン から 完了 に更新されました
  • 解決法受領 から 修正済み に更新されました

添付ファイルリスト

編集

このチケットにコメントを追加するには、ログインが必要です » ログインする