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

Heap corruption detected #13

Open
arcman7 opened this issue Nov 27, 2020 · 3 comments
Open

Heap corruption detected #13

arcman7 opened this issue Nov 27, 2020 · 3 comments

Comments

@arcman7
Copy link

arcman7 commented Nov 27, 2020

Whenever I run the DataGen.exe file it starts parsing 1.32.9.16207 and get's up to 40.4%, but it errors out on everything starting with ReplaceableTextures\Selection\SpellAreaOfEffect_Undead.dds

I an error message stating:

HEAP CORRUPTION DETECTED: after Normal block (#6760333) at 0x0000023FBE0BD260. CRT detected that the application wrote to memory after end of heap buffer.

@d07RiV
Copy link
Owner

d07RiV commented Nov 28, 2020

I probably don't have proper code for parsing DDS files? Haven't tried running it on reforged yet, it might have some peculiar format.

@arcman7
Copy link
Author

arcman7 commented Nov 29, 2020

Ah, okay, right. How would I get it to only digest the older files? I can uninstall the reforged version, reinstall a much older version and run the same executable?

@arcman7
Copy link
Author

arcman7 commented Nov 29, 2020

I just tried that now, and it's still not working. However I noticed in main.cpp on line 61:
bool isImage = (ext == ".blp" || ext == ".dds" || ext == ".gif" || ext == ".jpg" || ext == ".jpeg" || ext == ".png" || ext == ".tga");

Your code does acknowledge the .dds format. Do you perhaps know the oldest version I'd have to go back to?

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

No branches or pull requests

2 participants