aboutsummaryrefslogtreecommitdiffstats
path: root/epan/address_to_str.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2013-11-23 19:51:02 +0000
committerGuy Harris <guy@alum.mit.edu>2013-11-23 19:51:02 +0000
commita18cf1975f7cc939da53f1bbff9f154cd9245dc5 (patch)
tree13c4de131ea4b4bdfc04b4ad98bdfa8c12821ac8 /epan/address_to_str.c
parent55c6869980d76369255442d7e32d35965ae29625 (diff)
Always check cf->edt before dereferencing it, so that Coverity doesn't
say "you checked it here, but you dereferenced it later even if it was null when you checked it". This obviates the need for some checks of frame_selected, as cf->edt will be non-null iff cf->current_frame is non-null. Always check *cf, not cfile, in set_menus_for_selected_packet(). Currently, cf always == &cfile, but we aren't guaranteeing that will be true forever. svn path=/trunk/; revision=53523
Diffstat (limited to 'epan/address_to_str.c')
0 files changed, 0 insertions, 0 deletions