wireshark/wireshark-1.2.0-disable-warning-dialog.patch
Pavol Rusnak dbddd0d7b0 - updated to 1.4.3
- security fixes:
     o MAC-LTE dissector could overflow a buffer
     o ENTTEC dissector could overflow a buffer
     o ASN.1 BER dissector could assert and make Wireshark exit prematurely
  - bug fixes:
     o AMQP failed assertion
     o Reassemble.c leaks memory for GLIB > 2.8
     o Fuzz testing reports possible dissector bug: TCP
     o Wrong length calculation in new_octet_aligned_subset_bits()
     o Function dissect_per_bit_string_display might read more bytes
       than available
     o Wireshark crashes with Copy -> Description on date/time fields
     o DHCPv6 OPTION_CLIENT_FQDN parse error
     o Information element Error for supported channels
     o Assert when using ASN.1 dissector with loading a 'type table'
     o Bug with RWH parsing in Infiniband dissector
     o Help->About Wireshark mis-reports OS
     o Delegated-IPv6-Prefix(123) is shown incorrect as
       X-Ascend-Call-Attempt-Limit(123)
     o "tshark -r file -T fields" is truncating exported data
     o gsm_a_dtap: incorrect "Extraneous Data" when decoding Packet
       Flow Identifier
     o Improper decode of TLS 1.2 packet containing both
       CertificateRequest and ServerHelloDone messages
     o LTE-PDCP UL and DL problem
     o CIGI 3.2/3.3 support broken
     o Prepare Filter in RTP Streams dialog does not work correctly.
     o Wrong decode at ethernet OAM Y.1731 ETH-CC

OBS-URL: https://build.opensuse.org/package/show/network:utilities/wireshark?expand=0&rev=34
2011-02-15 13:04:22 +00:00

42 lines
1.3 KiB
Diff

Index: gtk/main.c
===================================================================
--- gtk/main.c.orig
+++ gtk/main.c
@@ -1421,13 +1421,13 @@ set_display_filename(capture_file *cf)
}
GtkWidget *close_dlg = NULL;
-
+/*
static void
priv_warning_dialog_cb(gpointer dialog, gint btn _U_, gpointer data _U_)
{
recent.privs_warn_if_elevated = !simple_dialog_check_get(dialog);
}
-
+*/
#ifdef _WIN32
static void
npf_warning_dialog_cb(gpointer dialog, gint btn _U_, gpointer data _U_)
@@ -1997,9 +1997,10 @@ check_and_warn_user_startup(gchar *cf_na
#endif
{
gchar *cur_user, *cur_group;
- gpointer priv_warning_dialog;
+// gpointer priv_warning_dialog;
/* Tell the user not to run as root. */
+/*
if (running_with_special_privs() && recent.privs_warn_if_elevated) {
cur_user = get_cur_username();
cur_group = get_cur_groupname();
@@ -2011,7 +2012,7 @@ check_and_warn_user_startup(gchar *cf_na
simple_dialog_check_set(priv_warning_dialog, "Don't show this message again.");
simple_dialog_set_cb(priv_warning_dialog, priv_warning_dialog_cb, NULL);
}
-
+*/
#ifdef _WIN32
/* Warn the user if npf.sys isn't loaded. */
if (!stdin_capture && !cf_name && !npf_sys_is_running() && recent.privs_warn_if_no_npf && get_os_major_version() >= 6) {