Text   |  XML   |  ReML   |   Visible Warnings:

Unused Value  at packet-icq.c:1147

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

icqv5_srv_user_offline

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-icq.c)expand/collapse
Show more  
 1137  icqv5_srv_user_offline(proto_tree* tree,/* Tree to put the data in */
 1138                        tvbuff_t *tvb,    /* Tvbuff with packet */
 1139                        int offset,       /* Offset from the start of the packet to the content */
 1140                        int size)         /* Number of chars left to do */
 1141  {
 1142      proto_tree* subtree;
 1143      proto_item* ti;
 1144   
 1145      if (tree) {
 1146          if (size < SRV_USER_OFFLINE_UIN + 4) {
 1147              ti = proto_tree_add_text(tree, tvb, offset, size,
 1148                                       "Body (%d bytes, should be %d)", size,
 1149                                       SRV_USER_OFFLINE_UIN + 4);
 1150              return;
 1151          }
 1152          ti = proto_tree_add_text(tree, tvb, offset, SRV_USER_OFFLINE_UIN + 4,
 1153                                   "Body");
 1154          subtree = proto_item_add_subtree(ti, ett_icq_body);
 1155          proto_tree_add_text(subtree, tvb, offset + SRV_USER_OFFLINE_UIN, 4,
 1156                              "UIN: %u",
 1157                              tvb_get_letohl(tvb, offset + SRV_USER_OFFLINE));
 1158      }
 1159  }
Show more  




Change Warning 2662.31236 : Unused Value

Priority:
State:
Finding:
Owner:
Note: