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_q932_ros_ReturnError

(/home/sate/Testcases/c/cve/wireshark-1.2.0/epan/dissectors/packet-q932-ros.c)expand/collapse
Show more  
 435  dissect_q932_ros_ReturnError(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) {
 436  #line 7 "ros-err.cnf"
 437    dissector_handle_t err_handle = NULL;
 438    const gchar *descr = "";
 439   
 440    err_next_tvb = NULL;
 441   
 442    offset = dissect_ber_sequence(implicit_tag, actx, tree, tvb, offset,
 443                                     ReturnError_sequence, hf_index, ett_q932_ros_ReturnError);
 444   
 445  #line 12 "ros-err.cnf"
 446    actx->rose_ctx->d.pdu = 3;
 447   
 448    if ((actx->rose_ctx->d.code == 0) && actx->rose_ctx->err_local_dissector_table) {
 449[+]     err_handle = dissector_get_port_handle(actx->rose_ctx->err_local_dissector_table, actx->rose_ctx->d.code_local);
 450    } else if ((actx->rose_ctx->d.code == 1) && actx->rose_ctx->err_global_dissector_table) {
 451      err_handle = dissector_get_string_handle(actx->rose_ctx->err_global_dissector_table, actx->rose_ctx->d.code_global);
 452    } else {
 453      err_handle = NULL;
 454    }
 455   
 456    if (!err_handle ||  
 457[+][+]       !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 3155.35037 : Null Pointer Dereference

Priority:
State:
Finding:
Owner:
Note: