diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-26 22:23:30 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-26 22:23:30 +0000 |
commit | 946bde4a62fa9c4c47315defb2e31cf54d821246 (patch) | |
tree | 4c8722f3db4e1cc5800519d00ccd30c60c50dd3d /kdecore/kconfig_compiler | |
parent | a20928b6bfae18a41bb42b85e10f73fb63548ccc (diff) | |
download | tdelibs-946bde4a62fa9c4c47315defb2e31cf54d821246.tar.gz tdelibs-946bde4a62fa9c4c47315defb2e31cf54d821246.zip |
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
Diffstat (limited to 'kdecore/kconfig_compiler')
-rw-r--r-- | kdecore/kconfig_compiler/kconfig_compiler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |