Text   |  XML   |  ReML   |   Visible Warnings:

Ignored Return Value  at packet-cosnaming.c:1318

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

decode_CosNaming_BindingIterator_next_n

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/giop/packet-cosnaming.c)expand/collapse
Show more  
 1297  static void decode_CosNaming_BindingIterator_next_n(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int *offset _U_, MessageHeader *header, gchar *operation _U_) {
 1298   
 1299      gboolean stream_is_big_endian;          /* big endianess */
 1300   
 1301       
 1302      /* Operation specific Variable declarations Begin */
 1303   
 1304      guint32   u_octet4;
 1305      guint8    u_octet1;
 1306      guint32   u_octet4_loop_bl;
 1307      guint32   i_bl;
 1308       
 1309      /* Operation specific Variable declarations End */
 1310   
 1311       
 1312      stream_is_big_endian = is_big_endian(header);
 1313   
 1314      switch(header->message_type) {
 1315   
 1316      case Request:
 1317   
 1318          u_octet4 = get_CDR_ulong(tvb,offset,stream_is_big_endian, boundary);
 1319          if (tree) {
 1320             proto_tree_add_text(tree,tvb,*offset-4,4,"how_many = %u",u_octet4);
 1321          }
 1322   
 1323          break;
 1324   
 1325      case Reply:
 1326   
 1327          switch(header->rep_status) {
 1328   
 1329          case NO_EXCEPTION:
 1330   
 1331              u_octet1 = get_CDR_boolean(tvb,offset);
 1332              if (tree) {
 1333                 proto_tree_add_text(tree,tvb,*offset-1,1,"Operation_Return_Value = %u",u_octet1);
 1334              }
 1335   
 1336              u_octet4_loop_bl = get_CDR_ulong(tvb, offset, stream_is_big_endian, boundary);
 1337              if (tree) {
 1338                 proto_tree_add_text(tree,tvb,*offset-4, 4 ,"Seq length of bl = %u",u_octet4_loop_bl);
 1339              }
 1340   
 1341              for (i_bl=0; i_bl < u_octet4_loop_bl; i_bl++) {
 1342   
 1343                  /*  Begin struct "CosNaming_Binding"  */
 1344   
 1345                   
 1346   
 1347                  decode_CosNaming_Binding_st(tvb, pinfo, tree, offset, header, operation);
 1348   
 1349   
 1350                  /*  End struct "CosNaming_Binding"  */
 1351   
 1352              }
 1353   
 1354              break;
 1355   
 1356          case USER_EXCEPTION:
 1357   
 1358              break;
 1359   
 1360          default:
 1361   
 1362              /* Unknown Exception */
 1363   
 1364              g_warning("Unknown Exception ");
 1365   
 1366   
 1367   
 1368              break;
 1369   
 1370           
 1371          }   /* switch(header->message_type) */
 1372   
 1373          break;
 1374   
 1375      default:
 1376   
 1377          /* Unknown GIOP Message */
 1378   
 1379          g_warning("Unknown GIOP Message");
 1380   
 1381   
 1382          break;
 1383   
 1384       
 1385      } /* switch(header->message_type) */
 1386   
 1387  }
Show more  




Change Warning 12518.35633 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: