diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-18 13:11:43 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2003-03-18 13:11:43 +0000 |
commit | 72ef55fe37b026d9f89cea441737d4c20fd35c73 (patch) | |
tree | fef618241613a0848764e048149f6f477a03df8d /autodoc/source/parser/cpp | |
parent | 179fc2e2e25d3e9bc7c198b1e9ea6651fc6de84a (diff) |
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'autodoc/source/parser/cpp')
-rw-r--r-- | autodoc/source/parser/cpp/cx_c_pp.cxx | 9 |
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 bad7d8d0917d..e384df0a00d6 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 ) |