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

Require minizip 2.0.0 or newer #8776

Merged
merged 1 commit into from Apr 29, 2020
Merged

Conversation

Techjar
Copy link
Contributor

@Techjar Techjar commented Apr 29, 2020

Minizip 1.x is the old broken version, while 2.x is the newer fork we use. Many distros ship the old version which is causing stack smashing in RedumpVerifier, so we'll only use the shared lib if it's the newer version.

Minizip 1.x is the old broken version, while 2.x is the newer fork we
use. Many distros ship the old version which is causing stack smashing
in RedumpVerifier, so we'll only use the shared lib if it's the newer
version.
@lioncash lioncash merged commit 295accb into dolphin-emu:master Apr 29, 2020
@degasus
Copy link
Member

degasus commented Apr 29, 2020

The stack smashing is because of a header to lib mismatch.
I still don't know why, but we include the header from externals but link to the system library. This works fine for the function calls, but the struct unz_file_info does not match.

So indeed, the fork might be better. However the crash is because of a wrong include directory. GIT_ROOT/Externals must not be within the include directories.

This PR is not needed any more after #8780 is merged.

@Techjar
Copy link
Contributor Author

Techjar commented Apr 29, 2020

Ah, yeah I did not know about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants