[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: quanta/quanta [POSSIBLY UNSAFE]
From: Lukáš Tinkl <lukas () kde ! org>
Date: 2003-06-21 15:16:35
[Download RAW message or body]
V So, 21. 06. 2003 v 14:26, Helge Deller napsal:
> CVS commit by deller:
>
> - possible security fix & compiler warning fix
> - roaming user fixes: use readPathEntry/writePathEntry instead of \
> readEntry/writeEntry
>
> M +6 -6 quanta_init.cpp 1.290 [POSSIBLY UNSAFE: printf]
>
>
> --- quanta/quanta/quanta_init.cpp #1.289:1.290
> @@ -112,7 +112,7 @@ QuantaApp::QuantaApp() : KDockMainWindow
> quantaStarted = false;
> fprintf(stderr,"***************************************************************************\n");
>
> - fprintf(stderr, i18n("\tQuanta data files were not found.\nYou may forgot to \
> run \"make install\",\nor your KDEDIR, KDEDIRS or PATH is not set correctly.!\n")); \
> + fprintf(stderr, "%s", i18n("\tQuanta data files were not found.\nYou may \
> forgot to run \"make install\",\nor your KDEDIR, KDEDIRS or PATH is not set \
> correctly.!\n").latin1()); \
> fprintf(stderr,"***************************************************************************\n");
>
The .latin1() isn't correct! Use localBit() please
--
Lukáš Tinkl (lukas@kde.org)
KDE developer | KOffice release manager
http://czechia.kde.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic