[gimp] app: fix buffer overflow in gimp_plug_in_open()



commit c6e8dd888cd92a473bbb8d6d23ccd92101032e8f
Author: Ell <ell_se yahoo com>
Date:   Mon Mar 5 12:45:22 2018 -0500

    app: fix buffer overflow in gimp_plug_in_open()
    
    Commit b9e629abbb2a40aa34cd41e7f093b7171bc249db added two more
    command-line arguments when spawning plug-ins, but failed to expand
    the args array...

 app/plug-in/gimpplugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/plug-in/gimpplugin.c b/app/plug-in/gimpplugin.c
index 38dc77d..d51d282 100644
--- a/app/plug-in/gimpplugin.c
+++ b/app/plug-in/gimpplugin.c
@@ -218,7 +218,7 @@ gimp_plug_in_open (GimpPlugIn         *plug_in,
   gint          my_read[2];
   gint          my_write[2];
   gchar       **envp;
-  const gchar  *args[9];
+  const gchar  *args[11];
   gchar       **argv;
   gint          argc;
   gchar        *interp, *interp_arg;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]