[prev in list] [next in list] [prev in thread] [next in thread]
List: xalan-cvs
Subject: cvs commit: xml-xalan/c/src/PlatformSupport DOMStringHelper.cpp
From: auriemma () locus ! apache ! org
Date: 2000-09-29 20:12:37
[Download RAW message or body]
auriemma 00/09/29 13:12:36
Modified: c/src/PlatformSupport DOMStringHelper.cpp
Log:
Fix bug with buffer overwrite.
Revision Changes Path
1.36 +1 -1 xml-xalan/c/src/PlatformSupport/DOMStringHelper.cpp
Index: DOMStringHelper.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/PlatformSupport/DOMStringHelper.cpp,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- DOMStringHelper.cpp 2000/09/27 16:23:35 1.35
+++ DOMStringHelper.cpp 2000/09/29 20:12:33 1.36
@@ -1460,7 +1460,7 @@
wchar_t theBuffer[MAX_PRINTF_DIGITS + 1];
- wchar_t* thePointer = &theBuffer[MAX_PRINTF_DIGITS + 1];
+ wchar_t* thePointer = &theBuffer[MAX_PRINTF_DIGITS];
wchar_t* const theEnd = thePointer;
// Null terminate it...
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic