Author: weiden
Date: Fri Aug 3 14:12:25 2007
New Revision: 28120
URL:
http://svn.reactos.org/svn/reactos?rev=28120&view=rev
Log:
Fix buffer overflow
See issue #2516 for more details.
Modified:
trunk/reactos/lib/inflib/infput.c
Modified: trunk/reactos/lib/inflib/infput.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/inflib/infput.c?rev=28…
==============================================================================
--- trunk/reactos/lib/inflib/infput.c (original)
+++ trunk/reactos/lib/inflib/infput.c Fri Aug 3 14:12:25 2007
@@ -83,7 +83,7 @@
*OutBuf->Current++ = (char) *Text++;
OutBuf->FreeSize--;
}
- OutBuf->Current[1] = '\0';
+ *OutBuf->Current = '\0';
}
INFSTATUS