Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at packet-h223.c:332

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

init_logical_channel

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-h223.c)expand/collapse
Show more  
 391  static void init_logical_channel( guint32 start_frame, h223_call_info* call_info, int vc, int direction, h223_lc_params* params )
 392  {
 393      guint32 circuit_id = circuit_chain_lookup(call_info, vc);
 394      circuit_t *subcircuit;
 395      h223_vc_info *vc_info;
 396      subcircuit = find_circuit( CT_H223, circuit_id, start_frame );
 397   
 398      if( subcircuit == NULL ) {
 399          subcircuit = circuit_new( CT_H223, circuit_id, start_frame );
 400  #ifdef DEBUG_H223 
 401          g_debug("%d: Created new circuit %d for call %p VC %d", start_frame, circuit_id, call_info, vc);
 402  #endif
 403          vc_info = h223_vc_info_new( call_info );
 404          circuit_add_proto_data( subcircuit, proto_h223, vc_info );
 405      } else {
 406[+]         vc_info = circuit_get_proto_data( subcircuit, proto_h223 );
 407      }
 408[+]     add_h223_lc_params( vc_info, direction, params, start_frame );
expand/collapse

add_h223_lc_params

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-h223.c)expand/collapse
Show more  
 328  static void add_h223_lc_params(h223_vc_info* vc_info, int direction, h223_lc_params *lc_params, guint32 framenum )
 329  {
 330      h223_lc_params_listitem *li = se_alloc(sizeof(h223_lc_params_listitem));
 331      h223_lc_params_listitem **old_li_ptr = &(vc_info->lc_params[direction ? 0 : 1]);
 332      h223_lc_params_listitem *old_li = *old_li_ptr;
Show more  
Show more  




Change Warning 2622.30593 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: