Fix a potention buffer overflow
This commit is contained in:
parent
a793268be3
commit
a0216af01d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue