[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop/parts/autoproject [POSSIBLY UNSAFE]
From: Harald Fernengel <harald () trolltech ! com>
Date: 2002-12-18 15:35:32
[Download RAW message or body]
CVS commit by harald:
quote the files
M +2 -2 choosetargetdialog.cpp 1.2 [POSSIBLY UNSAFE: KShellProcess]
--- kdevelop/parts/autoproject/choosetargetdialog.cpp #1.1:1.2
@@ -305,6 +305,6 @@ void ChooseTargetDialog::accept ()
proc << "mv";
- proc << m_widget->projectDirectory() + "/" + directory + "/" \
+ fileName;
- proc << m_choosenSubproject->path + "/" + fileName;
+ proc << KShellProcess::quote( m_widget->projectDirectory() + \
"/" + directory + "/" + fileName ); + proc << \
KShellProcess::quote( m_choosenSubproject->path + "/" + fileName ); \
proc.start(KProcess::DontCare);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic