diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-11-12 06:16:57 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-11-12 06:16:57 +0000 |
commit | fbe117baccdeb8471e65eaf3d821aa4bbd010f4b (patch) | |
tree | fae0f04bf6c28d675af950d6a4a287baa285a07e /gtk | |
parent | d1d9cf61c70e6a04b38668bf022681fb3a5a36d8 (diff) | |
download | wireshark-fbe117baccdeb8471e65eaf3d821aa4bbd010f4b.tar.gz wireshark-fbe117baccdeb8471e65eaf3d821aa4bbd010f4b.tar.bz2 wireshark-fbe117baccdeb8471e65eaf3d821aa4bbd010f4b.zip |
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.c | 4 |
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) |