Potential File System Inconsistencies
Opened this issue · 0 comments
silverhadch commented
The code doesn't handle the case where the save state directory or files might be deleted or corrupted between get_present_save_states and file operations. If a file disappears between these calls, it could cause unexpected panics when trying to open non-existent files.
Add more robust file existence checks right before performing file operations.