Author: khornicek
Date: Wed Oct 22 19:28:33 2014
New Revision: 64904
URL:
http://svn.reactos.org/svn/reactos?rev=64904&view=rev
Log:
[SERVMAN]
- better fix for CDI 513719, LVText might not be null terminated - spotted by Timo
Modified:
trunk/reactos/base/applications/mscutils/servman/export.c
Modified: trunk/reactos/base/applications/mscutils/servman/export.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/mscutils…
==============================================================================
--- trunk/reactos/base/applications/mscutils/servman/export.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/mscutils/servman/export.c [iso-8859-1] Wed Oct 22
19:28:33 2014
@@ -68,7 +68,7 @@
LVText,
i,
k);
- if (_tcslen(LVText))
+ if (dwTextLength != 0)
{
WriteFile(hFile,
LVText,