Text   |  XML   |  ReML   |   Visible Warnings:

Ignored Return Value  at packet-cosnaming.c:1137

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

decode_CosNaming_NamingContext_list

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/giop/packet-cosnaming.c)expand/collapse
Show more  
 1117  static void decode_CosNaming_NamingContext_list(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int *offset _U_, MessageHeader *header, gchar *operation _U_) {
 1118   
 1119      gboolean stream_is_big_endian;          /* big endianess */
 1120   
 1121       
 1122      /* Operation specific Variable declarations Begin */
 1123   
 1124      guint32   u_octet4;
 1125      guint32   u_octet4_loop_bl;
 1126      guint32   i_bl;
 1127       
 1128      /* Operation specific Variable declarations End */
 1129   
 1130       
 1131      stream_is_big_endian = is_big_endian(header);
 1132   
 1133      switch(header->message_type) {
 1134   
 1135      case Request:
 1136   
 1137          u_octet4 = get_CDR_ulong(tvb,offset,stream_is_big_endian, boundary);
 1138          if (tree) {
 1139             proto_tree_add_text(tree,tvb,*offset-4,4,"how_many = %u",u_octet4);
 1140          }
 1141   
 1142          break;
 1143   
 1144      case Reply:
 1145   
 1146          switch(header->rep_status) {
 1147   
 1148          case NO_EXCEPTION:
 1149   
 1150               
 1151              /* Function returns void */
 1152   
 1153   
 1154              u_octet4_loop_bl = get_CDR_ulong(tvb, offset, stream_is_big_endian, boundary);
 1155              if (tree) {
 1156                 proto_tree_add_text(tree,tvb,*offset-4, 4 ,"Seq length of bl = %u",u_octet4_loop_bl);
 1157              }
 1158   
 1159              for (i_bl=0; i_bl < u_octet4_loop_bl; i_bl++) {
 1160   
 1161                  /*  Begin struct "CosNaming_Binding"  */
 1162   
 1163                   
 1164   
 1165                  decode_CosNaming_Binding_st(tvb, pinfo, tree, offset, header, operation);
 1166   
 1167   
 1168                  /*  End struct "CosNaming_Binding"  */
 1169   
 1170              }
 1171   
 1172              get_CDR_object(tvb, pinfo, tree, offset, stream_is_big_endian, boundary);
 1173   
 1174   
 1175              break;
 1176   
 1177          case USER_EXCEPTION:
 1178   
 1179              break;
 1180   
 1181          default:
 1182   
 1183              /* Unknown Exception */
 1184   
 1185              g_warning("Unknown Exception ");
 1186   
 1187   
 1188   
 1189              break;
 1190   
 1191           
 1192          }   /* switch(header->message_type) */
 1193   
 1194          break;
 1195   
 1196      default:
 1197   
 1198          /* Unknown GIOP Message */
 1199   
 1200          g_warning("Unknown GIOP Message");
 1201   
 1202   
 1203          break;
 1204   
 1205       
 1206      } /* switch(header->message_type) */
 1207   
 1208  }
Show more  




Change Warning 12511.35626 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: