[yast-commit] r54228 - in /branches/SuSE-Code-11-Branch/yast2: library/cwm/src/CWMTsigKeys.ycp package/yast2.changes
Author: locilka Date: Wed Dec 17 14:17:26 2008 New Revision: 54228 URL: http://svn.opensuse.org/viewcvs/yast?rev=54228&view=rev Log: - Escaping parameters when calling /usr/bin/genDDNSkey (bnc #459739) Modified: branches/SuSE-Code-11-Branch/yast2/library/cwm/src/CWMTsigKeys.ycp branches/SuSE-Code-11-Branch/yast2/package/yast2.changes Modified: branches/SuSE-Code-11-Branch/yast2/library/cwm/src/CWMTsigKeys.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/yast2/library/cwm/src/CWMTsigKeys.ycp?rev=54228&r1=54227&r2=54228&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/yast2/library/cwm/src/CWMTsigKeys.ycp (original) +++ branches/SuSE-Code-11-Branch/yast2/library/cwm/src/CWMTsigKeys.ycp Wed Dec 17 14:17:26 2008 @@ -17,6 +17,7 @@ import "Label"; import "Report"; import "Popup"; +import "String"; // pre-declarations @@ -392,8 +393,8 @@ SCR::Execute (.target.bash, "test -d /etc/named.d || mkdir /etc/named.d"); string gen_command = sformat ( - "/usr/bin/genDDNSkey --force -f %1 -n %2 -d /etc/named.d", - new_filename, key); + "/usr/bin/genDDNSkey --force -f '%1' -n '%2' -d /etc/named.d", + String::Quote (new_filename), String::Quote (key)); y2milestone ("Running %1", gen_command); integer gen_ret = (integer)SCR::Execute (.target.bash, gen_command); if (gen_ret != 0) Modified: branches/SuSE-Code-11-Branch/yast2/package/yast2.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/yast2/package/yast2.changes?rev=54228&r1=54227&r2=54228&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/yast2/package/yast2.changes (original) +++ branches/SuSE-Code-11-Branch/yast2/package/yast2.changes Wed Dec 17 14:17:26 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Wed Dec 17 14:16:19 CET 2008 - locilka@suse.cz + +- Escaping parameters when calling /usr/bin/genDDNSkey + (bnc #459739) + +------------------------------------------------------------------- Mon Dec 15 13:20:41 CET 2008 - lslezak@suse.cz - PackageSystem::DoInstallAndRemove() - reset the fixsystem solver -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
locilka@svn.opensuse.org