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...
  
  
  

Reply via email to