aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-11-12 06:16:57 +0000
committerGuy Harris <guy@alum.mit.edu>2011-11-12 06:16:57 +0000
commitfbe117baccdeb8471e65eaf3d821aa4bbd010f4b (patch)
treefae0f04bf6c28d675af950d6a4a287baa285a07e /gtk
parentd1d9cf61c70e6a04b38668bf022681fb3a5a36d8 (diff)
Note that we should catch the OutOfMemoryError exception here to avoid
an "unhandled exception" crash if we run out of memory. svn path=/trunk/; revision=39797
Diffstat (limited to 'gtk')
-rw-r--r--gtk/packet_list_store.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/packet_list_store.c b/gtk/packet_list_store.c
index 3ddf411af7..989a3ff7e1 100644
--- a/gtk/packet_list_store.c
+++ b/gtk/packet_list_store.c
@@ -1181,6 +1181,10 @@ packet_list_dissect_and_cache_record(PacketList *packet_list, PacketListRecord *
if (dissect_columns)
col_custom_prime_edt(&edt, cinfo);
+ /*
+ * XXX - need to catch an OutOfMemoryError exception and
+ * attempt to recover from it.
+ */
epan_dissect_run(&edt, &pseudo_header, pd, fdata, cinfo);
if (dissect_color)