(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-h223.c) |
| |
| 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 ) { |
Event 1:
Taking false branch. subcircuit == (void *)0 evaluates to false.
hide
|
|
| 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 ); |
Event 6:
vc_info, which evaluates to NULL, is passed to add_h223_lc_params() as the first argument. See related event 5.
hide
|
|
 |
| |