svn commit: r1182041 - /xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp
[email protected] Tue, 11 Oct 2011 19:18:17 -0000
| Newsgroups | gmane.text.xml.xalan.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: shathaway
Date: Tue Oct 11 19:18:17 2011
New Revision: 1182041
URL: http://svn.apache.org/viewvc?rev=1182041&view=rev
Log:
JIRA XALANC-716 incorrect buffer-size calculation in XalanUTF16Writer.hpp
Modified:
xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp
Modified: xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp?rev=1182041&r1=1182040&r2=1182041&view=diff
==============================================================================
--- xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp (original)
+++ xalan/c/trunk/src/xalanc/XMLSupport/XalanUTF16Writer.hpp Tue Oct 11 19:18:17 2011
@@ -116,7 +116,7 @@ public:
const value_type* theChars,
size_type theLength)
{
- if (theLength > sizeof(m_buffer))
+ if (theLength > kBufferSize)
{
flushBuffer();