Text   |  XML   |  ReML   |   Visible Warnings:

Empty if Statement  at packet-tr.c:482

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

dissect_tr

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-tr.c)expand/collapse
Show more  
 472                                          * Netware frames)
 473                                          * the fake SNAP header has the
 474                                          * ETH_P_TR_802_2 ether type (0x0011)
 475                                          * and the protocol id bytes as zero frame looks like :-
 476                                          * TR Header | Fake LLC | Fake SNAP | Wire LLC | Rest of data 
 477                                          */
 478                                          fixoffset += 8; /* Skip fake LLC and SNAP */
 479                                  }
 480                          }
 481                  }
 482                  CATCH(BoundsError) {
 483                          /* We had no information beyond the TR header. Just assume
 484                           * this is a normal (non-Linux) TR header. */
 485                          ;
 486                  }
 487                  ENDTRY;
 488          }
 489   
 490          /* XXX - copy it to some buffer associated with "*pinfo", rather than
 491             just making "trn_shost_nonsr" static? */
 492          SET_ADDRESS(&pinfo->dl_src,     AT_ETHER, 6, trn_shost_nonsr);
Show more  




Change Warning 77.27502 : Empty if Statement

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

Priority:
State:
Finding:
Owner:
Note: