mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Fix buffer overflow
See issue #2516 for more details. svn path=/trunk/; revision=28120
This commit is contained in:
@@ -83,7 +83,7 @@ Output(POUTPUTBUFFER OutBuf, PCTSTR Text)
|
||||
*OutBuf->Current++ = (char) *Text++;
|
||||
OutBuf->FreeSize--;
|
||||
}
|
||||
OutBuf->Current[1] = '\0';
|
||||
*OutBuf->Current = '\0';
|
||||
}
|
||||
|
||||
INFSTATUS
|
||||
|
||||
Reference in New Issue
Block a user