Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at packet-irda.c:1250

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

add_lmp_conversation

(/home/sate/Testcases/c/cve/wireshark-1.2.0/plugins/irda/packet-irda.c)expand/collapse
Show more  
 1224  void add_lmp_conversation(packet_info* pinfo, guint8 dlsap, gboolean ttp, dissector_t proto_dissector)
 1225  {
 1226      guint8              dest;
 1227      address             srcaddr;
 1228      address             destaddr;
 1229      conversation_t*     conv;
 1230      lmp_conversation_t* lmp_conv = NULL;
 1231   
 1232       
 1233  /*g_message("%d: add_lmp_conversation(%p, %d, %d, %p) = ", pinfo->fd->num, pinfo, dlsap, ttp, proto_dissector); */
 1234      srcaddr.type  = AT_NONE;
 1235      srcaddr.len   = 1;
 1236      srcaddr.data  = (guint8*)&pinfo->circuit_id;
 1237   
 1238      dest = pinfo->circuit_id ^ CMD_FRAME;
 1239      destaddr.type = AT_NONE;
 1240      destaddr.len  = 1;
 1241      destaddr.data = (guint8*)&dest;
 1242   
 1243[+]     conv = find_conversation(pinfo->fd->num, &destaddr, &srcaddr, PT_NONE, dlsap, 0, NO_PORT_B);
 1244      if (conv)
 1245      {
 1246[+]         lmp_conv = (lmp_conversation_t*)conversation_get_proto_data(conv, proto_irlmp);
 1247          while (1)
 1248          {
 1249              /* Does entry already exist? */
 1250              if (lmp_conv->iap_result_frame == pinfo->fd->num)
Show more  




Change Warning 3722.30813 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: