[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
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

fix: reset num_pe_exports on export dir parsing #111

Merged
merged 1 commit into from
Jan 23, 2022

Conversation

CertainLach
Copy link
Contributor

I was getting segfault here while loading multiple dlls, as num_pe_exports was exceeding pe_exports size on some point

@taviso
Copy link
Owner
taviso commented Jan 23, 2022

Thanks, looks good to me - I haven't done much testing with multiple dlls, please let me know about problems.

@taviso taviso merged commit c40033b into taviso:master Jan 23, 2022
@CertainLach CertainLach deleted the patch-1 branch January 23, 2022 18:35
@CertainLach
Copy link
Contributor Author

Yep, this patch is not entirely valid, as pe_exports shouldn't be reallocated on every dll load, but instead store exports from every dll, as it used in search

Currently i need this project to load windows-only library in linux process ValveSoftware/SteamVR-for-Linux#450 (comment)

And i will try to fix this and issues with loading multiple dlls

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

Successfully merging this pull request may close these issues.

2 participants