カテゴリ | 重要度 | ステータス | 解決状況 | 登録日時 | 最終更新 |
---|---|---|---|---|---|
![]() | 中 | 解決済み | 修正済み | 2012-05-21 00:56 | 2022-11-05 18:56 |
テスター | Firewave | 担当者 |   | ソース | atari/tourtabl.cpp |
バージョン | 0.145u8 | 発生バージョン | 修正バージョン | ||
修正コミット | プルリク | ||||
フラグ | |||||
セット | tourtabl, tourtab2 | ||||
セット詳細 |
![]() ![]() | ||||
概 要 | src/mame/video/tia.cでスタック不良が起こる。 | ||||
詳 細 | The Visual Studio run-time checks reports a stack corruption around the variables "linePF" and "lineBL" in tia_video_device::update_bitmap(). The problem is, that collision_check() will be called with a negative value of "x2", which is the "next_x" parameter passed into the function. The actual values of x2 until the corruption are 34, 49, 88, 103, 160, -29. I think the problem lies in this check at the beginning of the function. if (prev_y >= next_y && prev_x >= next_x) { return; } When the corruption occures we have the following values: prev_y = 0 next_y = 1 prev_x = 103 next_x = -29 It needs to handle the increment of the y. | ||||
再現手順 | |||||
追加情報 | |||||
添付ファイル |