diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-30 00:34:30 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-30 00:34:30 +0000 |
commit | f1ab0d3cab7f151b67f0f558982fe5829195db5a (patch) | |
tree | 7bcfeccc3d57d423bbfccffa4bee4f5fc3f3e447 /process.c | |
parent | 525336fcc97a0c0fc8dae2e6f9fe63dfc6e645ab (diff) | |
download | ruby-f1ab0d3cab7f151b67f0f558982fe5829195db5a.tar.gz |
* process.c (rb_f_system): fixed lack of security check before
calling do_spawn() on win32. [ruby-talk:84555]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'process.c')
-rw-r--r-- | process.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -976,6 +976,7 @@ rb_f_system(argc, argv) if (argc == 1 && prog == 0) { #if defined(_WIN32) + SafeStringValue(argv[0]); status = do_spawn(P_WAIT, RSTRING(argv[0])->ptr); #else status = proc_spawn(argv[0]); |