aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2011-02-03 22:50:49 +0000
committerGerald Combs <gerald@wireshark.org>2011-02-03 22:50:49 +0000
commit0c9649929e9982c0e9b0e5676c68c9ca2b3f03cc (patch)
tree60f2e4e4540e7ed408826eb86f09bab3931160c0 /tshark.c
parent8ee172d021af9baf6eb55e587ccc6a04105368dc (diff)
From Huzaifa Sidhpurwala of the Red Hat Security Response Team: Don't
free uninitialized memory. See also: bug 5652. svn path=/trunk/; revision=35791
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index 276872e867..77d7d5cf7d 100644
--- a/tshark.c
+++ b/tshark.c
@@ -2524,7 +2524,7 @@ load_cap_file(capture_file *cf, char *save_file, int out_file_type,
int snapshot_length;
wtap_dumper *pdh;
int err;
- gchar *err_info;
+ gchar *err_info = NULL;
gint64 data_offset;
char *save_file_string = NULL;
gboolean filtering_tap_listeners;