Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at packet-dcerpc.c:618

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

dissect_auth_verf

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-dcerpc.c)expand/collapse
Show more  
 581  static void dissect_auth_verf(tvbuff_t *auth_tvb, packet_info *pinfo,
 582                                proto_tree *tree,
 583                                dcerpc_auth_subdissector_fns *auth_fns,
 584                                e_dce_cn_common_hdr_t *hdr,
 585                                dcerpc_auth_info *auth_info)
 586  {
 587          dcerpc_dissect_fnct_t *volatile fn = NULL;
 588   
 589          switch (hdr->ptype) {
 590          case PDU_BIND:
 591          case PDU_ALTER:
 592                  fn = auth_fns->bind_fn;
 593                  break;
 594          case PDU_BIND_ACK:
 595          case PDU_ALTER_ACK:
 596                  fn = auth_fns->bind_ack_fn;
 597                  break;
 598          case PDU_AUTH3:
 599                  fn = auth_fns->auth3_fn;
 600                  break;
 601          case PDU_REQ:
 602                  fn = auth_fns->req_verf_fn;
 603                  break;
 604          case PDU_RESP:
 605                  fn = auth_fns->resp_verf_fn;
 606                  break;
 607   
 608                  /* Don't know how to handle authentication data in this
 609                     pdu type. */
 610   
 611          default:
 612                  g_warning("attempt to dissect %s pdu authentication data",
 613                            val_to_str(hdr->ptype, pckt_vals, "Unknown (%u)"));
 614                  break;
 615          }
 616   
 617          if (fn)
 618                  fn(auth_tvb, 0, pinfo, tree, hdr->drep);
Show more  




Change Warning 2174.31067 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: