Bug 708098 - Further mitigation for CVE-2012-4245 (script-fu-server)

Reorder server_start()'s arguments so they match the PDB signature.
This commit is contained in:
Christian Lehmann 2014-04-23 18:07:45 +02:00 committed by Michael Natterer
parent 83741044fc
commit 3b72ad8939
1 changed files with 5 additions and 5 deletions

View File

@ -252,11 +252,11 @@ script_fu_server_run (const gchar *name,
server_mode = TRUE;
/* Start the server */
server_start ((params[3].data.d_string &&
strlen (params[3].data.d_string)) ?
params[3].data.d_string : "127.0.0.1",
params[1].data.d_int32,
params[2].data.d_string);
server_start ((params[1].data.d_string &&
strlen (params[1].data.d_string)) ?
params[1].data.d_string : "127.0.0.1",
params[2].data.d_int32,
params[3].data.d_string);
break;
case GIMP_RUN_WITH_LAST_VALS: