Text   |  XML   |  ReML   |   Visible Warnings:

Ignored Return Value  at packet-dcerpc-nt.c:1254

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

dissect_ndr_nt_SID

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc-nt.c)expand/collapse
Show more  
 1245  dissect_ndr_nt_SID(tvbuff_t *tvb, int offset, packet_info *pinfo,
 1246                     proto_tree *tree, guint8 *drep)
 1247  {
 1248          dcerpc_info *di = (dcerpc_info *)pinfo->private_data;
 1249          dcerpc_call_value *dcv = (dcerpc_call_value *)di->call_data;
 1250          char *sid_str=NULL;
 1251          const char *name;
 1252   
 1253          if(di->hf_index!=-1){
 1254                  name=proto_registrar_get_name(di->hf_index);
 1255          } else {
 1256                  name="Domain";
 1257          }
 1258          if(di->conformant_run){
 1259                  /* just a run to handle conformant arrays, no scalars to dissect */
 1260                  return offset;
 1261          }
 1262   
 1263          /* the SID contains a conformant array, first we must eat
 1264             the 4-byte max_count before we can hand it off */
 1265   
 1266          offset = dissect_ndr_uint32 (tvb, offset, pinfo, tree, drep,
 1267                          hf_nt_count, NULL);
 1268   
 1269          offset = dissect_nt_sid(tvb, offset, tree, name, &sid_str,
 1270                                  hf_nt_domain_sid);
 1271   
 1272          /* dcv can be null, for example when this ndr structure is embedded
 1273           * inside non-dcerpc pdus, i.e. kerberos PAC structure 
 1274           */
 1275          if(dcv){
 1276                  dcv->private_data = sid_str;
 1277          }
 1278   
 1279          return offset;
 1280  }
Show more  




Change Warning 5458.35678 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: