aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-03 22:50:49 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2011-02-03 22:50:49 +0000
commit232779adc40af5cf17f2355dc1412293b25192d0 (patch)
tree60f2e4e4540e7ed408826eb86f09bab3931160c0 /tshark.c
parent35caaca843e6f4bf3e81e741f3e3cd8dd0c4b213 (diff)
From Huzaifa Sidhpurwala of the Red Hat Security Response Team: Don't
free uninitialized memory. See also: bug 5652. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35791 f5534014-38df-0310-8fa8-9805f1628bb7
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;