mirror of
https://github.com/glest/glest-source.git
synced 2025-08-21 07:31:21 +02:00
- add a few more safety's in the code to avoid memory issues
This commit is contained in:
@@ -196,6 +196,7 @@ Mutex UPNP_Tools::mutexUPNP;
|
||||
{
|
||||
// Build basic error string
|
||||
static char acErrorBuffer[8096];
|
||||
std::ostrstream outs(acErrorBuffer, 8095);
|
||||
outs << pcMessagePrefix << ": ";
|
||||
|
||||
// Tack appropriate canned message onto end of supplied message
|
||||
|
Reference in New Issue
Block a user