1
0
Fork 0

Fix a potention buffer overflow

This commit is contained in:
ehofman 2003-10-24 12:39:31 +00:00
parent a793268be3
commit a0216af01d

View file

@ -289,7 +289,7 @@ void FGCoefficient::DisplayCoeffFactors(void)
string FGCoefficient::GetSDstring(void) string FGCoefficient::GetSDstring(void)
{ {
char buffer[10]; char buffer[16];
string value; string value;
sprintf(buffer,"%9.6f",SD); sprintf(buffer,"%9.6f",SD);