[ オリジナルレポート ]

BugID: #05229

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
クラッシュ/フリーズ認証済み未処理2013-07-16 20:542013-07-25 16:19
 
テスターPGGB担当者 ソース
バージョン0.149発生バージョン修正バージョン
修正コミットプルリク
フラグ
セット
セット詳細
 
概 要schedule_save/schedule_loadに絶対パスを渡すとクラッシュする。
詳 細When passing an absolute path to 'schedule_save'/'schedule_load', 'm_saveload_searchpath' is set to NULL in 'set_saveload_filename'.
In the function 'handle_saveload' this search path is used to create 'emu_file file', which then causes MAME/MESS to crash when it tries to call 'filerr = file.open(m_saveload_pending_file);' in line 923.

The actual crash happens in emu/fileio.c in line 81 when strchr is called on a null pointer (m_current was previously set to m_saveload_searchpath).
再現手順 
追加情報 
 
添付ファイル