Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDVD: Check file actually opened before proceeding #5182

Merged
merged 1 commit into from Dec 18, 2021
Merged

CDVD: Check file actually opened before proceeding #5182

merged 1 commit into from Dec 18, 2021

Conversation

stenzek
Copy link
Member

@stenzek stenzek commented Dec 18, 2021

If you loaded an invalid file, particularly with compression, the file open may fail, leading to a division by zero (on block size), or trying to read from nothing.

If you loaded an invalid file, particularly with compression, the file
open may fail, leading to a division by zero (on block size), or trying
to read from nothing.
@github-actions github-actions bot added the CDVD label Dec 18, 2021
@ghost
Copy link

ghost commented Dec 18, 2021

I guess I will write that here, but that PR doesn't seem to fix a very very weird problem I have with Wipeout 2097 where PCSX2 think it's a corrupted iso (it can't find the game executable file) despite comming straight from the game disc, and that same disc works fine in duckstation.

@stenzek
Copy link
Member Author

stenzek commented Dec 18, 2021

It's not going to. This just stops it crashing on corrupted files (at least in one place)

@refractionpcsx2 refractionpcsx2 merged commit fac171f into PCSX2:master Dec 18, 2021
@stenzek stenzek deleted the cdvd-check-open branch June 22, 2022 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants