GameAnalytics / GA-SDK-CPP

Repository for GameAnalytics C++ SDK.
MIT License
20 stars 16 forks source link

gameanalytics::GameAnalytics::configureWritablePath path limit 65 chars #114

Closed irov closed 2 years ago

irov commented 2 years ago

std::array<char, 65> writablePath = {'\0'}; snprintf(writablePath.data(), writablePath.size(), "%s", writablePath_ ? writablePath_ : "");

please add platform dependens define this size like MAX_PATH (windows 260, unix base 1024)

thanks

the1schwartz commented 2 years ago

Thanks for reporting this. This should be fixed now