summaryrefslogtreecommitdiff
path: root/autodoc/source/parser/cpp/cx_c_pp.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-03-18 13:11:43 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-03-18 13:11:43 +0000
commit8aac1f7cc6f656df0893680266e41277d80cc86c (patch)
tree3d71cff98191b0de32982d52ff991d8256f283ba /autodoc/source/parser/cpp/cx_c_pp.cxx
parent8813d26d786376f9bf1d84008ca77335c701670c (diff)
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'autodoc/source/parser/cpp/cx_c_pp.cxx')
-rw-r--r--autodoc/source/parser/cpp/cx_c_pp.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/autodoc/source/parser/cpp/cx_c_pp.cxx b/autodoc/source/parser/cpp/cx_c_pp.cxx
index 279bf2ee..250228ed 100644
--- a/autodoc/source/parser/cpp/cx_c_pp.cxx
+++ b/autodoc/source/parser/cpp/cx_c_pp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: cx_c_pp.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: np $ $Date: 2002-03-08 14:45:29 $
+ * last change: $Author: hr $ $Date: 2003-03-18 14:11:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -180,8 +180,9 @@ Context_PP_MacroParams::ReadCharChain( CharacterSource & io_rText )
char cSeparator = jumpTo( io_rText, ',', ')' );
csv_assert( cSeparator != 0 );
- static char cBuf[100];
- strcpy( cBuf, io_rText.CutToken() );
+ static char cBuf[500];
+ // KORR_FUTURE, make it still safer, here:
+ strcpy( cBuf, io_rText.CutToken() ); // SAFE STRCPY (#100211# - checked)
for ( uintt nLen = strlen(cBuf);
nLen > 0 AND cBuf[nLen-1] < 33;
--nLen )