We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 525336f commit f1ab0d3Copy full SHA for f1ab0d3
ChangeLog
@@ -1,3 +1,8 @@
1
+Thu Oct 30 09:32:26 2003 NAKAMURA Usaku <usa@ruby-lang.org>
2
+
3
+ * process.c (rb_f_system): fixed lack of security check before
4
+ calling do_spawn() on win32. [ruby-talk:84555]
5
6
Thu Oct 30 02:46:35 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
7
8
* eval.c (proc_invoke): single array value to normal Proc#call
process.c
@@ -976,6 +976,7 @@ rb_f_system(argc, argv)
976
977
if (argc == 1 && prog == 0) {
978
#if defined(_WIN32)
979
+ SafeStringValue(argv[0]);
980
status = do_spawn(P_WAIT, RSTRING(argv[0])->ptr);
981
#else
982
status = proc_spawn(argv[0]);
0 commit comments