wc3data icon indicating copy to clipboard operation
wc3data copied to clipboard

Heap corruption detected

Open arcman7 opened this issue 5 years ago • 3 comments

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.

arcman7 avatar Nov 27 '20 23:11 arcman7

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.

d07RiV avatar Nov 28 '20 06:11 d07RiV

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 avatar Nov 29 '20 20:11 arcman7

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?

arcman7 avatar Nov 29 '20 20:11 arcman7