mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Fix potential heap corruption. Sometimes called g_free() on string
2002-12-16 Tor Lillqvist <tml@iki.fi> * glib/gspawn-win32.c (do_spawn): Fix potential heap corruption. Sometimes called g_free() on string literal.
This commit is contained in:
parent
be29f0e43e
commit
969394d016
@ -1,3 +1,8 @@
|
||||
2002-12-16 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gspawn-win32.c (do_spawn): Fix potential heap
|
||||
corruption. Sometimes called g_free() on string literal.
|
||||
|
||||
Sun Dec 15 19:51:58 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-gettext.m4: AC_SUBST() DATADIRNAME, not
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-12-16 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gspawn-win32.c (do_spawn): Fix potential heap
|
||||
corruption. Sometimes called g_free() on string literal.
|
||||
|
||||
Sun Dec 15 19:51:58 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-gettext.m4: AC_SUBST() DATADIRNAME, not
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-12-16 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gspawn-win32.c (do_spawn): Fix potential heap
|
||||
corruption. Sometimes called g_free() on string literal.
|
||||
|
||||
Sun Dec 15 19:51:58 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-gettext.m4: AC_SUBST() DATADIRNAME, not
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-12-16 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gspawn-win32.c (do_spawn): Fix potential heap
|
||||
corruption. Sometimes called g_free() on string literal.
|
||||
|
||||
Sun Dec 15 19:51:58 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-gettext.m4: AC_SUBST() DATADIRNAME, not
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-12-16 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gspawn-win32.c (do_spawn): Fix potential heap
|
||||
corruption. Sometimes called g_free() on string literal.
|
||||
|
||||
Sun Dec 15 19:51:58 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-gettext.m4: AC_SUBST() DATADIRNAME, not
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-12-16 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gspawn-win32.c (do_spawn): Fix potential heap
|
||||
corruption. Sometimes called g_free() on string literal.
|
||||
|
||||
Sun Dec 15 19:51:58 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-gettext.m4: AC_SUBST() DATADIRNAME, not
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-12-16 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* glib/gspawn-win32.c (do_spawn): Fix potential heap
|
||||
corruption. Sometimes called g_free() on string literal.
|
||||
|
||||
Sun Dec 15 19:51:58 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* m4macros/glib-gettext.m4: AC_SUBST() DATADIRNAME, not
|
||||
|
@ -606,9 +606,10 @@ do_spawn (gboolean dont_wait,
|
||||
}
|
||||
|
||||
if (working_directory && *working_directory)
|
||||
/* The g_strdup() to lose the constness */
|
||||
new_argv[ARG_WORKING_DIRECTORY] = g_strdup (working_directory);
|
||||
else
|
||||
new_argv[ARG_WORKING_DIRECTORY] = "-";
|
||||
new_argv[ARG_WORKING_DIRECTORY] = g_strdup ("-");
|
||||
|
||||
if (close_descriptors)
|
||||
new_argv[ARG_CLOSE_DESCRIPTORS] = "y";
|
||||
|
Loading…
Reference in New Issue
Block a user