@Unseen Machine
Writing at the speed of light, I see?
Sources contains many typos. Contains external call. _popen("curl ...")
What is this. QBLive_Server.h line 42: std:tring GetGlobalIP_Clean() { (better is std:: string...., no?)
line 44: std:tring result = "";
and then...
Buffering security flaw (actually a bug)
strncpy(..., 1024) does not guarantee a \0 at the end.
strcpy(buffer, g_LastPacketData) can overwrite memory if the caller passes a smaller buffer. This is a classic buffer overflow in an exported function.
But maybe this all is not your fail. C++ code insert to code marks. It works better. [ code ] and [ / code ] without spaces
Writing at the speed of light, I see?
Sources contains many typos. Contains external call. _popen("curl ...")
What is this. QBLive_Server.h line 42: std:tring GetGlobalIP_Clean() { (better is std:: string...., no?)
line 44: std:tring result = "";
and then...
Buffering security flaw (actually a bug)
strncpy(..., 1024) does not guarantee a \0 at the end.
strcpy(buffer, g_LastPacketData) can overwrite memory if the caller passes a smaller buffer. This is a classic buffer overflow in an exported function.
But maybe this all is not your fail. C++ code insert to code marks. It works better. [ code ] and [ / code ] without spaces

