From Cristian Constantin:

There was something really wrong in conversation_lookup_hashtable().


https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7066

svn path=/trunk/; revision=42044
This commit is contained in:
Anders Broman 2012-04-13 12:53:47 +00:00
parent bba21ab84f
commit b2f9b5614a
1 changed files with 2 additions and 2 deletions

View File

@ -697,8 +697,8 @@ conversation_lookup_hashtable(GHashTable *hashtable, const guint32 frame_num, co
match = NULL;
if (match) {
if(match->last->setup_frame<=frame_num)
return match;
if((match->last)&&(match->last->setup_frame<=frame_num))
return match->last;
for (conversation = match->next; conversation; conversation = conversation->next) {
if ((conversation->setup_frame <= frame_num)
&& (conversation->setup_frame > match->setup_frame)) {