selhero.cpp: ``` strncpy(name, selhero_heroInfo.name, sizeof(name) - 1); ``` `name` is a pointer and does not know the length of the buffer... `sizeof(name)` yields the pointer size of the target cpu...
selhero.cpp:
nameis a pointer and does not know the length of the buffer...sizeof(name)yields the pointer size of the target cpu...