diff options
author | Jörg Mayer <jmayer@loplof.de> | 2004-06-29 03:27:52 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2004-06-29 03:27:52 +0000 |
commit | 4bbb32eaaa0bad113d1a16e7631233afd55b2ca9 (patch) | |
tree | 862fe084a4329b2cbf4b86abb38a23ef28fbb599 /gtk/print_dlg.c | |
parent | 5648314c036953892f71d57e8cbd5fce777b7752 (diff) | |
download | wireshark-4bbb32eaaa0bad113d1a16e7631233afd55b2ca9.tar.gz wireshark-4bbb32eaaa0bad113d1a16e7631233afd55b2ca9.tar.bz2 wireshark-4bbb32eaaa0bad113d1a16e7631233afd55b2ca9.zip |
The patch to fix the race condition introduced by using tmpnam replaced
insecure code by not-working code. As I currently lack the time to fix
this properly until Monday as the earliest possible date I undo the patch.
Please note that Ethereal should not be used on multiuser systems with
untrusted users until a proper fix has been applied.
svn path=/trunk/; revision=11263
Diffstat (limited to 'gtk/print_dlg.c')
-rw-r--r-- | gtk/print_dlg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/print_dlg.c b/gtk/print_dlg.c index 933165e8c2..3e5963ca3c 100644 --- a/gtk/print_dlg.c +++ b/gtk/print_dlg.c @@ -1,7 +1,7 @@ /* print_dlg.c * Dialog boxes for printing * - * $Id: print_dlg.c,v 1.79 2004/06/25 07:04:02 jmayer Exp $ + * $Id: print_dlg.c,v 1.80 2004/06/29 03:27:52 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -768,7 +768,7 @@ print_ok_cb(GtkWidget *ok_bt, gpointer parent_w) win_printer = TRUE; /*XXX should use temp file stuff in util routines */ g_free(args->file); - args->file = g_strdup(mkstemp("etherealXXXXXX")); + args->file = g_strdup(tmpnam(NULL)); args->to_file = TRUE; #else g_free(args->cmd); |