From 946bde4a62fa9c4c47315defb2e31cf54d821246 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 26 Jan 2011 22:23:30 +0000 Subject: Patch a few buffer overrun problems and odd crash potentials git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1217371 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdecore/kconfig_compiler/kconfig_compiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kdecore/kconfig_compiler') diff --git a/kdecore/kconfig_compiler/kconfig_compiler.cpp b/kdecore/kconfig_compiler/kconfig_compiler.cpp index 1b1d82860..434208b70 100644 --- a/kdecore/kconfig_compiler/kconfig_compiler.cpp +++ b/kdecore/kconfig_compiler/kconfig_compiler.cpp @@ -933,7 +933,7 @@ TQString itemAccessorBody( CfgEntry *e ) //indents text adding X spaces per line TQString indent(TQString text, int spaces) -{ +{ TQString result; TQTextStream out(&result, IO_WriteOnly); TQTextStream in(&text, IO_ReadOnly); -- cgit v1.2.1