[gnome-nettool] Fix user-after-free variable



commit bccd529a81a6af731c9e89860a0b3245ffe4b928
Author: Germán Poo-Caamaño <gpoo gnome org>
Date:   Tue Oct 3 17:06:32 2017 -0300

    Fix user-after-free variable
    
    https://bugzilla.gnome.org/show_bug.cgi?id=753184

 src/info.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/info.c b/src/info.c
index c0420c8..fe8219c 100644
--- a/src/info.c
+++ b/src/info.c
@@ -479,7 +479,6 @@ info_get_nic_information (const gchar *nic, Netinfo *info)
                dst = g_strdup_printf ("%s", _("Loopback"));
                gtk_label_set_text (GTK_LABEL (info->hw_address), dst);
                g_free (dst);
-               ip->ip_bcast = g_strdup ("");
                info_setup_configure_button (info, FALSE);
        } else {
                info_setup_configure_button (info, TRUE);


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