mirror of https://github.com/BOINC/boinc.git
Leiden Classic queuing system: fix security vulnerability
This commit is contained in:
parent
6b9205b3a1
commit
5094a24ce1
|
@ -1,3 +1,5 @@
|
|||
// THIS SYSTEM IS NOT SUPPORTED BY BOINC. USE AT YOUR OWN RISK
|
||||
//
|
||||
// This directory contains a system that allows
|
||||
// users to submit jobs to a BOINC project.
|
||||
//
|
||||
|
|
|
@ -10,7 +10,7 @@ db_init();
|
|||
$timestr = time_str(time(0));
|
||||
|
||||
$jobapplication = post_int( 'application' );
|
||||
$jobname = escapeshellcmd( $_POST[ 'name' ] );
|
||||
$jobname = escapeshellarg( $_POST[ 'name' ] );
|
||||
$jobinput = post_str( 'input' );
|
||||
$jobfops = post_int( 'fops' );
|
||||
$jobdisk = post_int( 'disk' );
|
||||
|
|
Loading…
Reference in New Issue