mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 13:45:58 +00:00
Fix buffer overflow
See issue #2516 for more details. svn path=/trunk/; revision=28120
This commit is contained in:
parent
f74d31a796
commit
401e48338f
|
@ -83,7 +83,7 @@ Output(POUTPUTBUFFER OutBuf, PCTSTR Text)
|
|||
*OutBuf->Current++ = (char) *Text++;
|
||||
OutBuf->FreeSize--;
|
||||
}
|
||||
OutBuf->Current[1] = '\0';
|
||||
*OutBuf->Current = '\0';
|
||||
}
|
||||
|
||||
INFSTATUS
|
||||
|
|
Loading…
Reference in a new issue