Artikash / Textractor

Extracts text from video games and visual novels. Highly extensible.
GNU General Public License v3.0
2k stars 201 forks source link

Fix "Access violation" caused by nullptr passed to SysAllocStringLen(). #1147

Open seanlis opened 10 months ago

seanlis commented 10 months ago

Fixes: https://github.com/Artikash/Textractor/issues/1023

Blu3train commented 10 months ago

Shouldn't this same fix also be done for the WIN32 code? else ::memcpy(pbData, (void*)dwDataIn, dwCount);

seanlis commented 10 months ago

I probably should.