Text   |  XML   |  ReML   |   Visible Warnings:

Empty if Statement  at packet-tcp.c:974

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

tcp_analyze_sequence_number

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-tcp.c)expand/collapse
Show more  
 964                  tcpd->rev->segments=tmpual;
 965          }
 966          /* now we remove all such segments that are NOT at the head of the list */
 967          ual=tcpd->rev->segments;
 968          while(ual && ual->next){
 969                  tcp_unacked_t *tmpual;
 970                  if(GT_SEQ(ual->next->nextseq,ack)){
 971                          ual=ual->next;
 972                          continue;
 973                  }
 974                  if(!ackcount){
 975  /*qqq do the ACKs segment x  delta y */
 976                  }
 977                  ackcount++;
 978                  tmpual=ual->next->next;
 979   
 980                  if (tcpd->rev->scps_capable) {
 981                    /* Track largest segment successfully sent for SNACK analysis*/
 982                    if ((ual->next->nextseq - ual->next->seq) > tcpd->fwd->maxsizeacked){
 983                      tcpd->fwd->maxsizeacked = (ual->next->nextseq - ual->next->seq);
 984                    }
Show more  




Change Warning 73.27493 : Empty if Statement

Because they are very similar, this warning shares annotations with warning 73.27494.

Priority:
State:
Finding:
Owner:
Note: