ratalaika / angel-engine

Automatically exported from code.google.com/p/angel-engine
0 stars 0 forks source link

vsprintf buffer overflow problem #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Usage of vsprintf in Log.cpp line 66 highly susceptible to buffer overflows, 
stack smashes, etc.

Recommended change to vsnprintf, which allows the buffer length to be 
specified. This function is standard in C99 and required in C++11, so should be 
pretty well supported.

Original issue reported on code.google.com by LoveOver...@gmail.com on 27 Sep 2013 at 7:49

GoogleCodeExporter commented 9 years ago
Fixed in repo. 

Original comment by lieseg...@gmail.com on 28 Sep 2013 at 2:58