Text   |  XML   |  ReML   |   Visible Warnings:

Redundant Condition  at packet-sctp.c:2033

No properties have been set. | edit properties
Jump to warning location ↓ warning details...
Show Events | Options

frag_equal

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-sctp.c)expand/collapse
Show more  
 2026  frag_equal(gconstpointer k1, gconstpointer k2)
 2027  {
 2028    const frag_key* key1 = (const frag_key*) k1;
 2029    const frag_key* key2 = (const frag_key*) k2;
 2030   
 2031    return ( (key1->sport == key2->sport) &&
 2032             (key1->dport == key1->dport) &&
 2033             (key1->verification_tag == key1->verification_tag) &&
 2034             (key1->stream_id == key1->stream_id) &&
 2035             (key1->stream_seq_num == key1->stream_seq_num)
 2036             ? TRUE : FALSE);
 2037  }
Show more  




Change Warning 1263.29382 : Redundant Condition

Priority:
State:
Finding:
Owner:
Note: