Fix buffer overflow

See issue #2516 for more details.

svn path=/trunk/; revision=28120
This commit is contained in:
Thomas Bluemel 2007-08-03 10:12:25 +00:00
parent f74d31a796
commit 401e48338f

View file

@ -83,7 +83,7 @@ Output(POUTPUTBUFFER OutBuf, PCTSTR Text)
*OutBuf->Current++ = (char) *Text++;
OutBuf->FreeSize--;
}
OutBuf->Current[1] = '\0';
*OutBuf->Current = '\0';
}
INFSTATUS