Skip to content
New issue

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

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

Already on GitHub? # to your account

Crash when SPTLIB_DEBUG=1 on Windows with BunnymodXT #2

Open
Matherunner opened this issue Apr 4, 2019 · 1 comment
Open

Crash when SPTLIB_DEBUG=1 on Windows with BunnymodXT #2

Matherunner opened this issue Apr 4, 2019 · 1 comment

Comments

@Matherunner
Copy link
Contributor

The culprit seems to be the Convert call in HOOKED_LoadLibraryExW. I've not investigated further. If I remove the Convert call, there will not be crashes.

@YaLTeR
Copy link
Owner

YaLTeR commented Apr 4, 2019

Oh, looks like I made the mistake of grabbing a .c_str() of a string that's then immediately de-allocated.

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

No branches or pull requests

2 participants