mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-23 10:42:11 +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
9ba4dfda92
commit
0e64bf5b37
@ -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.
|
||||
|
||||
Sat Dec 14 21:24:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
|
||||
|
@ -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.
|
||||
|
||||
Sat Dec 14 21:24:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
|
||||
|
@ -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.
|
||||
|
||||
Sat Dec 14 21:24:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
|
||||
|
@ -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.
|
||||
|
||||
Sat Dec 14 21:24:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
|
||||
|
@ -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.
|
||||
|
||||
Sat Dec 14 21:24:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
|
||||
|
@ -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.
|
||||
|
||||
Sat Dec 14 21:24:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
|
||||
|
@ -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.
|
||||
|
||||
Sat Dec 14 21:24:04 2002 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* glib/gutils.c (g_get_any_init): HP-UX 10 xshares the
|
||||
|
@ -603,9 +603,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…
x
Reference in New Issue
Block a user