From 72ef55fe37b026d9f89cea441737d4c20fd35c73 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Tue, 18 Mar 2003 13:11:43 +0000 Subject: MWS_SRX644: migrate branch mws_srx644 -> HEAD --- autodoc/source/parser/cpp/cx_c_pp.cxx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'autodoc/source/parser/cpp') 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 ) -- cgit