チケット #45418

inf magic error after a parse error in included file

登録: 2022-08-22 02:29 最終更新: 2022-09-10 11:40

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

詳細

When there's a parse error in an included file, resulting in a inf_close() call to that file:

1. inf_close() gets called recursively for the including file, as per inf->included_from
2. inf_close_partial() for the included file itself does inf_sanity_check()
3. In case of FREECIV_DEBUG build, inf_sanity_check() calls itself recursively for the including file (inf->included_from)
4. As that including file was already closed in (1), the sanity check makes all kind of illegal memory accesses

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

2022-08-22 02:29 更新者: cazfi
  • 新しいチケット "ing magic error after a parse error in included file" が作成されました
2022-08-22 03:54 更新者: cazfi
  • 概要が更新されました
2022-08-28 15:41 更新者: cazfi
2022-09-03 11:26 更新者: cazfi
  • 担当者(未割り当て) から cazfi に更新されました
  • 解決法なし から 受領 に更新されました
コメント

Going to push even to S2_6

2022-09-10 11:40 更新者: cazfi
  • 状況オープン から 完了 に更新されました
  • 解決法受領 から 修正済み に更新されました

添付ファイルリスト

編集

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