Text   |  XML   |  ReML   |   Visible Warnings:

Null Pointer Dereference  at proto.c:3698

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

dissect_h450_ros_ReturnError

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-h450-ros.c)expand/collapse
Show more  
 350  dissect_h450_ros_ReturnError(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
 351  #line 7 "ros-err.cnf"
 352    dissector_handle_t err_handle = NULL;
 353    const gchar *descr = "";
 354   
 355    err_next_tvb = NULL;
 356   
 357    offset = dissect_per_sequence(tvb, offset, actx, tree, hf_index,
 358                                     ett_h450_ros_ReturnError, ReturnError_sequence);
 359   
 360  #line 12 "ros-err.cnf"
 361    actx->rose_ctx->d.pdu = 3;
 362   
 363    if ((actx->rose_ctx->d.code == 0) && actx->rose_ctx->err_local_dissector_table) {
 364[+]     err_handle = dissector_get_port_handle(actx->rose_ctx->err_local_dissector_table, actx->rose_ctx->d.code_local);
 365    } else if ((actx->rose_ctx->d.code == 1) && actx->rose_ctx->err_global_dissector_table) {
 366      err_handle = dissector_get_string_handle(actx->rose_ctx->err_global_dissector_table, actx->rose_ctx->d.code_global);
 367    } else {
 368      err_handle = NULL;
 369    }
 370   
 371    if (!err_handle ||  
 372[+][+]       !proto_is_protocol_enabled(find_protocol_by_id(dissector_handle_get_protocol_index(err_handle)))) {
expand/collapse

proto_is_protocol_enabled

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/proto.c)expand/collapse
Show more  
 3696  proto_is_protocol_enabled(protocol_t *protocol)
 3697  {
 3698          return protocol->is_enabled;
Show more  
Show more  




Change Warning 3141.33489 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: