LDRA Testbed ® Code Review Report

System : Dovecot-src-imap






Overall Result: FAIL







Report Production Report Configuration Analysis phases
  • C/C++ LDRA Testbed Version: 8.3.0
  • Config. File: C:\Testbed\CCPP_830_Release\C\sate_creport.dat
  • Produced On: Mon Aug 09 2010 at 18:47:16
  • Penalty File: C:\Testbed\CCPP_830_Release\c\cpen.dat
  • Report Level: Summary Report
  • Procedures Reported: Fails Only
  • Programming Standards Model: SATE 2010 L1 Plus
  • Line Numbers refer to: Original Source File
  • Violation Details: Violations Only
  • Reporting Scope: Full analysis scope
  • Static: Yes
  • Complexity: Yes
  • Static Data Flow: Yes
  • Information Flow: Yes
  • Cross Reference: Yes



Contents

Overall Quality Summary
Report on Program Components

Overall Quality Summary



Totals for Violated Quality Standards


Number of Violations LDRA Code (M) Mandatory Standards CERT Code
4 47 S Array Bound exceeded. CERT ARR30-C
96 77 S Macro replacement list needs parentheses. CERT PRE02-C
73 78 S Macro parameter not in brackets. CERT PRE01-C,PRE02-C
1 483 S free parameter is not heap item. CERT MEM34-C
15 484 S Attempt to use already freed object. CERT MEM31-C
4 577 S Sizeof argument is a pointer. CERT EXP01-C
130 5 D Procedure contains UR data flow anomalies. CERT EXP33-C
852 45 D Pointer not checked for null before use CERT EXP08-C,EXP34-C
17 51 D Attempt to read from freed memory. CERT MEM30-C
16 57 D Global not initialised at declaration. CERT EXP33-C
364 69 D Procedure contains UR data flow anomalies. CERT EXP33-C
14 77 D Local structure returned in function result  
3 1 X Declaration types do not match across a system. CERT ARR31-C
2 69 X Global array bound exceeded at use CERT ARR30-C


Number of Violations LDRA Code (C) Checking (Mandatory) Standards CERT Code
17 76 D Procedure not called in code analysed  


Number of Violations LDRA Code (O) Optional Standards CERT Code
5 80 D Potentially unused function return value. CERT FIO04-C


Number of Mandatory Standards checked 27
Number of Checking Standards checked 1
Number of Optional Standards checked 3
Total Standards checked 31






OVERALL RESULT: FAIL




Out of 594 program components, 242 (40.74 %) pass ( of which 1 conditionally passes ) and 352 fail ( of which 0 fail only because of insufficient comments )

Procedure Results

Quality Result   Procedure   Source File   Unique Violations   Failure Density  
          (Viols/R.Line %)  
FAIL Global Program
FAIL access_lookup_input access-lookup.c 1 - 3 -
FAIL access_lookup_timeout access-lookup.c 1 - 11 -
FAIL access_lookup access-lookup.c 1 - 6 -
FAIL access_lookup_destroy access-lookup.c 1 - 7 -
Pass buffer_get_data buffer.h analysed in client-authenticate.c 0 0
Pass buffer_get_used_size buffer.h analysed in client-authenticate.c 0 0
Pass array_create_from_buffer_i array.h analysed in client-authenticate.c 0 0
FAIL array_create_i array.h analysed in client-authenticate.c 1 - 17 -
Pass array_free_i array.h analysed in client-authenticate.c 0 0
Pass array_is_created_i array.h analysed in client-authenticate.c 0 0
Pass array_get_pool_i array.h analysed in client-authenticate.c 0 0
Pass array_clear_i array.h analysed in client-authenticate.c 0 0
Pass array_append_i array.h analysed in client-authenticate.c 0 0
Pass array_append_array_i array.h analysed in client-authenticate.c 0 0
Pass array_insert_i array.h analysed in client-authenticate.c 0 0
Pass array_delete_i array.h analysed in client-authenticate.c 0 0
Pass array_get_i array.h analysed in client-authenticate.c 0 0
Pass array_idx_i array.h analysed in client-authenticate.c 0 0
Pass array_get_modifiable_i array.h analysed in client-authenticate.c 0 0
Pass array_append_space_i array.h analysed in client-authenticate.c 0 0
Pass array_copy array.h analysed in client-authenticate.c 0 0
Pass array_count_i array.h analysed in client-authenticate.c 0 0
FAIL client_authenticate_get_capabilities client-authenticate.c 1 - 17 -
FAIL imap_client_auth_handle_reply client-authenticate.c 1 - 1 -
FAIL imap_client_auth_begin client-authenticate.c 1 - 14 -
FAIL cmd_authenticate client-authenticate.c 1 - 15 -
FAIL cmd_login client-authenticate.c 1 - 15 -
FAIL client_auth_failed client-common-auth.c 1 - 13 -
Pass client_auth_waiting_timeout client-common-auth.c 0 0
Pass client_set_auth_waiting client-common-auth.c 0 0
FAIL client_auth_parse_args client-common-auth.c 1 - 1 -
Pass proxy_free_password client-common-auth.c 0 0
FAIL client_proxy_finish_destroy_client client-common-auth.c 1 - 4 -
FAIL client_proxy_log_failure client-common-auth.c 1 - 4 -
FAIL client_proxy_failed client-common-auth.c 1 - 25 -
Pass proxy_input client-common-auth.c 0 0
Pass proxy_start client-common-auth.c 0 0
FAIL client_auth_handle_reply client-common-auth.c 1 - 3 -
FAIL client_auth_read_line client-common-auth.c 1 - 5 -
Pass client_auth_parse_response client-common-auth.c 0 0
Pass client_auth_input client-common-auth.c 0 0
Pass client_auth_send_challenge client-common-auth.c 0 0
FAIL sasl_callback client-common-auth.c 1 - 15 -
Pass client_auth_begin client-common-auth.c 0 0
Pass client_check_plaintext_auth client-common-auth.c 0 0
FAIL clients_notify_auth_connected client-common-auth.c 1 - 3 -
Pass client_idle_disconnect_timeout client-common.c 0 0
Pass client_open_streams client-common.c 0 0

Quality Result   Procedure   Source File   Unique Violations   Failure Density  
          (Viols/R.Line %)  
FAIL client_create client-common.c 1 - 5 -
FAIL client_destroy client-common.c 1 - 2 -
Pass client_destroy_success client-common.c 0 0
Pass client_destroy_ nternal_failure client-common.c 0 0
Pass client_ref client-common.c 0 0
FAIL client_unref client-common.c 1 - 6 -
FAIL client_destroy_oldest client-common.c 1 - 3 -
FAIL clients_destroy_all client-common.c 1 - 13 -
FAIL client_start_tls client-common.c 1 - 8 -
Pass client_output_starttls client-common.c 0 0
Pass client_cmd_starttls client-common.c 0 0
Pass clients_get_count client-common.c 0 0
FAIL get_var_expand_table client-common.c 1 - 7 -
Pass have_key client-common.c 0 0
FAIL client_get_log_str client-common.c 1 - 10 -
Pass client_log client-common.c 0 0
Pass client_log_err client-common.c 0 0
FAIL client_is_trusted client-common.c 1 - 8 -
Pass client_get_extr _disconnect_reason client-common.c 0 0
Pass client_send_line client-common.c 0 0
Pass client_send_raw_data client-common.c 0 0
Pass client_send_raw client-common.c 0 0
Pass client_read client-common.c 0 0
Pass client_input client-common.c 0 0
Pass login_process_preinit client.c 0 0
FAIL client_skip_line client.c 1 - 9 -
FAIL get_capability client.c 1 - 6 -
Pass cmd_capability client.c 0 0
Pass cmd_starttls client.c 0 0
FAIL client_update_info client.c 1 - 12 -
FAIL cmd_id client.c 1 - 12 -
Pass cmd_noop client.c 0 0
Pass cmd_logout client.c 0 0
Pass cmd_enable client.c 0 0
FAIL client_command_execute client.c 1 - 1 -
FAIL client_handle_input client.c 1 - 2 -
FAIL imap_client_input client.c 1 - 8 -
Pass imap_client_alloc client.c 0 0
Conditional Pass imap_client_create client.c 1 - 20 -
Pass imap_client_destroy client.c 0 0
FAIL imap_client_send_greeting client.c 1 - 8 -
FAIL imap_client_starttls client.c 1 - 40 -
FAIL imap_client_send_line client.c 1 - 3 -
Pass clients_init client.c 0 0
Pass clients_deinit client.c 0 0
FAIL client_input_append cmd-append.c 1 - 10 -
FAIL validate_args cmd-append.c 1 - 8 -
Pass cmd_append_finish cmd-append.c 0 0
FAIL cmd_append_continue_cancel cmd-append.c 1 - 4 -

Quality Result   Procedure   Source File   Unique Violations   Failure Density  
          (Viols/R.Line %)  
Pass cmd_append_cancel cmd-append.c 0 0
FAIL cmd_append_continue_parsing cmd-append.c 1 - 6 -
FAIL cmd_append_continue_message cmd-append.c 1 - 2 -
FAIL get_mailbox cmd-append.c 1 - 11 -
FAIL cmd_append cmd-append.c 1 - 8 -
FAIL client_search_update_cancel cmd-cancelupdate.c 1 - 14 -
FAIL cmd_cancelupdate cmd-cancelupdate.c 1 - 5 -
Pass cmd_capability cmd-capability.c 0 0
Pass cmd_check cmd-check.c 0 0
FAIL cmd_close cmd-close.c 1 - 10 -
Pass client_send_sen alive_if_needed cmd-copy.c 0 0
FAIL fetch_and_copy cmd-copy.c 1 - 4 -
FAIL cmd_copy cmd-copy.c 1 - 11 -
FAIL cmd_create cmd-create.c 1 - 11 -
FAIL cmd_delete cmd-delete.c 1 - 11 -
FAIL cmd_enable cmd-enable.c 1 - 8 -
Pass cmd_examine cmd-examine.c 0 0
Pass cmd_expunge_callback cmd-expunge.c 0 0
FAIL cmd_expunge_finish cmd-expunge.c 1 - 5 -
FAIL cmd_uid_expunge cmd-expunge.c 1 - 2 -
FAIL cmd_expunge cmd-expunge.c 1 - 7 -
FAIL fetch_parse_args cmd-fetch.c 1 - 11 -
FAIL fetch_parse_modifier cmd-fetch.c 1 - 8 -
FAIL fetch_parse_modifiers cmd-fetch.c 1 - 11 -
FAIL cmd_fetch_finish cmd-fetch.c 1 - 7 -
Pass cmd_fetch_continue cmd-fetch.c 0 0
FAIL cmd_fetch cmd-fetch.c 1 - 5 -
Pass cmd_id cmd-id.c 0 0
FAIL idle_finish cmd-idle.c 1 - 2 -
FAIL idle_client_input cmd-idle.c 1 - 5 -
Pass keepalive_timeout cmd-idle.c 0 0
Pass idle_sync_now cmd-idle.c 0 0
FAIL idle_callback cmd-idle.c 1 - 8 -
Pass idle_add_keepalive_timeout cmd-idle.c 0 0
FAIL cmd_idle_continue cmd-idle.c 1 - 2 -
FAIL cmd_idle cmd-idle.c 1 - 15 -
Pass mailbox_flags2str cmd-list.c 0 0
Pass mailbox_childinfo2str cmd-list.c 0 0
FAIL parse_select_flags cmd-list.c 1 - 6 -
FAIL parse_return_flags cmd-list.c 1 - 7 -
FAIL list_get_inbox_flags cmd-list.c 1 - 6 -
FAIL list_namespace_has_children cmd-list.c 1 - 4 -
FAIL ns_get_listed_prefix cmd-list.c 1 - 7 -
FAIL list_namespace_send_prefix cmd-list.c 1 - 3 -
FAIL list_send_status cmd-list.c 1 - 48 -
Pass list_has_empty_prefix_ns cmd-list.c 0 0
FAIL list_namespace_mailboxes cmd-list.c 1 - 1 -
Pass list_pattern_has_wildcards cmd-list.c 0 0
FAIL skip_namespace_prefix cmd-list.c 1 - 4 -

Quality Result   Procedure   Source File   Unique Violations   Failure Density  
          (Viols/R.Line %)  
FAIL skip_namespace_prefix_ref cmd-list.c 1 - 8 -
FAIL skip_namespace_prefix_pattern cmd-list.c 1 - 9 -
FAIL list_use_inboxcase cmd-list.c 1 - 4 -
Pass list_want_send_prefix cmd-list.c 0 0
FAIL list_namespace_match_pattern cmd-list.c 1 - 4 -
FAIL list_namespace_init cmd-list.c 1 - 14 -
FAIL list_inbox cmd-list.c 1 - 6 -
FAIL cmd_list_continue cmd-list.c 1 - 3 -
FAIL cmd_list_ref_root cmd-list.c 1 - 4 -
FAIL cmd_list_full cmd-list.c 1 - 6 -
Pass cmd_list cmd-list.c 0 0
Pass cmd_logout cmd-logout.c 0 0
Pass cmd_lsub cmd-lsub.c 0 0
Pass list_namespaces cmd-namespace.c 0 0
FAIL cmd_namespace cmd-namespace.c 1 - 5 -
Pass cmd_noop cmd-noop.c 0 0
FAIL cmd_rename cmd-rename.c 1 - 13 -
FAIL cmd_search cmd-search.c 1 - 11 -
FAIL select_qresync_get_uids cmd-select.c 1 - 15 -
FAIL select_parse_qresync_known_set cmd-select.c 1 - 20 -
FAIL select_parse_qresync cmd-select.c 1 - 8 -
FAIL select_parse_options cmd-select.c 1 - 11 -
Pass select_context_free cmd-select.c 0 0
Pass cmd_select_finish cmd-select.c 0 0
Pass cmd_select_continue cmd-select.c 0 0
FAIL select_qresync cmd-select.c 1 - 7 -
FAIL select_open cmd-select.c 1 - 13 -
FAIL cmd_select_full cmd-select.c 1 - 10 -
Pass cmd_select cmd-select.c 0 0
FAIL get_sort_program cmd-sort.c 1 - 4 -
FAIL cmd_sort cmd-sort.c 1 - 11 -
FAIL cmd_status cmd-status.c 1 - 25 -
FAIL get_modify_type cmd-store.c 1 - 2 -
FAIL store_parse_modifiers cmd-store.c 1 - 12 -
FAIL store_parse_args cmd-store.c 1 - 5 -
FAIL cmd_store cmd-store.c 1 - 9 -
Pass have_listable_namespace_prefix cmd-subscribe.c 0 0
FAIL cmd_subscribe_full cmd-subscribe.c 1 - 8 -
Pass cmd_subscribe cmd-subscribe.c 0 0
FAIL imap_thread_write cmd-thread.c 1 - 6 -
FAIL imap_thread_write_reply cmd-thread.c 1 - 5 -
FAIL imap_thread cmd-thread.c 1 - 5 -
FAIL cmd_thread cmd-thread.c 1 - 11 -
Pass cmd_uid cmd-uid.c 0 0
FAIL cmd_unselect cmd-unselect.c 1 - 4 -
Pass cmd_unsubscribe cmd-unsubscribe.c 0 0
FAIL cmd_x_cancel cmd-x-cancel.c 1 - 5 -
Pass imap_arg_get_atom imap-arg.c 0 0
Pass imap_arg_get_quoted imap-arg.c 0 0

Quality Result   Procedure   Source File   Unique Violations   Failure Density  
          (Viols/R.Line %)  
Pass imap_arg_get_string imap-arg.c 0 0
Pass imap_arg_get_astring imap-arg.c 0 0
Pass imap_arg_get_nstring imap-arg.c 0 0
Pass imap_arg_get_literal_size imap-arg.c 0 0
Pass imap_arg_get_list imap-arg.c 0 0
Pass imap_arg_get_list_full imap-arg.c 0 0
FAIL imap_arg_as_astring imap-arg.c 1 - 17 -
FAIL imap_arg_as_nstring imap-arg.c 1 - 17 -
FAIL imap_arg_as_literal_size imap-arg.c 1 - 17 -
FAIL imap_arg_as_list imap-arg.c 1 - 17 -
FAIL imap_arg_atom_equals imap-arg.c 1 - 23 -
FAIL pack_whitespace imap-base-subject.c 1 - 8 -
FAIL remove_subj_trailers imap-base-subject.c 1 - 3 -
FAIL remove_blob imap-base-subject.c 1 - 7 -
FAIL remove_subj_leader imap-base-subject.c 1 - 6 -
FAIL remove_blob_when_nonempty imap-base-subject.c 1 - 17 -
FAIL remove_subj_fwd_hdr imap-base-subject.c 1 - 9 -
FAIL imap_get_base_subject_cased imap-base-subject.c 1 - 2 -
FAIL parse_content_type imap-bodystructure.c 1 - 7 -
FAIL parse_content_transfer_encoding imap-bodystructure.c 1 - 27 -
FAIL parse_content_disposition imap-bodystructure.c 1 - 14 -
FAIL parse_content_language imap-bodystructure.c 1 - 18 -
FAIL parse_content_header imap-bodystructure.c 1 - 1 -
FAIL imap_bodystructure_parse_header imap-bodystructure.c 1 - 8 -
Pass part_write_body_multipart imap-bodystructure.c 0 0
FAIL part_write_body imap-bodystructure.c 1 - 1 -
Pass imap_bodystruct re_is_plain_7bit imap-bodystructure.c 0 0
Pass imap_bodystructure_write imap-bodystructure.c 0 0
FAIL str_append_imap_arg imap-bodystructure.c 1 - 7 -
FAIL imap_write_list imap-bodystructure.c 1 - 2 -
FAIL imap_parse_bodystructure_args imap-bodystructure.c 1 - 6 -
FAIL imap_body_parse_from_bodystructure imap-bodystructure.c 1 - 13 -
Pass client_idle_timeout imap-client.c 0 0
FAIL client_create imap-client.c 1 - 5 -
Pass client_command_cancel imap-client.c 0 0
FAIL client_stats imap-client.c 1 - 33 -
Pass client_get_disconnect_reason imap-client.c 0 0
FAIL client_destroy imap-client.c 1 - 5 -
Pass client_disconnect imap-client.c 0 0
Pass client_disconnect_with_error imap-client.c 0 0
Pass client_send_line imap-client.c 0 0
Pass client_send_tagline imap-client.c 0 0
FAIL client_send_command_error imap-client.c 1 - 7 -
FAIL client_read_args imap-client.c 1 - 3 -
FAIL client_read_string_args imap-client.c 1 - 8 -
FAIL client_command_find_with_flags imap-client.c 1 - 4 -
Pass client_command_check_ambiguity imap-client.c 0 0
FAIL client_command_new imap-client.c 1 - 6 -
FAIL client_command_free imap-client.c 1 - 2 -

Quality Result   Procedure   Source File   Unique Violations   Failure Density  
          (Viols/R.Line %)  
Pass client_add_missing_io imap-client.c 0 0
FAIL client_continue_pending_input imap-client.c 1 - 7 -
FAIL client_skip_line imap-client.c 1 - 8 -
Pass client_idle_output_timeout imap-client.c 0 0
Pass client_handle_unfinished_cmd imap-client.c 0 0
Pass client_command_input imap-client.c 0 0
FAIL client_handle_next_command imap-client.c 1 - 3 -
FAIL client_handle_input imap-client.c 1 - 1 -
FAIL client_input imap-client.c 1 - 10 -
Pass client_output_cmd imap-client.c 0 0
FAIL client_output imap-client.c 1 - 5 -
Pass client_handle_s arch_save_ambiguity imap-client.c 0 0
FAIL client_enable imap-client.c 1 - 39 -
FAIL client_search_update_lookup imap-client.c 1 - 3 -
FAIL client_search_updates_free imap-client.c 1 - 6 -
FAIL clients_destroy_all imap-client.c 1 - 7 -
FAIL client_find_namespace imap-commands-util.c 1 - 4 -
FAIL client_fail_mailbox_name_status imap-commands-util.c 1 - 3 -
Pass client_verify_open_mailbox imap-commands-util.c 0 0
Pass imap_get_error_string imap-commands-util.c 0 0
FAIL client_send_list_error imap-commands-util.c 1 - 33 -
FAIL client_send_storage_error imap-commands-util.c 1 - 11 -
FAIL client_send_untagged_storage_error imap-commands-util.c 1 - 18 -
FAIL client_parse_mail_flags imap-commands-util.c 1 - 16 -
FAIL get_keywords_string imap-commands-util.c 1 - 6 -
FAIL client_send_mailbox_flags imap-commands-util.c 1 - 2 -
Pass client_update_mailbox_flags imap-commands-util.c 0 0
FAIL client_get_keyword_names imap-commands-util.c 1 - 9 -
FAIL mailbox_equals imap-commands-util.c 1 - 4 -
FAIL msgset_generator_init imap-commands-util.c 1 - 20 -
Pass msgset_generator_next imap-commands-util.c 0 0
Pass msgset_generator_finish imap-commands-util.c 0 0
FAIL command_register imap-commands.c 1 - 36 -
FAIL command_unregister imap-commands.c 1 - 12 -
FAIL command_register_array imap-commands.c 1 - 43 -
FAIL command_unregister_array imap-commands.c 1 - 8 -
Pass command_cmp imap-commands.c 0 0
Pass command_bsearch imap-commands.c 0 0
Pass command_find imap-commands.c 0 0
FAIL commands_init imap-commands.c 1 - 43 -
FAIL commands_deinit imap-commands.c 1 - 38 -
Pass parse_timezone imap-date.c 0 0
FAIL imap_parse_date_internal imap-date.c 1 - 4 -
Pass imap_mktime imap-date.c 0 0
Pass imap_parse_date imap-date.c 0 0
FAIL imap_parse_datetime imap-date.c 1 - 6 -
FAIL imap_to_datetime_tm imap-date.c 1 - 2 -
FAIL imap_to_datetime imap-date.c 1 - 13 -
FAIL imap_to_datetime_tz imap-date.c 1 - 14 -

Quality Result   Procedure   Source File   Unique Violations   Failure Density  
          (Viols/R.Line %)  
Pass imap_envelope_get_field imap-envelope.c 0 0
FAIL imap_envelope_parse_header imap-envelope.c 1 - 17 -
Pass imap_write_address imap-envelope.c 0 0
Pass imap_envelope_write_part_data imap-envelope.c 0 0
FAIL imap_address_arg_append imap-envelope.c 1 - 2 -
FAIL imap_envelope_parse_address imap-envelope.c 1 - 6 -
FAIL imap_envelope_parse_first_mailbox imap-envelope.c 1 - 10 -
FAIL imap_envelope_parse_arg imap-envelope.c 1 - 3 -
FAIL imap_envelope_parse imap-envelope.c 1 - 9 -
FAIL imap_expunge imap-expunge.c 1 - 3 -
Pass module_get_context_id module-context.h analysed in imap-fetch-body.c 0 0
Pass fetch_read_error imap-fetch-body.c 0 0
FAIL seek_partial imap-fetch-body.c 1 - 3 -
Pass get_send_size imap-fetch-body.c 0 0
FAIL get_body_name imap-fetch-body.c 1 - 7 -
FAIL get_prefix imap-fetch-body.c 1 - 6 -
FAIL imap_fetch_send imap-fetch-body.c 1 - 2 -
Pass fetch_stream_send imap-fetch-body.c 0 0
Pass fetch_stream_send_direct imap-fetch-body.c 0 0
FAIL fetch_stream imap-fetch-body.c 1 - 5 -
FAIL fetch_data imap-fetch-body.c 1 - 2 -
FAIL fetch_body imap-fetch-body.c 1 - 9 -
Pass header_filter_eoh imap-fetch-body.c 0 0
FAIL fetch_header_partial_from imap-fetch-body.c 1 - 5 -
Pass fetch_body_header_partial imap-fetch-body.c 0 0
FAIL fetch_body_header_fields imap-fetch-body.c 1 - 7 -
FAIL part_find imap-fetch-body.c 1 - 4 -
FAIL fetch_body_mime imap-fetch-body.c 1 - 5 -
Pass fetch_body_header_fields_check imap-fetch-body.c 0 0
FAIL fetch_body_header_fields_init imap-fetch-body.c 1 - 11 -
FAIL fetch_body_section_name_init imap-fetch-body.c 1 - 6 -
Pass read_uoff_t imap-fetch-body.c 0 0
FAIL body_section_build imap-fetch-body.c 1 - 14 -
FAIL fetch_body_section_init imap-fetch-body.c 1 - 7 -
FAIL fetch_rfc822_size imap-fetch-body.c 1 - 14 -
FAIL fetch_rfc822 imap-fetch-body.c 1 - 12 -
FAIL fetch_rfc822_header imap-fetch-body.c 1 - 13 -
FAIL fetch_rfc822_text imap-fetch-body.c 1 - 15 -
FAIL fetch_rfc822_init imap-fetch-body.c 1 - 9 -
Pass imap_fetch_handler_cmp imap-fetch.c 0 0
FAIL imap_fetch_handlers_register imap-fetch.c 1 - 19 -
Pass imap_fetch_handler_bsearch imap-fetch.c 0 0
FAIL imap_fetch_init_handler imap-fetch.c 1 - 5 -
FAIL imap_fetch_init imap-fetch.c 1 - 15 -
FAIL imap_fetch_add_changed_since imap-fetch.c 1 - 14 -
FAIL imap_fetch_add_handler imap-fetch.c 1 - 12 -
FAIL expunges_drop_known imap-fetch.c 1 - 2 -
FAIL get_expunges_fallback imap-fetch.c 1 - 10 -
Pass mailbox_expunge_to_range imap-fetch.c 0 0

Quality Result   Procedure   Source File   Unique Violations   Failure Density  
          (Viols/R.Line %)  
FAIL imap_fetch_send_vanished imap-fetch.c 1 - 18 -
FAIL imap_fetch_begin imap-fetch.c 1 - 3 -
Pass imap_fetch_flush_buffer imap-fetch.c 0 0
FAIL imap_fetch_send_nil_reply imap-fetch.c 1 - 4 -
Pass imap_fetch_more_int imap-fetch.c 0 0
Pass imap_fetch_more imap-fetch.c 0 0
Pass imap_fetch_deinit imap-fetch.c 0 0
FAIL fetch_body imap-fetch.c 1 - 5 -
FAIL fetch_body_init imap-fetch.c 1 - 5 -
FAIL fetch_bodystructure imap-fetch.c 1 - 5 -
FAIL fetch_bodystructure_init imap-fetch.c 1 - 9 -
FAIL fetch_envelope imap-fetch.c 1 - 5 -
FAIL fetch_envelope_init imap-fetch.c 1 - 11 -
FAIL fetch_flags imap-fetch.c 1 - 3 -
FAIL fetch_flags_init imap-fetch.c 1 - 8 -
FAIL fetch_internaldate imap-fetch.c 1 - 15 -
FAIL fetch_internaldate_init imap-fetch.c 1 - 10 -
Pass fetch_modseq imap-fetch.c 0 0
FAIL fetch_modseq_init imap-fetch.c 1 - 20 -
Pass fetch_uid imap-fetch.c 0 0
FAIL fetch_uid_init imap-fetch.c 1 - 22 -
FAIL fetch_guid imap-fetch.c 1 - 14 -
FAIL fetch_guid_init imap-fetch.c 1 - 11 -
FAIL fetch_x_mailbox imap-fetch.c 1 - 15 -
FAIL fetch_x_mailbox_init imap-fetch.c 1 - 22 -
Pass fetch_x_real_uid imap-fetch.c 0 0
FAIL fetch_x_real_uid_init imap-fetch.c 1 - 22 -
FAIL fetch_x_savedate imap-fetch.c 1 - 15 -
FAIL fetch_x_savedate_init imap-fetch.c 1 - 10 -
FAIL imap_fetch_handlers_init imap-fetch.c 1 - 22 -
FAIL imap_fetch_handlers_deinit imap-fetch.c 1 - 60 -
Pass imap_id_get_uname imap-id.c 0 0
Pass imap_id_get_default imap-id.c 0 0
FAIL imap_id_reply_generate_from_imap_args imap-id.c 1 - 9 -
FAIL imap_id_reply_generate imap-id.c 1 - 7 -
FAIL imap_id_args_get_log_reply imap-id.c 1 - 8 -
FAIL imap_match_init imap-match.c 1 - 13 -
FAIL pattern_compress imap-match.c 1 - 4 -
FAIL pattern_is_inboxcase imap-match.c 1 - 2 -
FAIL imap_match_init_multiple_real imap-match.c 1 - 5 -
Pass imap_match_init_multiple imap-match.c 0 0
FAIL imap_match_deinit imap-match.c 1 - 31 -
FAIL imap_match_dup_real imap-match.c 1 - 28 -
Pass imap_match_dup imap-match.c 0 0
FAIL imap_match_globs_equal imap-match.c 1 - 11 -
FAIL match_sub imap-match.c 1 - 4 -
FAIL imap_match_pattern imap-match.c 1 - 1 -
Pass imap_match imap-match.c 0 0
FAIL imap_parser_create imap-parser.c 1 - 21 -

Quality Result   Procedure   Source File   Unique Violations   Failure Density  
          (Viols/R.Line %)  
FAIL imap_parser_destroy imap-parser.c 1 - 11 -
Pass imap_parser_reset imap-parser.c 0 0
Pass imap_parser_set_streams imap-parser.c 0 0
Pass imap_parser_get_error imap-parser.c 0 0
Pass imap_parser_skip_to_next imap-parser.c 0 0
FAIL imap_arg_create imap-parser.c 1 - 40 -
Pass imap_parser_open_list imap-parser.c 0 0
FAIL imap_parser_close_list imap-parser.c 1 - 3 -
FAIL imap_parser_save_arg imap-parser.c 1 - 6 -
Pass is_valid_atom_char imap-parser.c 0 0
Pass imap_parser_read_atom imap-parser.c 0 0
Pass imap_parser_read_string imap-parser.c 0 0
Pass imap_parser_literal_end imap-parser.c 0 0
Pass imap_parser_read_literal imap-parser.c 0 0
FAIL imap_parser_read_literal_data imap-parser.c 1 - 3 -
FAIL imap_parser_read_arg imap-parser.c 1 - 3 -
FAIL finish_line imap-parser.c 1 - 6 -
Pass imap_parser_read_args imap-parser.c 0 0
Pass imap_parser_get last_literal_size imap-parser.c 0 0
FAIL imap_parser_get_literal_size imap-parser.c 1 - 14 -
FAIL imap_parser_read_last_literal imap-parser.c 1 - 2 -
FAIL imap_parser_finish_line imap-parser.c 1 - 32 -
FAIL imap_parser_read_word imap-parser.c 1 - 6 -
Pass proxy_write_id imap-proxy.c 0 0
Pass proxy_free_password imap-proxy.c 0 0
FAIL get_plain_auth imap-proxy.c 1 - 9 -
Pass proxy_write_login imap-proxy.c 0 0
FAIL proxy_input_banner imap-proxy.c 1 - 6 -
FAIL client_send_login_reply imap-proxy.c 1 - 4 -
FAIL imap_proxy_parse_line imap-proxy.c 1 - 3 -
Pass imap_proxy_reset imap-proxy.c 0 0
Pass imap_quote_append imap-quote.c 0 0
FAIL imap_quote imap-quote.c 1 - 3 -
Pass imap_dquote_append imap-quote.c 0 0
Pass search_args_have_searchres imap-search-args.c 0 0
FAIL imap_search_args_build imap-search-args.c 1 - 7 -
Pass msgset_is_valid imap-search-args.c 0 0
FAIL imap_search_get_msgset_arg imap-search-args.c 1 - 4 -
FAIL imap_search_get_uidset_arg imap-search-args.c 1 - 5 -
FAIL imap_search_get_seqset imap-search-args.c 1 - 7 -
FAIL imap_search_get_searchres imap-search-args.c 1 - 3 -
Pass imap_search_get_anyset imap-search-args.c 0 0
Pass imap_partial_range_parse imap-search.c 0 0
FAIL search_parse_return_options imap-search.c 1 - 4 -
Pass imap_search_args_check imap-search.c 0 0
FAIL imap_search_result_save imap-search.c 1 - 8 -
FAIL imap_search_send_result_standard imap-search.c 1 - 2 -
FAIL imap_search_send_partial imap-search.c 1 - 1 -
FAIL imap_search_send_result imap-search.c 1 - 2 -

Quality Result   Procedure   Source File   Unique Violations   Failure Density  
          (Viols/R.Line %)  
Pass search_update_mail imap-search.c 0 0
FAIL search_add_result_id imap-search.c 1 - 11 -
FAIL cmd_search_more imap-search.c 1 - 3 -
FAIL cmd_search_more_callback imap-search.c 1 - 13 -
Pass cmd_search_pars _return_if_found imap-search.c 0 0
FAIL wanted_fields_get imap-search.c 1 - 2 -
FAIL imap_search_start imap-search.c 1 - 5 -
Pass imap_search_deinit imap-search.c 0 0
Pass get_next_number imap-seqset.c 0 0
Pass get_next_seq_range imap-seqset.c 0 0
FAIL imap_seq_set_parse imap-seqset.c 1 - 11 -
Pass imap_seq_range_parse imap-seqset.c 0 0
FAIL imap_settings_parse_workarounds imap-settings.c 1 - 5 -
Pass imap_settings_verify imap-settings.c 0 0
FAIL imap_status_parse_items imap-status.c 1 - 5 -
FAIL imap_status_get imap-status.c 1 - 8 -
FAIL imap_status_send imap-status.c 1 - 1 -
FAIL uids_to_seqs imap-sync.c 1 - 16 -
FAIL imap_sync_send_search_update imap-sync.c 1 - 2 -
Pass imap_sync_send_search_updates imap-sync.c 0 0
FAIL imap_sync_init imap-sync.c 1 - 5 -
Pass imap_sync_send_highestmodseq imap-sync.c 0 0
FAIL imap_sync_deinit imap-sync.c 1 - 24 -
Pass imap_sync_add_modseq imap-sync.c 0 0
FAIL imap_sync_send_flags imap-sync.c 1 - 3 -
Pass imap_sync_send_modseq imap-sync.c 0 0
FAIL imap_sync_vanished imap-sync.c 1 - 2 -
FAIL imap_sync_more imap-sync.c 1 - 1 -
Pass imap_sync_is_allowed imap-sync.c 0 0
Pass cmd_finish_sync imap-sync.c 0 0
FAIL cmd_sync_continue imap-sync.c 1 - 6 -
FAIL get_common_sync_flags imap-sync.c 1 - 1 -
FAIL cmd_sync_client imap-sync.c 1 - 7 -
Pass cmd_sync_full imap-sync.c 0 0
FAIL cmd_sync imap-sync.c 1 - 17 -
FAIL cmd_sync_callback imap-sync.c 1 - 17 -
FAIL cmd_sync_drop_fast imap-sync.c 1 - 4 -
FAIL cmd_sync_delayed imap-sync.c 1 - 4 -
Pass uni_utf8_char_bytes unichar.h analysed in imap-utf7.c 0 0
FAIL mbase64_encode imap-utf7.c 1 - 2 -
FAIL imap_utf8_to_utf7 imap-utf7.c 1 - 4 -
Pass utf16buf_to_utf8 imap-utf7.c 0 0
FAIL mbase64_decode_to_utf8 imap-utf7.c 1 - 3 -
FAIL imap_utf7_to_utf8 imap-utf7.c 1 - 2 -
Pass imap_write_flags imap-util.c 0 0
Pass imap_parse_system_flag imap-util.c 0 0
FAIL imap_write_seq_range imap-util.c 1 - 4 -
FAIL imap_write_args imap-util.c 1 - 3 -
FAIL imap_args_to_str imap-util.c 1 - 14 -

Quality Result   Procedure   Source File   Unique Violations   Failure Density  
          (Viols/R.Line %)  
Pass login_proxy_record_hash login-proxy-state.c 0 0
Pass login_proxy_record_cmp login-proxy-state.c 0 0
FAIL login_proxy_state_init login-proxy-state.c 1 - 27 -
Pass login_proxy_state_deinit login-proxy-state.c 0 0
FAIL login_proxy_state_get login-proxy-state.c 1 - 11 -
Pass login_proxy_state_notify_open login-proxy-state.c 0 0
FAIL login_proxy_state_notify login-proxy-state.c 1 - 2 -
FAIL server_input login-proxy.c 1 - 8 -
FAIL proxy_client_input login-proxy.c 1 - 8 -
Pass server_output login-proxy.c 0 0
Pass proxy_client_output login-proxy.c 0 0
Pass proxy_prelogin_input login-proxy.c 0 0
Pass proxy_plain_connected login-proxy.c 0 0
Pass proxy_fail_connect login-proxy.c 0 0
Pass proxy_wait_connect login-proxy.c 0 0
Pass proxy_connect_timeout login-proxy.c 0 0
FAIL login_proxy_connect login-proxy.c 1 - 5 -
Pass login_proxy_dns_done login-proxy.c 0 0
FAIL login_proxy_new login-proxy.c 1 - 3 -
FAIL login_proxy_free login-proxy.c 1 - 5 -
Pass login_proxy_is_ourself login-proxy.c 0 0
Pass login_proxy_get_istream login-proxy.c 0 0
Pass login_proxy_get_ostream login-proxy.c 0 0
Pass login_proxy_get_host login-proxy.c 0 0
Pass login_proxy_get_port login-proxy.c 0 0
Pass login_proxy_get_ssl_flags login-proxy.c 0 0
FAIL login_proxy_notify login-proxy.c 1 - 33 -
FAIL login_proxy_detach login-proxy.c 1 - 5 -
Pass login_proxy_ssl_handshaked login-proxy.c 0 0
Pass login_proxy_starttls login-proxy.c 0 0
Pass proxy_kill_idle login-proxy.c 0 0
FAIL login_proxy_kill_idle login-proxy.c 1 - 11 -
Pass login_proxy_init login-proxy.c 0 0
FAIL login_proxy_deinit login-proxy.c 1 - 15 -
Pass ssl_settings_check login-settings.c 0 0
Pass login_settings_check login-settings.c 0 0
FAIL login_set_var_expand_table login-settings.c 1 - 33 -
FAIL login_settings_read login-settings.c 1 - 15 -
Pass login_settings_deinit login-settings.c 0 0
FAIL notify_ok mail-storage-callbacks.c 1 - 6 -
FAIL notify_no mail-storage-callbacks.c 1 - 6 -
FAIL imap_refresh_proctitle main.c 1 - 3 -
Pass client_kill_idle main.c 0 0
FAIL imap_die main.c 1 - 5 -
FAIL client_parse_input main.c 1 - 9 -
FAIL client_add_input main.c 1 - 11 -
FAIL client_create_from_input main.c 1 - 11 -
FAIL main_stdio_run main.c 1 - 10 -
FAIL login_client_connected main.c 1 - 47 -

Quality Result   Procedure   Source File   Unique Violations   Failure Density  
          (Viols/R.Line %)  
FAIL login_client_failed main.c 1 - 13 -
FAIL client_connected main.c 1 - 8 -
FAIL main main.c 1 - 12 -
Pass login_refresh_proctitle main.c 0 0
FAIL auth_client_idle_timeout main.c 1 - 25 -
Pass login_client_destroyed main.c 0 0
FAIL login_die main.c 1 - 17 -
FAIL client_connected_finish main.c 1 - 27 -
FAIL login_access_lookup_free main.c 1 - 3 -
FAIL login_access_callback main.c 1 - 5 -
Pass login_access_lookup_next main.c 0 0
FAIL client_input_error main.c 1 - 17 -
FAIL client_connected main.c 1 - 8 -
FAIL auth_connect_notify main.c 1 - 5 -
FAIL anvil_reconnect_callback main.c 1 - 25 -
FAIL main_preinit main.c 1 - 2 -
Pass main_init main.c 0 0
FAIL main_deinit main.c 1 - 5 -
FAIL main main.c 1 - 15 -
Pass sasl_server_get advertised_mechs sasl-server.c 0 0
Pass client_get_auth_flags sasl-server.c 0 0
Pass call_client_callback sasl-server.c 0 0
FAIL master_auth_callback sasl-server.c 1 - 4 -
FAIL master_send_request sasl-server.c 1 - 15 -
FAIL anvil_lookup_callback sasl-server.c 1 - 7 -
FAIL anvil_check_too_many_connections sasl-server.c 1 - 29 -
FAIL authenticate_callback sasl-server.c 1 - 4 -
FAIL sasl_server_auth_begin sasl-server.c 1 - 8 -
FAIL sasl_server_auth_cancel sasl-server.c 1 - 6 -
Pass sasl_server_auth_failed sasl-server.c 0 0
FAIL sasl_server_auth_abort sasl-server.c 1 - 14 -
Pass ssl_proxy_alloc ssl-proxy.c 0 0
Pass ssl_proxy_client_alloc ssl-proxy.c 0 0
Pass ssl_proxy_start ssl-proxy.c 0 0
Pass ssl_proxy_set_client ssl-proxy.c 0 0
Pass ssl_proxy_has_v lid_client_cert ssl-proxy.c 0 0
Pass ssl_proxy_has_b oken_client_cert ssl-proxy.c 0 0
Pass ssl_proxy_get_peer_name ssl-proxy.c 0 0
Pass ssl_proxy_is_handshaked ssl-proxy.c 0 0
Pass ssl_proxy_get_last_error ssl-proxy.c 0 0
Pass ssl_proxy_get_security_string ssl-proxy.c 0 0
Pass ssl_proxy_get_compression ssl-proxy.c 0 0
Pass ssl_proxy_free ssl-proxy.c 0 0
Pass ssl_proxy_get_count ssl-proxy.c 0 0
Pass ssl_proxy_init ssl-proxy.c 0 0
Pass ssl_proxy_deinit ssl-proxy.c 0 0
FAIL test_imap_match test-imap-match.c 1 - 8 -
FAIL test_imap_match_globs_equal test-imap-match.c 1 - 3 -
Pass main test-imap-match.c 0 0

Quality Result   Procedure   Source File   Unique Violations   Failure Density  
          (Viols/R.Line %)  
FAIL test_imap_parser_crlf test-imap-parser.c 1 - 4 -
Pass main test-imap-parser.c 0 0
FAIL test_imap_utf7 test-imap-utf7.c 1 - 2 -
Pass main test-imap-utf7.c 0 0
FAIL test_imap_parse_system_flag test-imap-util.c 1 - 1 -
Pass main test-imap-util.c 0 0


Global Information

Source Files in System

Name Last Modification Date
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\login-common\ssl-proxy.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\login-common\ssl-proxy-openssl.c Sun Apr 04 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\login-common\ssl-proxy-gnutls.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\login-common\sasl-server.c Mon Jun 14 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\login-common\main.c Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\login-common\login-settings.c Wed Jun 09 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\login-common\login-proxy.c Wed May 19 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\login-common\login-proxy-state.c Wed May 19 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\login-common\client-common.c Wed May 19 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\login-common\client-common-auth.c Wed Jun 09 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\login-common\access-lookup.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap-login\imap-proxy.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap-login\imap-login-settings.c Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap-login\client.c Wed Apr 14 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap-login\client-authenticate.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\test-imap-util.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\test-imap-utf7.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\test-imap-parser.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\test-imap-match.c Wed Apr 28 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\imap-util.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\imap-utf7.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\imap-seqset.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\imap-quote.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\imap-parser.c Thu May 20 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\imap-match.c Mon Jun 14 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\imap-id.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\imap-envelope.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\imap-date.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\imap-bodystructure.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\imap-base-subject.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-imap\imap-arg.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\main.c Thu May 27 19:00:08 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\mail-storage-callbacks.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\imap-sync.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\imap-status.c Wed Jun 09 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\imap-settings.c Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\imap-search.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\imap-search-args.c Fri May 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\imap-fetch.c Wed May 12 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\imap-fetch-body.c Tue Jun 01 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\imap-expunge.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\imap-commands.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\imap-commands-util.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\imap-client.c Thu Jun 17 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-x-cancel.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-unsubscribe.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-unselect.c Sun Apr 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-uid.c Thu Jun 17 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-thread.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-subscribe.c Fri Mar 26 07:16:36 2010

Name Last Modification Date
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-store.c Tue Apr 06 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-status.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-sort.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-select.c Tue Apr 06 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-search.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-rename.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-noop.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-namespace.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-lsub.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-logout.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-list.c Thu Jun 17 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-idle.c Mon May 31 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-id.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-fetch.c Tue Apr 06 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-expunge.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-examine.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-enable.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-delete.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-create.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-copy.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-close.c Sun Apr 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-check.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-capability.c Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-cancelupdate.c Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\imap\cmd-append.c Mon Apr 05 19:00:04 2010




Global Basic Information

Number of procedures: 593
Number of locally uncalled procedures: 3
Maximum loop depth: 3
Total Cyclomatic Complexity: 3055
Number of reformatted executable lines: 32027
Number of lines of comments: 74108



Summary Report on all Program Components which FAIL



Globals / code outside procedures - FAIL

Standards Violation Summary - All files

Code File: Src Line Violation Standard
M compat.h: 214 Macro replacement list needs parentheses. CERT PRE02-C
M compat.h: 215 Macro replacement list needs parentheses. CERT PRE02-C
M compat.h: 216 Macro replacement list needs parentheses. CERT PRE02-C
M compat.h: 217 Macro replacement list needs parentheses. CERT PRE02-C
M compat.h: 218 Macro replacement list needs parentheses. CERT PRE02-C
M compat.h: 219 Macro replacement list needs parentheses. CERT PRE02-C
M compat.h: 220 Macro replacement list needs parentheses. CERT PRE02-C
M compat.h: 221 Macro replacement list needs parentheses. CERT PRE02-C
M compat.h: 222 Macro replacement list needs parentheses. CERT PRE02-C
M compat.h: 223 Macro replacement list needs parentheses. CERT PRE02-C
M compat.h: 224 Macro replacement list needs parentheses. CERT PRE02-C
M compat.h: 225 Macro replacement list needs parentheses. CERT PRE02-C
M compat.h: 226 Macro replacement list needs parentheses. CERT PRE02-C
M macros.h: 196 Macro replacement list needs parentheses. CERT PRE02-C
M macros.h: 197 Macro replacement list needs parentheses. CERT PRE02-C
M macros.h: 204 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M macros.h: 204 Macro replacement list needs parentheses. CERT PRE02-C
M macros.h: 205 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M macros.h: 205 Macro replacement list needs parentheses. CERT PRE02-C
M macros.h: 223 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M macros.h: 223 Macro replacement list needs parentheses. CERT PRE02-C
M macros.h: 232 Macro replacement list needs parentheses. CERT PRE02-C
M data-stack.h: 49 Macro replacement list needs parentheses. CERT PRE02-C
M data-stack.h: 51 Macro replacement list needs parentheses. CERT PRE02-C
M data-stack.h: 75 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M data-stack.h: 85 Macro replacement list needs parentheses. CERT PRE02-C
M data-stack.h: 90 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M data-stack.h: 90 Macro replacement list needs parentheses. CERT PRE02-C
M data-stack.h: 97 Macro replacement list needs parentheses. CERT PRE02-C
M mempool.h: 84 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M mempool.h: 87 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M mempool.h: 88 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M mempool.h: 99 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M mempool.h: 99 Macro replacement list needs parentheses. CERT PRE02-C
M mempool.h: 102 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M mempool.h: 102 Macro replacement list needs parentheses. CERT PRE02-C
M imem.h: 8 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M imem.h: 8 Macro replacement list needs parentheses. CERT PRE02-C
M imem.h: 14 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M imem.h: 14 Macro replacement list needs parentheses. CERT PRE02-C
M imem.h: 15 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M imem.h: 15 Macro replacement list needs parentheses. CERT PRE02-C
M array-decl.h: 4 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array-decl.h: 4 Macro replacement list needs parentheses. CERT PRE02-C
M array-decl.h: 7 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array-decl.h: 7 Macro replacement list needs parentheses. CERT PRE02-C
M array-decl.h: 9 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array-decl.h: 9 Macro replacement list needs parentheses. CERT PRE02-C
M ioloop.h: 50 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M ioloop.h: 50 Macro replacement list needs parentheses. CERT PRE02-C

Code File: Src Line Violation Standard
M ioloop.h: 56 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M ioloop.h: 75 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M ioloop.h: 75 Macro replacement list needs parentheses. CERT PRE02-C
M ioloop.h: 61 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M ioloop.h: 61 Macro replacement list needs parentheses. CERT PRE02-C
M istream.h: 53 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M istream.h: 53 Macro replacement list needs parentheses. CERT PRE02-C
M ostream.h: 61 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M ostream.h: 61 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 35 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 35 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 37 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 37 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 39 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 39 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 53 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 58 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 58 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 62 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 62 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 90 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 90 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 102 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 102 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 110 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 118 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 126 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 134 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 143 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 143 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 153 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 164 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 164 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 174 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 174 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 183 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 183 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 192 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 192 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 201 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 201 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 206 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 206 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 211 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 211 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 216 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 216 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 228 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 232 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 232 Macro replacement list needs parentheses. CERT PRE02-C

Code File: Src Line Violation Standard
M array.h: 252 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 257 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 261 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 272 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 272 Macro replacement list needs parentheses. CERT PRE02-C
M array.h: 285 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 285 Macro replacement list needs parentheses. CERT PRE02-C
M imap-arg.h: 51 Macro replacement list needs parentheses. CERT PRE02-C
M llist.h: 5 Macro replacement list needs parentheses. CERT PRE02-C
M llist.h: 12 Macro replacement list needs parentheses. CERT PRE02-C
M llist.h: 25 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M llist.h: 25 Macro replacement list needs parentheses. CERT PRE02-C
M llist.h: 32 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M llist.h: 32 Macro replacement list needs parentheses. CERT PRE02-C
M llist.h: 39 Macro replacement list needs parentheses. CERT PRE02-C
M mail-error.h: 19 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M mail-error.h: 19 Macro replacement list needs parentheses. CERT PRE02-C
M mail-storage.h: 414 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 266 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 279 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M array.h: 279 Macro replacement list needs parentheses. CERT PRE02-C
M imap-common.h: 20 Global not initialised at declaration. : hook_client_created CERT EXP33-C
M mail-search.h: 115 Macro replacement list needs parentheses. CERT PRE02-C
M mail-search.h: 156 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M imap-fetch.h: 86 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M imap-quote.h: 9 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M imap-quote.h: 9 Macro replacement list needs parentheses. CERT PRE02-C
M message-header-parser.h: 66 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M message-parser.h: 98 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M message-parser.h: 116 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M imap-commands.c: 61 Global not initialised at declaration. : imap_commands CERT EXP33-C
M imap-commands.c: 62 Global not initialised at declaration. : commands_unsorted CERT EXP33-C
M istream-header-filter.h: 33 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M module-context.h: 45 Macro replacement list needs parentheses. CERT PRE02-C
M module-context.h: 48 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M module-context.h: 62 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M module-context.h: 62 Macro replacement list needs parentheses. CERT PRE02-C
M module-context.h: 66 Macro replacement list needs parentheses. CERT PRE02-C
M module-context.h: 70 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M module-context.h: 70 Macro replacement list needs parentheses. CERT PRE02-C
M module-context.h: 89 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M module-context.h: 89 Macro replacement list needs parentheses. CERT PRE02-C
M module-context.h: 98 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M module-context.h: 98 Macro replacement list needs parentheses. CERT PRE02-C
M module-context.h: 100 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M module-context.h: 100 Macro replacement list needs parentheses. CERT PRE02-C
M module-context.h: 103 Macro replacement list needs parentheses. CERT PRE02-C
M mail-storage-private.h: 442 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M mail-storage-private.h: 442 Macro replacement list needs parentheses. CERT PRE02-C
M mail-index-transaction-private.h: 103 Global not initialised at declaration. : hook_mail_index_transaction_created CERT EXP33-C

Code File: Src Line Violation Standard
M imap-fetch.c: 26 Global not initialised at declaration. : fetch_handlers CERT EXP33-C
M imap-id.c: 16 Global not initialised at declaration. : utsname_result CERT EXP33-C
M settings-parser.h: 46 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M settings-parser.h: 46 Macro replacement list needs parentheses. CERT PRE02-C
M settings-parser.h: 50 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M settings-parser.h: 50 Macro replacement list needs parentheses. CERT PRE02-C
M settings-parser.h: 54 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M settings-parser.h: 54 Macro replacement list needs parentheses. CERT PRE02-C
M settings-parser.h: 58 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M settings-parser.h: 58 Macro replacement list needs parentheses. CERT PRE02-C
M settings-parser.h: 62 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M settings-parser.h: 62 Macro replacement list needs parentheses. CERT PRE02-C
M imap-login-settings.c: 21 Sizeof argument is a pointer. CERT EXP01-C
M imap-login-settings.c: 53 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M imap-login-settings.c: 53 Macro replacement list needs parentheses. CERT PRE02-C
M imap-login-settings.c: 83 Declaration types do not match across a system. : imap_login_setting_roots CERT ARR31-C
  8 (imap-login-settings.h)    
M imap-parser.c: 544 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M imap-settings.c: 24 Sizeof argument is a pointer. CERT EXP01-C
M imap-settings.c: 57 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M imap-settings.c: 57 Macro replacement list needs parentheses. CERT PRE02-C
M imap-settings.c: 59 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M imap-settings.c: 59 Macro replacement list needs parentheses. CERT PRE02-C
M dns-lookup.h: 27 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M dns-lookup.h: 27 Macro replacement list needs parentheses. CERT PRE02-C
M login-proxy.c: 50 Global not initialised at declaration. : proxy_state CERT EXP33-C
M login-settings.c: 18 Macro parameter not in brackets. CERT PRE01-C,PRE02-C
M login-settings.c: 18 Macro replacement list needs parentheses. CERT PRE02-C
M login-settings.c: 99 Global not initialised at declaration. : set_cache CERT EXP33-C
M main.c: 32 Global not initialised at declaration. : storage_service CERT EXP33-C
M ioloop.h: 41 Procedure contains UR data flow anomalies. : current_ioloop CERT EXP33-C
  28 (file-lock.h)    
M main.c: 0 Procedure contains UR data flow anomalies. : imap_clients.prev CERT EXP33-C
M imap-commands.h: 43 Procedure contains UR data flow anomalies. : imap_commands.arr.buffer CERT EXP33-C
  43    
M ioloop.h: 38 Procedure contains UR data flow anomalies. : ioloop_time CERT EXP33-C
  24 (file-lock.h)    
M main.c: 34 Global not initialised at declaration. : auth_client CERT EXP33-C
M main.c: 35 Global not initialised at declaration. : master_auth CERT EXP33-C
M main.c: 36 Global not initialised at declaration. : closing_down CERT EXP33-C
M main.c: 37 Global not initialised at declaration. : anvil CERT EXP33-C
M main.c: 39 Global not initialised at declaration. : global_login_settings CERT EXP33-C
M main.c: 40 Global not initialised at declaration. : global_other_settings CERT EXP33-C
M main.c: 42 Global not initialised at declaration. : auth_client_to CERT EXP33-C
M login-common.h: 31 Procedure contains UR data flow anomalies. : anvil CERT EXP33-C
  372 (main.c)    
M main.c: 42 Procedure contains UR data flow anomalies. : auth_client_to CERT EXP33-C
  372    
M main.c: 0 Procedure contains UR data flow anomalies. : imap_clients.prev CERT EXP33-C
M test-common.h: 11 Macro parameter not in brackets. CERT PRE01-C,PRE02-C

Code File: Src Line Violation Standard
M test-common.h: 11 Macro replacement list needs parentheses. CERT PRE02-C

[ Top of Report | Procedure Table | Contents ]







access_lookup_input
(26 to 50 access-lookup.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 49 Pointer not checked for null before use : lookup CERT EXP08-C,EXP34-C
  48    
M 49 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  48    


[ Top of Report | Procedure Table | Contents ]







access_lookup_timeout
(52 to 61 access-lookup.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 60 Pointer not checked for null before use : lookup CERT EXP08-C,EXP34-C
  59    
M 60 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  59    


[ Top of Report | Procedure Table | Contents ]







access_lookup
(63 to 99 access-lookup.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 98 Local structure returned in function result : lookup  
M 79 Pointer not checked for null before use : cmd CERT EXP08-C,EXP34-C
  78    
M 90 Pointer not checked for null before use : lookup CERT EXP08-C,EXP34-C
  89    


[ Top of Report | Procedure Table | Contents ]







access_lookup_destroy
(101 to 119 access-lookup.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 118 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  117    
M 118 Attempt to read from freed memory. : default_pool CERT MEM30-C
M 118 Pointer not checked for null before use : (lookup)->path CERT EXP08-C,EXP34-C
  117    


[ Top of Report | Procedure Table | Contents ]







array_create_i
(93 to 101 array.h analysed in client-authenticate.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 100 Pointer not checked for null before use : buffer CERT EXP08-C,EXP34-C
  99    


[ Top of Report | Procedure Table | Contents ]







client_authenticate_get_capabilities
(21 to 36 client-authenticate.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 32 Pointer not checked for null before use : mech CERT EXP08-C,EXP34-C
  28    
M 35 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  27    
M 30 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  27    


[ Top of Report | Procedure Table | Contents ]







imap_client_auth_handle_reply
(38 to 106 client-authenticate.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 55 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  54    


[ Top of Report | Procedure Table | Contents ]







imap_client_auth_begin
(108 to 123 client-authenticate.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 119 Pointer not checked for null before use : prefix CERT EXP08-C,EXP34-C
  114    


[ Top of Report | Procedure Table | Contents ]







cmd_authenticate
(125 to 141 client-authenticate.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 140 Pointer not checked for null before use : mech_name CERT EXP08-C,EXP34-C
  131    
M 140 Pointer not checked for null before use : init_resp CERT EXP08-C,EXP34-C
  136    
M 136 Procedure contains UR data flow anomalies. : init_resp CERT EXP33-C
  128    
M 128 Procedure contains UR data flow anomalies. : init_resp CERT EXP33-C
  140    
M 128 Procedure contains UR data flow anomalies. : mech_name CERT EXP33-C
  131    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
client-authenticate.c 136 client-authenticate.c 140 init_resp
client-authenticate.c 128 client-authenticate.c 140 init_resp
client-authenticate.c 128 client-authenticate.c 131 mech_name
client-authenticate.c 128 client-authenticate.c 140 mech_name

[ Top of Report | Procedure Table | Contents ]







cmd_login
(143 to 169 client-authenticate.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 160 Pointer not checked for null before use : plain_login CERT EXP08-C,EXP34-C
  159    
M 167 Pointer not checked for null before use : base64 CERT EXP08-C,EXP34-C
  165    
M 161 Pointer not checked for null before use : user CERT EXP08-C,EXP34-C
  150    
M 163 Pointer not checked for null before use : pass CERT EXP08-C,EXP34-C
  151    
M 146 Procedure contains UR data flow anomalies. : pass CERT EXP33-C
  163    
M 146 Procedure contains UR data flow anomalies. : user CERT EXP33-C
  161    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
client-authenticate.c 146 client-authenticate.c 163 pass
client-authenticate.c 146 client-authenticate.c 161 user

[ Top of Report | Procedure Table | Contents ]







client_auth_failed
(23 to 35 client-common-auth.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 25 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  Ref. Line -1104 (Module 764)    
M 34 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  25    
M 34 Attempt to read from freed memory. : default_pool CERT MEM30-C


[ Top of Report | Procedure Table | Contents ]







client_auth_parse_args
(53 to 115 client-common-auth.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 110 Pointer not checked for null before use : reply_r CERT EXP08-C,EXP34-C
  59    
M 70 Pointer not checked for null before use : key CERT EXP08-C,EXP34-C
  67    
M 79 Pointer not checked for null before use : value CERT EXP08-C,EXP34-C
  68    


[ Top of Report | Procedure Table | Contents ]







client_proxy_finish_destroy_client
(126 to 144 client-common-auth.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 130 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  128    


[ Top of Report | Procedure Table | Contents ]







client_proxy_log_failure
(146 to 164 client-common-auth.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 150 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  148    


[ Top of Report | Procedure Table | Contents ]







client_proxy_failed
(166 to 180 client-common-auth.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 174 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  173    
M 175 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  174    
M 176 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  175    
M 176 Attempt to read from freed memory. : default_pool CERT MEM30-C
M 179 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  176    
M 179 Attempt to read from freed memory. : default_pool CERT MEM30-C


[ Top of Report | Procedure Table | Contents ]







client_auth_handle_reply
(285 to 302 client-common-auth.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 298 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  297    


[ Top of Report | Procedure Table | Contents ]







client_auth_read_line
(304 to 333 client-common-auth.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 306 Procedure contains UR data flow anomalies. : data CERT EXP33-C
  310    
M 307 Procedure contains UR data flow anomalies. : size CERT EXP33-C
  310    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
client-common-auth.c 306 client-common-auth.c 310 data
client-common-auth.c 307 client-common-auth.c 310 size

[ Top of Report | Procedure Table | Contents ]







sasl_callback
(377 to 458 client-common-auth.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 393 Pointer not checked for null before use : reply.password CERT EXP08-C,EXP34-C
  392    
M 393 Pointer not checked for null before use : reply.destuser CERT EXP08-C,EXP34-C
  392    
M 393 Pointer not checked for null before use : reply.host CERT EXP08-C,EXP34-C
  392    
M 393 Pointer not checked for null before use : reply.master_user CERT EXP08-C,EXP34-C
  392    
M 405 Pointer not checked for null before use : reply.password CERT EXP08-C,EXP34-C
  403    
M 405 Pointer not checked for null before use : reply.destuser CERT EXP08-C,EXP34-C
  403    
M 405 Pointer not checked for null before use : reply.host CERT EXP08-C,EXP34-C
  403    
M 405 Pointer not checked for null before use : reply.master_user CERT EXP08-C,EXP34-C
  403    
M 457 Pointer not checked for null before use : client CERT EXP08-C,EXP34-C
  396    
M 457 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  396    
M 396 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  393    
M 422 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  405    
M 396 Pointer not checked for null before use : client.proxy_password CERT EXP08-C,EXP34-C
  393    
M 422 Pointer not checked for null before use : client.master_data_prefix CERT EXP08-C,EXP34-C
  405    
M 381 Procedure contains UR data flow anomalies. : reply.destuser CERT EXP33-C
  403    
M 381 Procedure contains UR data flow anomalies. : reply.host CERT EXP33-C
  405    
M 381 Procedure contains UR data flow anomalies. : reply.master_user CERT EXP33-C
  405    
M 381 Procedure contains UR data flow anomalies. : reply.password CERT EXP33-C
  405    
M 381 Procedure contains UR data flow anomalies. : reply.port CERT EXP33-C
  403    
M 381 Procedure contains UR data flow anomalies. : reply.proxy CERT EXP33-C
  405    
M 381 Procedure contains UR data flow anomalies. : reply.proxy_refresh_secs CERT EXP33-C
  405    
M 381 Procedure contains UR data flow anomalies. : reply.proxy_timeout_msecs CERT EXP33-C
  405    
M 381 Procedure contains UR data flow anomalies. : reply.ssl_flags CERT EXP33-C
  403    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
client-common-auth.c 381 client-common-auth.c 403 reply.destuser
client-common-auth.c 381 client-common-auth.c 405 reply.host
client-common-auth.c 381 client-common-auth.c 405 reply.master_user
client-common-auth.c 381 client-common-auth.c 405 reply.password
client-common-auth.c 381 client-common-auth.c 403 reply.port
client-common-auth.c 381 client-common-auth.c 405 reply.proxy
client-common-auth.c 381 client-common-auth.c 405 reply.proxy_refresh_secs
client-common-auth.c 381 client-common-auth.c 405 reply.proxy_timeout_msecs
client-common-auth.c 381 client-common-auth.c 403 reply.ssl_flags

[ Top of Report | Procedure Table | Contents ]







clients_notify_auth_connected
(515 to 529 client-common-auth.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 519 Pointer not checked for null before use : clients CERT EXP08-C,EXP34-C
  Ref. Line -3250 (Module 764)    


[ Top of Report | Procedure Table | Contents ]







client_create
(41 to 89 client-common.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 88 Local structure returned in function result : client  
M 51 Pointer not checked for null before use : client CERT EXP08-C,EXP34-C
  50    
M 87 Pointer not checked for null before use : clients CERT EXP08-C,EXP34-C
  72    
C 41 Procedure not called in code analysed : client_create  


[ Top of Report | Procedure Table | Contents ]







client_destroy
(91 to 161 client-common.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 152 Pointer not checked for null before use : clients CERT EXP08-C,EXP34-C
  106    
M 148 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  144    
M 152 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  148    
M 148 Attempt to read from freed memory. : default_pool CERT MEM30-C
M 152 Attempt to read from freed memory. : default_pool CERT MEM30-C


[ Top of Report | Procedure Table | Contents ]







client_unref
(182 to 213 client-common.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 202 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  201    
M 202 Attempt to read from freed memory. : default_pool CERT MEM30-C
M 203 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  202    
M 203 Attempt to read from freed memory. : default_pool CERT MEM30-C
M 204 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  203    
M 204 Attempt to read from freed memory. : default_pool CERT MEM30-C


[ Top of Report | Procedure Table | Contents ]







client_destroy_oldest
(215 to 235 client-common.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 234 Pointer not checked for null before use : client CERT EXP08-C,EXP34-C
  232    


[ Top of Report | Procedure Table | Contents ]







clients_destroy_all
(237 to 245 client-common.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 241 Pointer not checked for null before use : clients CERT EXP08-C,EXP34-C
  Ref. Line -3250 (Module 765)    
M 241 Pointer not checked for null before use : next CERT EXP08-C,EXP34-C
  242    


[ Top of Report | Procedure Table | Contents ]







client_start_tls
(247 to 279 client-common.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 252 Pointer not checked for null before use : client CERT EXP08-C,EXP34-C
  252    
M 255 Pointer not checked for null before use : client CERT EXP08-C,EXP34-C
  252    
M 260 Pointer not checked for null before use : client.refcount CERT EXP08-C,EXP34-C
  251    
M 260 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  252    


[ Top of Report | Procedure Table | Contents ]







get_var_expand_table
(337 to 398 client-common.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 361 Pointer not checked for null before use : tab CERT EXP08-C,EXP34-C
  360    
M 391 Pointer not checked for null before use : ssl_error CERT EXP08-C,EXP34-C
  388    
M 364 Pointer not checked for null before use : tab CERT EXP08-C,EXP34-C
  361    
M 372 Pointer not checked for null before use : tab CERT EXP08-C,EXP34-C
  361    
M 391 Pointer not checked for null before use : ssl_state CERT EXP08-C,EXP34-C
  385    


[ Top of Report | Procedure Table | Contents ]







client_get_log_str
(415 to 456 client-common.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 432 Pointer not checked for null before use : tab CERT EXP08-C,EXP34-C
  431    
M 441 Pointer not checked for null before use : p CERT EXP08-C,EXP34-C
  440    
M 450 Pointer not checked for null before use : tab CERT EXP08-C,EXP34-C
  432    
M 436 Pointer not checked for null before use : p CERT EXP08-C,EXP34-C
  436    
M 435 Pointer not checked for null before use : e CERT EXP08-C,EXP34-C
  435    
M 450 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  434    


[ Top of Report | Procedure Table | Contents ]







client_is_trusted
(472 to 493 client-common.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 482 Pointer not checked for null before use : net CERT EXP08-C,EXP34-C
  481    
M 476 Procedure contains UR data flow anomalies. : bits CERT EXP33-C
  483    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
client-common.c 476 client-common.c 483 bits

[ Top of Report | Procedure Table | Contents ]







client_skip_line
(45 to 60 client.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 48 Procedure contains UR data flow anomalies. : data_size CERT EXP33-C
  50    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
client.c 48 client.c 50 data_size

[ Top of Report | Procedure Table | Contents ]







get_capability
(62 to 75 client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 74 Pointer not checked for null before use : auths CERT EXP08-C,EXP34-C
  69    
M 70 Pointer not checked for null before use : cap_str CERT EXP08-C,EXP34-C
  67    


[ Top of Report | Procedure Table | Contents ]







client_update_info
(98 to 118 client.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 106 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  116    
M 108 Pointer not checked for null before use : key CERT EXP08-C,EXP34-C
  106    
M 109 Pointer not checked for null before use : value CERT EXP08-C,EXP34-C
  107    
M 113 Pointer not checked for null before use : value CERT EXP08-C,EXP34-C
  107    
M 101 Procedure contains UR data flow anomalies. : key CERT EXP33-C
  108    
M 101 Procedure contains UR data flow anomalies. : value CERT EXP33-C
  109    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
client.c 101 client.c 108 key
client.c 101 client.c 109 value

[ Top of Report | Procedure Table | Contents ]







cmd_id
(120 to 142 client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 130 Pointer not checked for null before use : env CERT EXP08-C,EXP34-C
  129    
M 139 Pointer not checked for null before use : env CERT EXP08-C,EXP34-C
  137    
M 132 Pointer not checked for null before use : (client)->common.remote_port CERT EXP08-C,EXP34-C
  127    
M 132 Pointer not checked for null before use : (client)->common.local_port CERT EXP08-C,EXP34-C
  127    


[ Top of Report | Procedure Table | Contents ]







client_command_execute
(168 to 190 client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 172 Pointer not checked for null before use : cmd CERT EXP08-C,EXP34-C
  171    


[ Top of Report | Procedure Table | Contents ]







client_handle_input
(192 to 281 client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 236 Pointer not checked for null before use : msg CERT EXP08-C,EXP34-C
  234    
M 243 Pointer not checked for null before use : msg CERT EXP08-C,EXP34-C
  234    
M 272 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  258    


[ Top of Report | Procedure Table | Contents ]







imap_client_input
(283 to 310 client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 290 Pointer not checked for null before use : client CERT EXP08-C,EXP34-C
  287    
M 304 Pointer not checked for null before use : last_client CERT EXP08-C,EXP34-C
  287    
M 309 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  304    
M 304 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  287    


[ Top of Report | Procedure Table | Contents ]







imap_client_send_greeting
(339 to 351 client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 344 Pointer not checked for null before use : greet CERT EXP08-C,EXP34-C
  343    


[ Top of Report | Procedure Table | Contents ]







imap_client_starttls
(353 to 364 client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 360 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  357    


[ Top of Report | Procedure Table | Contents ]







imap_client_send_line
(366 to 430 client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 416 Pointer not checked for null before use : line CERT EXP08-C,EXP34-C
  413    
M 418 Pointer not checked for null before use : line CERT EXP08-C,EXP34-C
  413    


[ Top of Report | Procedure Table | Contents ]







client_input_append
(43 to 95 cmd-append.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 60 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  57    
M 61 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  60    
M 78 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  69    
M 92 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 88 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  87    
M 92 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  88    
M 94 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  88    


[ Top of Report | Procedure Table | Contents ]







validate_args
(100 to 126 cmd-append.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 112 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  109    
M 119 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  116    
M 107 Procedure contains UR data flow anomalies. : flags_list CERT EXP33-C
  208    


[ Top of Report | Procedure Table | Contents ]







cmd_append_continue_cancel
(150 to 182 cmd-append.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 153 Procedure contains UR data flow anomalies. : size CERT EXP33-C
  161    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-append.c 153 cmd-append.c 161 size

[ Top of Report | Procedure Table | Contents ]







cmd_append_continue_parsing
(203 to 376 cmd-append.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 348 Pointer not checked for null before use : keywords CERT EXP08-C,EXP34-C
  319    
M 272 Pointer not checked for null before use : msg CERT EXP08-C,EXP34-C
  268    
M 275 Pointer not checked for null before use : msg CERT EXP08-C,EXP34-C
  268    
M 231 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 244 Procedure contains UR data flow anomalies. : changes.ignored_modseq_changes CERT EXP33-C
  261    
M 244 Procedure contains UR data flow anomalies. : changes.ignored_uid_changes CERT EXP33-C
  261    
M 244 Procedure contains UR data flow anomalies. : changes.saved_uids.arr.buffer CERT EXP33-C
  261    
M 244 Procedure contains UR data flow anomalies. : changes.saved_uids.arr.element_size CERT EXP33-C
  261    
M 244 Procedure contains UR data flow anomalies. : changes.saved_uids.v CERT EXP33-C
  261    
M 244 Procedure contains UR data flow anomalies. : changes.saved_uids.v_modifiable CERT EXP33-C
  261    
M 244 Procedure contains UR data flow anomalies. : changes.uid_validity CERT EXP33-C
  261    
M 208 Procedure contains UR data flow anomalies. : flags_list CERT EXP33-C
  294    
M 213 Procedure contains UR data flow anomalies. : internal_date CERT EXP33-C
  332    
M 319 Procedure contains UR data flow anomalies. : keywords CERT EXP33-C
  211    
M 311 Procedure contains UR data flow anomalies. : keywords CERT EXP33-C
  211    
M 211 Procedure contains UR data flow anomalies. : keywords CERT EXP33-C
  312    
M 214 Procedure contains UR data flow anomalies. : timezone_offset CERT EXP33-C
  349    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-append.c 244 cmd-append.c 261 changes.ignored_modseq_changes
cmd-append.c 244 cmd-append.c 261 changes.ignored_uid_changes
cmd-append.c 244 cmd-append.c 261 changes.saved_uids.arr.buffer
cmd-append.c 244 cmd-append.c 261 changes.saved_uids.arr.element_size
cmd-append.c 244 cmd-append.c 261 changes.saved_uids.v
cmd-append.c 244 cmd-append.c 261 changes.saved_uids.v_modifiable
cmd-append.c 244 cmd-append.c 261 changes.uid_validity
cmd-append.c 107 cmd-append.c 306 flags_list
cmd-append.c 208 cmd-append.c 294 flags_list
cmd-append.c 213 cmd-append.c 332 internal_date
cmd-append.c 319 cmd-append.c 348 keywords
cmd-append.c 311 cmd-append.c 348 keywords
cmd-append.c 211 cmd-append.c 312 keywords
cmd-append.c 214 cmd-append.c 349 timezone_offset

[ Top of Report | Procedure Table | Contents ]







cmd_append_continue_message
(378 to 446 cmd-append.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 382 Procedure contains UR data flow anomalies. : size CERT EXP33-C
  406    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-append.c 382 cmd-append.c 406 size

[ Top of Report | Procedure Table | Contents ]







get_mailbox
(448 to 487 cmd-append.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 479 Pointer not checked for null before use : box CERT EXP08-C,EXP34-C
  477    
M 474 Pointer not checked for null before use : storage_name CERT EXP08-C,EXP34-C
  456    
M 477 Pointer not checked for null before use : storage_name CERT EXP08-C,EXP34-C
  456    
M 453 Procedure contains UR data flow anomalies. : status CERT EXP33-C
  456    
M 454 Procedure contains UR data flow anomalies. : storage_name CERT EXP33-C
  474    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-append.c 453 cmd-append.c 456 status
cmd-append.c 453 cmd-append.c 460 status
cmd-append.c 454 cmd-append.c 474 storage_name
cmd-append.c 454 cmd-append.c 477 storage_name

[ Top of Report | Procedure Table | Contents ]







cmd_append
(489 to 537 cmd-append.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 510 Pointer not checked for null before use : ctx CERT EXP08-C,EXP34-C
  509    
M 493 Procedure contains UR data flow anomalies. : mailbox CERT EXP33-C
  512    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-append.c 493 cmd-append.c 512 mailbox

[ Top of Report | Procedure Table | Contents ]







client_search_update_cancel
(6 to 19 cmd-cancelupdate.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 15 free parameter is not heap item. CERT MEM34-C
M 9 Procedure contains UR data flow anomalies. : idx CERT EXP33-C
  17    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-cancelupdate.c 9 cmd-cancelupdate.c 17 idx

[ Top of Report | Procedure Table | Contents ]







cmd_cancelupdate
(21 to 45 cmd-cancelupdate.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 37 Pointer not checked for null before use : tag CERT EXP08-C,EXP34-C
  36    
M 24 Procedure contains UR data flow anomalies. : tag CERT EXP33-C
  37    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-cancelupdate.c 24 cmd-cancelupdate.c 37 tag

[ Top of Report | Procedure Table | Contents ]







cmd_close
(7 to 30 cmd-close.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 17 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 26 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 21 Pointer not checked for null before use : storage CERT EXP08-C,EXP34-C
  19    
M 23 Pointer not checked for null before use : storage CERT EXP08-C,EXP34-C
  19    


[ Top of Report | Procedure Table | Contents ]







fetch_and_copy
(31 to 83 cmd-copy.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 47 Pointer not checked for null before use : src_uidset CERT EXP08-C,EXP34-C
  46    
M 50 Pointer not checked for null before use : src_trans CERT EXP08-C,EXP34-C
  49    
M 64 Pointer not checked for null before use : save_ctx CERT EXP08-C,EXP34-C
  63    


[ Top of Report | Procedure Table | Contents ]







cmd_copy
(85 to 194 cmd-copy.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 151 Pointer not checked for null before use : t CERT EXP08-C,EXP34-C
  148    
M 191 Pointer not checked for null before use : dest_storage CERT EXP08-C,EXP34-C
  176    
M 148 Pointer not checked for null before use : destbox CERT EXP08-C,EXP34-C
  133    
M 132 Pointer not checked for null before use : storage_name CERT EXP08-C,EXP34-C
  114    
M 169 Pointer not checked for null before use : src_uidset CERT EXP08-C,EXP34-C
  151    
M 160 Pointer not checked for null before use : msg CERT EXP08-C,EXP34-C
  154    
M 184 Pointer not checked for null before use : msg CERT EXP08-C,EXP34-C
  154    
M 97 Procedure contains UR data flow anomalies. : changes.ignored_modseq_changes CERT EXP33-C
  157    
M 97 Procedure contains UR data flow anomalies. : changes.ignored_uid_changes CERT EXP33-C
  157    
M 97 Procedure contains UR data flow anomalies. : changes.saved_uids.arr.buffer CERT EXP33-C
  157    
M 97 Procedure contains UR data flow anomalies. : changes.saved_uids.arr.element_size CERT EXP33-C
  157    
M 97 Procedure contains UR data flow anomalies. : changes.saved_uids.v CERT EXP33-C
  157    
M 97 Procedure contains UR data flow anomalies. : changes.saved_uids.v_modifiable CERT EXP33-C
  157    
M 97 Procedure contains UR data flow anomalies. : changes.uid_validity CERT EXP33-C
  157    
M 93 Procedure contains UR data flow anomalies. : mailbox CERT EXP33-C
  114    
M 93 Procedure contains UR data flow anomalies. : messageset CERT EXP33-C
  109    
M 92 Procedure contains UR data flow anomalies. : search_args CERT EXP33-C
  109    
M 94 Procedure contains UR data flow anomalies. : status CERT EXP33-C
  114    
M 93 Procedure contains UR data flow anomalies. : storage_name CERT EXP33-C
  132    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-copy.c 97 cmd-copy.c 157 changes.ignored_modseq_changes
cmd-copy.c 97 cmd-copy.c 157 changes.ignored_uid_changes
cmd-copy.c 97 cmd-copy.c 157 changes.saved_uids.arr.buffer
cmd-copy.c 97 cmd-copy.c 157 changes.saved_uids.arr.element_size
cmd-copy.c 97 cmd-copy.c 157 changes.saved_uids.v
cmd-copy.c 97 cmd-copy.c 157 changes.saved_uids.v_modifiable
cmd-copy.c 97 cmd-copy.c 157 changes.uid_validity
cmd-copy.c 93 cmd-copy.c 114 mailbox
cmd-copy.c 93 cmd-copy.c 109 messageset
cmd-copy.c 92 cmd-copy.c 109 search_args
cmd-copy.c 94 cmd-copy.c 114 status
cmd-copy.c 93 cmd-copy.c 132 storage_name

[ Top of Report | Procedure Table | Contents ]







cmd_create
(8 to 65 cmd-create.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 21 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 37 Pointer not checked for null before use : storage_name CERT EXP08-C,EXP34-C
  37    
M 54 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 59 Pointer not checked for null before use : box CERT EXP08-C,EXP34-C
  58    
M 41 Pointer not checked for null before use : mailbox CERT EXP08-C,EXP34-C
  38    
M 58 Pointer not checked for null before use : storage_name CERT EXP08-C,EXP34-C
  41    
M 28 Pointer not checked for null before use : storage_name CERT EXP08-C,EXP34-C
  21    
M 12 Procedure contains UR data flow anomalies. : mailbox CERT EXP33-C
  21    
M 10 Procedure contains UR data flow anomalies. : status CERT EXP33-C
  41    
M 12 Procedure contains UR data flow anomalies. : storage_name CERT EXP33-C
  28    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-create.c 12 cmd-create.c 21 mailbox
cmd-create.c 10 cmd-create.c 41 status
cmd-create.c 12 cmd-create.c 28 storage_name

[ Top of Report | Procedure Table | Contents ]







cmd_delete
(6 to 52 cmd-delete.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 34 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 40 Pointer not checked for null before use : box CERT EXP08-C,EXP34-C
  38    
M 46 Pointer not checked for null before use : box CERT EXP08-C,EXP34-C
  38    
M 38 Pointer not checked for null before use : storage_name CERT EXP08-C,EXP34-C
  24    
M 12 Procedure contains UR data flow anomalies. : name CERT EXP33-C
  18    
M 9 Procedure contains UR data flow anomalies. : status CERT EXP33-C
  24    
M 12 Procedure contains UR data flow anomalies. : storage_name CERT EXP33-C
  38    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-delete.c 12 cmd-delete.c 18 name
cmd-delete.c 9 cmd-delete.c 24 status
cmd-delete.c 12 cmd-delete.c 38 storage_name

[ Top of Report | Procedure Table | Contents ]







cmd_enable
(6 to 37 cmd-enable.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 16 Pointer not checked for null before use : reply CERT EXP08-C,EXP34-C
  15    
M 23 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  22    
M 22 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  18    
M 9 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  22    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-enable.c 9 cmd-enable.c 22 str

[ Top of Report | Procedure Table | Contents ]







cmd_expunge_finish
(22 to 46 cmd-expunge.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 27 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 27 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







cmd_uid_expunge
(48 to 70 cmd-expunge.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 66 Pointer not checked for null before use : uidset CERT EXP08-C,EXP34-C
  61    


[ Top of Report | Procedure Table | Contents ]







cmd_expunge
(72 to 78 cmd-expunge.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 77 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







fetch_parse_args
(23 to 73 cmd-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 38 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  34    
M 63 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  61    
M 63 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  62    
M 60 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  59    
M 56 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  35    
M 46 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  35    
M 51 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  35    
M 34 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  33    
M 61 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  60    
M 50 Pointer not checked for null before use : macro CERT EXP08-C,EXP34-C
  53    
M 45 Procedure contains UR data flow anomalies. : macro CERT EXP33-C
  27    
M 27 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  34    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-fetch.c 45 cmd-fetch.c 49 macro
cmd-fetch.c 27 cmd-fetch.c 34 str

[ Top of Report | Procedure Table | Contents ]







fetch_parse_modifier
(75 to 105 cmd-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 84 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  83    
M 80 Procedure contains UR data flow anomalies. : modseq CERT EXP33-C
  84    
M 79 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  84    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-fetch.c 80 cmd-fetch.c 84 modseq
cmd-fetch.c 79 cmd-fetch.c 84 str

[ Top of Report | Procedure Table | Contents ]







fetch_parse_modifiers
(107 to 131 cmd-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 120 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  119    
M 113 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  119    
M 120 Pointer not checked for null before use : name CERT EXP08-C,EXP34-C
  114    
M 111 Procedure contains UR data flow anomalies. : name CERT EXP33-C
  120    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-fetch.c 111 cmd-fetch.c 120 name

[ Top of Report | Procedure Table | Contents ]







cmd_fetch_finish
(133 to 170 cmd-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 158 Pointer not checked for null before use : storage CERT EXP08-C,EXP34-C
  157    
M 162 Pointer not checked for null before use : error_string CERT EXP08-C,EXP34-C
  158    
M 150 Procedure contains UR data flow anomalies. : error CERT EXP33-C
  158    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-fetch.c 150 cmd-fetch.c 158 error

[ Top of Report | Procedure Table | Contents ]







cmd_fetch
(183 to 237 cmd-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 208 Pointer not checked for null before use : messageset CERT EXP08-C,EXP34-C
  199    
M 189 Procedure contains UR data flow anomalies. : messageset CERT EXP33-C
  208    
M 187 Procedure contains UR data flow anomalies. : next_arg CERT EXP33-C
  219    
M 188 Procedure contains UR data flow anomalies. : search_args CERT EXP33-C
  208    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-fetch.c 189 cmd-fetch.c 208 messageset
cmd-fetch.c 187 cmd-fetch.c 219 next_arg
cmd-fetch.c 188 cmd-fetch.c 208 search_args

[ Top of Report | Procedure Table | Contents ]







idle_finish
(28 to 56 cmd-idle.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 55 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  38    


[ Top of Report | Procedure Table | Contents ]







idle_client_input
(58 to 97 cmd-idle.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 74 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  73    
M 94 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 96 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  89    


[ Top of Report | Procedure Table | Contents ]







idle_callback
(128 to 140 cmd-idle.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 138 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 138 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  136    


[ Top of Report | Procedure Table | Contents ]







cmd_idle_continue
(158 to 223 cmd-idle.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 200 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  186    
M 213 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  186    


[ Top of Report | Procedure Table | Contents ]







cmd_idle
(225 to 257 cmd-idle.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 239 Pointer not checked for null before use : ctx.sync_ctx CERT EXP08-C,EXP34-C
  239    
M 255 Pointer not checked for null before use : ctx.sync_ctx CERT EXP08-C,EXP34-C
  239    
M 239 Pointer not checked for null before use : set CERT EXP08-C,EXP34-C
  238    
M 239 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  239    
M 255 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  239    
M 231 Pointer not checked for null before use : ctx CERT EXP08-C,EXP34-C
  230    
M 239 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 239 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







parse_select_flags
(93 to 131 cmd-list.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 99 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  119    
M 106 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  100    
M 97 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  106    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-list.c 97 cmd-list.c 106 str

[ Top of Report | Procedure Table | Contents ]







parse_return_flags
(133 to 169 cmd-list.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 140 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  164    
M 164 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  157    
M 147 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  141    
M 138 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  147    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-list.c 138 cmd-list.c 147 str

[ Top of Report | Procedure Table | Contents ]







list_get_inbox_flags
(171 to 196 cmd-list.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 187 Pointer not checked for null before use : ns CERT EXP08-C,EXP34-C
  186    
M 189 Pointer not checked for null before use : list_iter CERT EXP08-C,EXP34-C
  187    


[ Top of Report | Procedure Table | Contents ]







list_namespace_has_children
(198 to 219 cmd-list.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 211 Pointer not checked for null before use : list_iter CERT EXP08-C,EXP34-C
  210    


[ Top of Report | Procedure Table | Contents ]







ns_get_listed_prefix
(221 to 248 cmd-list.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 234 Pointer not checked for null before use : glob CERT EXP08-C,EXP34-C
  230    
M 234 Pointer not checked for null before use : ns_prefix CERT EXP08-C,EXP34-C
  233    
M 244 Pointer not checked for null before use : ns_prefix CERT EXP08-C,EXP34-C
  243    
M 241 Pointer not checked for null before use : ns_prefix CERT EXP08-C,EXP34-C
  234    


[ Top of Report | Procedure Table | Contents ]







list_namespace_send_prefix
(250 to 325 cmd-list.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 275 Pointer not checked for null before use : name CERT EXP08-C,EXP34-C
  269    
M 318 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  317    
M 255 Procedure contains UR data flow anomalies. : flags CERT EXP33-C
  288    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-list.c 255 cmd-list.c 288 flags

[ Top of Report | Procedure Table | Contents ]







list_send_status
(327 to 352 cmd-list.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 344 Pointer not checked for null before use : storage_name CERT EXP08-C,EXP34-C
  343    
M 347 Pointer not checked for null before use : error CERT EXP08-C,EXP34-C
  344    
M 331 Procedure contains UR data flow anomalies. : error CERT EXP33-C
  347    
M 330 Procedure contains UR data flow anomalies. : result.mailbox_guid CERT EXP33-C
  351    
M 330 Procedure contains UR data flow anomalies. : result.status.cache_fields CERT EXP33-C
  351    
M 330 Procedure contains UR data flow anomalies. : result.status.first_unseen_seq CERT EXP33-C
  351    
M 330 Procedure contains UR data flow anomalies. : result.status.highest_modseq CERT EXP33-C
  351    
M 330 Procedure contains UR data flow anomalies. : result.status.keywords CERT EXP33-C
  351    
M 330 Procedure contains UR data flow anomalies. : result.status.messages CERT EXP33-C
  351    
M 330 Procedure contains UR data flow anomalies. : result.status.nonpermanent_modseqs CERT EXP33-C
  351    
M 330 Procedure contains UR data flow anomalies. : result.status.recent CERT EXP33-C
  351    
M 330 Procedure contains UR data flow anomalies. : result.status.uidnext CERT EXP33-C
  351    
M 330 Procedure contains UR data flow anomalies. : result.status.uidvalidity CERT EXP33-C
  351    
M 330 Procedure contains UR data flow anomalies. : result.status.unseen CERT EXP33-C
  351    
M 330 Procedure contains UR data flow anomalies. : result.status.virtual_size CERT EXP33-C
  351    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-list.c 331 cmd-list.c 347 error
cmd-list.c 330 cmd-list.c 351 result.mailbox_guid
cmd-list.c 330 cmd-list.c 351 result.status.cache_fields
cmd-list.c 330 cmd-list.c 351 result.status.first_unseen_seq
cmd-list.c 330 cmd-list.c 351 result.status.highest_modseq
cmd-list.c 330 cmd-list.c 351 result.status.keywords
cmd-list.c 330 cmd-list.c 351 result.status.messages
cmd-list.c 330 cmd-list.c 351 result.status.nonpermanent_modseqs
cmd-list.c 330 cmd-list.c 351 result.status.recent
cmd-list.c 330 cmd-list.c 351 result.status.uidnext
cmd-list.c 330 cmd-list.c 351 result.status.uidvalidity
cmd-list.c 330 cmd-list.c 351 result.status.unseen
cmd-list.c 330 cmd-list.c 351 result.status.virtual_size

[ Top of Report | Procedure Table | Contents ]







list_namespace_mailboxes
(363 to 445 cmd-list.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 378 Pointer not checked for null before use : name CERT EXP08-C,EXP34-C
  375    
M 424 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  373    


[ Top of Report | Procedure Table | Contents ]







skip_namespace_prefix
(456 to 486 cmd-list.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 479 Global array bound exceeded at use : prefix CERT ARR30-C
M 479 Global array bound exceeded at use : prefix CERT ARR30-C


[ Top of Report | Procedure Table | Contents ]







skip_namespace_prefix_ref
(488 to 518 cmd-list.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 508 Pointer not checked for null before use : cur_ref CERT EXP08-C,EXP34-C
  505    
M 515 Pointer not checked for null before use : cur_ns_prefix CERT EXP08-C,EXP34-C
  505    


[ Top of Report | Procedure Table | Contents ]







skip_namespace_prefix_pattern
(520 to 547 cmd-list.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 539 Pointer not checked for null before use : cur_pattern CERT EXP08-C,EXP34-C
  536    
M 545 Pointer not checked for null before use : cur_ns_prefix CERT EXP08-C,EXP34-C
  541    
M 546 Pointer not checked for null before use : cur_pattern CERT EXP08-C,EXP34-C
  542    


[ Top of Report | Procedure Table | Contents ]







list_use_inboxcase
(549 to 576 cmd-list.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 568 Pointer not checked for null before use : inbox_glob CERT EXP08-C,EXP34-C
  564    
M 563 Pointer not checked for null before use : pat CERT EXP08-C,EXP34-C
  563    


[ Top of Report | Procedure Table | Contents ]







list_namespace_match_pattern
(608 to 688 cmd-list.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 659 Pointer not checked for null before use : pat_glob CERT EXP08-C,EXP34-C
  657    
M 676 Pointer not checked for null before use : cur_ns_prefix CERT EXP08-C,EXP34-C
  675    
M 672 Pointer not checked for null before use : cur_ns_prefix CERT EXP08-C,EXP34-C
  676    
M 659 Pointer not checked for null before use : cur_ns_prefix CERT EXP08-C,EXP34-C
  647    
M 680 Pointer not checked for null before use : cur_ns_prefix CERT EXP08-C,EXP34-C
  676    
M 645 Pointer not checked for null before use : cur_pattern CERT EXP08-C,EXP34-C
  620    


[ Top of Report | Procedure Table | Contents ]







list_namespace_init
(690 to 753 cmd-list.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 727 Pointer not checked for null before use : pattern CERT EXP08-C,EXP34-C
  724    
M 731 Pointer not checked for null before use : pattern CERT EXP08-C,EXP34-C
  729    
M 712 Pointer not checked for null before use : cur_ns_prefix CERT EXP08-C,EXP34-C
  698    
M 727 Pointer not checked for null before use : cur_ns_prefix CERT EXP08-C,EXP34-C
  714    
M 714 Pointer not checked for null before use : cur_ref CERT EXP08-C,EXP34-C
  699    
M 727 Pointer not checked for null before use : cur_ref CERT EXP08-C,EXP34-C
  714    
M 750 Pointer not checked for null before use : cur_ref CERT EXP08-C,EXP34-C
  714    
M 723 Pointer not checked for null before use : pat CERT EXP08-C,EXP34-C
  723    
M 729 Pointer not checked for null before use : pattern CERT EXP08-C,EXP34-C
  727    
M 731 Pointer not checked for null before use : (arr)->buffer CERT EXP08-C,EXP34-C
  722    
M 731 Pointer not checked for null before use : (arr)->element_size CERT EXP08-C,EXP34-C
  722    
M 695 Procedure contains UR data flow anomalies. : used_patterns.arr.buffer CERT EXP33-C
  747    
M 695 Procedure contains UR data flow anomalies. : used_patterns.arr.element_size CERT EXP33-C
  747    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-list.c 695 cmd-list.c 747 used_patterns.arr.buffer
cmd-list.c 695 cmd-list.c 747 used_patterns.arr.element_size

[ Top of Report | Procedure Table | Contents ]







list_inbox
(755 to 767 cmd-list.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 765 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  763    


[ Top of Report | Procedure Table | Contents ]







cmd_list_continue
(769 to 809 cmd-list.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 789 Pointer not checked for null before use : ctx.cur_ns_skip_trailing_sep CERT EXP08-C,EXP34-C
  782    
M 789 Pointer not checked for null before use : ctx.seen_inbox_namespace CERT EXP08-C,EXP34-C
  782    
M 789 Pointer not checked for null before use : ctx.inbox_found CERT EXP08-C,EXP34-C
  782    


[ Top of Report | Procedure Table | Contents ]







cmd_list_ref_root
(811 to 854 cmd-list.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 831 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  830    
M 835 Pointer not checked for null before use : ns_prefix CERT EXP08-C,EXP34-C
  823    


[ Top of Report | Procedure Table | Contents ]







cmd_list_full
(856 to 965 cmd-list.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 871 Pointer not checked for null before use : ctx CERT EXP08-C,EXP34-C
  870    
M 909 Pointer not checked for null before use : (arr)->buffer CERT EXP08-C,EXP34-C
  908    
M 909 Pointer not checked for null before use : (arr)->element_size CERT EXP08-C,EXP34-C
  908    
M 893 Pointer not checked for null before use : list_args CERT EXP08-C,EXP34-C
  893    
M 885 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  882    
M 919 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  901    
M 899 Pointer not checked for null before use : pattern CERT EXP08-C,EXP34-C
  894    
M 909 Pointer not checked for null before use : pattern CERT EXP08-C,EXP34-C
  903    
M 899 Pointer not checked for null before use : (arr)->buffer CERT EXP08-C,EXP34-C
  892    
M 899 Pointer not checked for null before use : (arr)->element_size CERT EXP08-C,EXP34-C
  892    
M 860 Procedure contains UR data flow anomalies. : arg_count CERT EXP33-C
  892    
M 863 Procedure contains UR data flow anomalies. : pattern CERT EXP33-C
  909    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-list.c 860 cmd-list.c 892 arg_count
cmd-list.c 863 cmd-list.c 909 pattern

[ Top of Report | Procedure Table | Contents ]







cmd_namespace
(37 to 54 cmd-namespace.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 43 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  42    


[ Top of Report | Procedure Table | Contents ]







cmd_rename
(7 to 69 cmd-rename.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 29 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 43 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 62 Pointer not checked for null before use : new_box CERT EXP08-C,EXP34-C
  61    
M 53 Pointer not checked for null before use : old_ns CERT EXP08-C,EXP34-C
  50    
M 60 Pointer not checked for null before use : old_ns CERT EXP08-C,EXP34-C
  50    
M 60 Pointer not checked for null before use : storage_oldname CERT EXP08-C,EXP34-C
  19    
M 61 Pointer not checked for null before use : storage_newname CERT EXP08-C,EXP34-C
  33    
M 12 Procedure contains UR data flow anomalies. : newname CERT EXP33-C
  33    
M 12 Procedure contains UR data flow anomalies. : oldname CERT EXP33-C
  19    
M 9 Procedure contains UR data flow anomalies. : status CERT EXP33-C
  19    
M 12 Procedure contains UR data flow anomalies. : storage_newname CERT EXP33-C
  61    
M 12 Procedure contains UR data flow anomalies. : storage_oldname CERT EXP33-C
  60    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-rename.c 12 cmd-rename.c 33 newname
cmd-rename.c 12 cmd-rename.c 19 oldname
cmd-rename.c 9 cmd-rename.c 19 status
cmd-rename.c 12 cmd-rename.c 61 storage_newname
cmd-rename.c 12 cmd-rename.c 60 storage_oldname

[ Top of Report | Procedure Table | Contents ]







cmd_search
(7 to 46 cmd-search.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 22 Pointer not checked for null before use : ctx CERT EXP08-C,EXP34-C
  21    
M 45 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 41 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  36    
M 41 Pointer not checked for null before use : charset CERT EXP08-C,EXP34-C
  31    
M 10 Procedure contains UR data flow anomalies. : sargs CERT EXP33-C
  41    
M 12 Procedure contains UR data flow anomalies. : charset CERT EXP33-C
  41    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-search.c 10 cmd-search.c 41 sargs
cmd-search.c 12 cmd-search.c 41 charset

[ Top of Report | Procedure Table | Contents ]







select_qresync_get_uids
(29 to 65 cmd-select.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 42 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  Ref. Line -1104 (Module 355)    
M 47 Pointer not checked for null before use : uid_range CERT EXP08-C,EXP34-C
  39    
M 47 Pointer not checked for null before use : (arr)->buffer CERT EXP08-C,EXP34-C
  43    
M 47 Pointer not checked for null before use : (arr)->element_size CERT EXP08-C,EXP34-C
  43    
M 36 Procedure contains UR data flow anomalies. : seq CERT EXP33-C
  62    
M 34 Procedure contains UR data flow anomalies. : seq_iter.array CERT EXP33-C
  41    
M 34 Procedure contains UR data flow anomalies. : seq_iter.prev_idx CERT EXP33-C
  41    
M 34 Procedure contains UR data flow anomalies. : seq_iter.prev_n CERT EXP33-C
  41    
M 35 Procedure contains UR data flow anomalies. : uid_count CERT EXP33-C
  42    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-select.c 36 cmd-select.c 62 seq
cmd-select.c 34 cmd-select.c 41 seq_iter.array
cmd-select.c 34 cmd-select.c 41 seq_iter.prev_idx
cmd-select.c 34 cmd-select.c 41 seq_iter.prev_n
cmd-select.c 35 cmd-select.c 42 uid_count

[ Top of Report | Procedure Table | Contents ]







select_parse_qresync_known_set
(67 to 102 cmd-select.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 84 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  81    
M 96 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  90    
M 76 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  75    
M 85 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  84    
M 71 Procedure contains UR data flow anomalies. : seqset.arr.buffer CERT EXP33-C
  92    
M 71 Procedure contains UR data flow anomalies. : seqset.arr.element_size CERT EXP33-C
  92    
M 71 Procedure contains UR data flow anomalies. : seqset.v CERT EXP33-C
  92    
M 71 Procedure contains UR data flow anomalies. : seqset.v_modifiable CERT EXP33-C
  92    
M 72 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  76    
M 71 Procedure contains UR data flow anomalies. : uidset.arr.buffer CERT EXP33-C
  92    
M 71 Procedure contains UR data flow anomalies. : uidset.arr.element_size CERT EXP33-C
  92    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-select.c 71 cmd-select.c 92 seqset.arr.buffer
cmd-select.c 71 cmd-select.c 92 seqset.arr.element_size
cmd-select.c 71 cmd-select.c 92 seqset.v
cmd-select.c 71 cmd-select.c 92 seqset.v_modifiable
cmd-select.c 72 cmd-select.c 76 str
cmd-select.c 72 cmd-select.c 85 str
cmd-select.c 71 cmd-select.c 92 uidset.arr.buffer
cmd-select.c 71 cmd-select.c 92 uidset.arr.element_size

[ Top of Report | Procedure Table | Contents ]







select_parse_qresync
(104 to 157 cmd-select.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 133 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  131    
M 145 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  144    
M 151 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  148    
M 124 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  123    
M 126 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  125    
M 139 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  133    
M 109 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  124    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-select.c 109 cmd-select.c 124 str

[ Top of Report | Procedure Table | Contents ]







select_parse_options
(159 to 187 cmd-select.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 174 Pointer not checked for null before use : name CERT EXP08-C,EXP34-C
  171    
M 165 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  172    
M 177 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  172    
M 171 Pointer not checked for null before use : name CERT EXP08-C,EXP34-C
  166    
M 163 Procedure contains UR data flow anomalies. : name CERT EXP33-C
  171    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-select.c 163 cmd-select.c 171 name

[ Top of Report | Procedure Table | Contents ]







select_qresync
(232 to 272 cmd-select.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 238 Pointer not checked for null before use : search_args CERT EXP08-C,EXP34-C
  237    
M 252 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 253 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 254 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







select_open
(274 to 350 cmd-select.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 278 Procedure contains UR data flow anomalies. : status.cache_fields CERT EXP33-C
  298    
M 278 Procedure contains UR data flow anomalies. : status.first_unseen_seq CERT EXP33-C
  298    
M 278 Procedure contains UR data flow anomalies. : status.highest_modseq CERT EXP33-C
  298    
M 278 Procedure contains UR data flow anomalies. : status.keywords CERT EXP33-C
  298    
M 278 Procedure contains UR data flow anomalies. : status.messages CERT EXP33-C
  298    
M 278 Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs CERT EXP33-C
  298    
M 278 Procedure contains UR data flow anomalies. : status.recent CERT EXP33-C
  298    
M 278 Procedure contains UR data flow anomalies. : status.uidnext CERT EXP33-C
  298    
M 278 Procedure contains UR data flow anomalies. : status.uidvalidity CERT EXP33-C
  298    
M 278 Procedure contains UR data flow anomalies. : status.unseen CERT EXP33-C
  298    
M 278 Procedure contains UR data flow anomalies. : status.virtual_size CERT EXP33-C
  298    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-select.c 278 cmd-select.c 298 status.cache_fields
cmd-select.c 278 cmd-select.c 298 status.first_unseen_seq
cmd-select.c 278 cmd-select.c 298 status.highest_modseq
cmd-select.c 278 cmd-select.c 298 status.keywords
cmd-select.c 278 cmd-select.c 298 status.messages
cmd-select.c 278 cmd-select.c 298 status.nonpermanent_modseqs
cmd-select.c 278 cmd-select.c 298 status.recent
cmd-select.c 278 cmd-select.c 298 status.uidnext
cmd-select.c 278 cmd-select.c 298 status.uidvalidity
cmd-select.c 278 cmd-select.c 298 status.unseen
cmd-select.c 278 cmd-select.c 298 status.virtual_size

[ Top of Report | Procedure Table | Contents ]







cmd_select_full
(352 to 419 cmd-select.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 372 Pointer not checked for null before use : ctx CERT EXP08-C,EXP34-C
  371    
M 385 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 404 Pointer not checked for null before use : box CERT EXP08-C,EXP34-C
  401    
M 373 Pointer not checked for null before use : mailbox CERT EXP08-C,EXP34-C
  366    
M 416 Pointer not checked for null before use : storage_name CERT EXP08-C,EXP34-C
  373    
M 416 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  400    
M 359 Procedure contains UR data flow anomalies. : mailbox CERT EXP33-C
  373    
M 358 Procedure contains UR data flow anomalies. : status CERT EXP33-C
  373    
M 359 Procedure contains UR data flow anomalies. : storage_name CERT EXP33-C
  416    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-select.c 359 cmd-select.c 373 mailbox
cmd-select.c 358 cmd-select.c 373 status
cmd-select.c 359 cmd-select.c 416 storage_name

[ Top of Report | Procedure Table | Contents ]







get_sort_program
(29 to 88 cmd-sort.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 46 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  46    
M 47 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  46    
M 35 Procedure contains UR data flow anomalies. : arg CERT EXP33-C
  47    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-sort.c 35 cmd-sort.c 47 arg

[ Top of Report | Procedure Table | Contents ]







cmd_sort
(90 to 135 cmd-sort.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 106 Pointer not checked for null before use : ctx CERT EXP08-C,EXP34-C
  105    
M 124 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  121    
M 130 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  128    
M 130 Pointer not checked for null before use : charset CERT EXP08-C,EXP34-C
  124    
M 96 Procedure contains UR data flow anomalies. : charset CERT EXP33-C
  130    
M 93 Procedure contains UR data flow anomalies. : sargs CERT EXP33-C
  130    
M 94 Procedure contains UR data flow anomalies. : sort_program CERT EXP33-C
  134    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-sort.c 96 cmd-sort.c 130 charset
cmd-sort.c 93 cmd-sort.c 130 sargs
cmd-sort.c 94 cmd-sort.c 134 sort_program

[ Top of Report | Procedure Table | Contents ]







cmd_status
(9 to 66 cmd-status.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 46 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 34 Pointer not checked for null before use : mailbox CERT EXP08-C,EXP34-C
  24    
M 52 Pointer not checked for null before use : storage_name CERT EXP08-C,EXP34-C
  34    
M 54 Pointer not checked for null before use : error CERT EXP08-C,EXP34-C
  52    
M 17 Procedure contains UR data flow anomalies. : error CERT EXP33-C
  54    
M 14 Procedure contains UR data flow anomalies. : items.guid CERT EXP33-C
  58    
M 14 Procedure contains UR data flow anomalies. : items.mailbox_items CERT EXP33-C
  58    
M 17 Procedure contains UR data flow anomalies. : mailbox CERT EXP33-C
  34    
M 15 Procedure contains UR data flow anomalies. : result.mailbox_guid CERT EXP33-C
  58    
M 15 Procedure contains UR data flow anomalies. : result.status.cache_fields CERT EXP33-C
  58    
M 15 Procedure contains UR data flow anomalies. : result.status.first_unseen_seq CERT EXP33-C
  58    
M 15 Procedure contains UR data flow anomalies. : result.status.highest_modseq CERT EXP33-C
  58    
M 15 Procedure contains UR data flow anomalies. : result.status.keywords CERT EXP33-C
  58    
M 15 Procedure contains UR data flow anomalies. : result.status.messages CERT EXP33-C
  58    
M 15 Procedure contains UR data flow anomalies. : result.status.nonpermanent_modseqs CERT EXP33-C
  58    
M 15 Procedure contains UR data flow anomalies. : result.status.recent CERT EXP33-C
  58    
M 15 Procedure contains UR data flow anomalies. : result.status.uidnext CERT EXP33-C
  58    
M 15 Procedure contains UR data flow anomalies. : result.status.uidvalidity CERT EXP33-C
  58    
M 15 Procedure contains UR data flow anomalies. : result.status.unseen CERT EXP33-C
  58    
M 15 Procedure contains UR data flow anomalies. : result.status.virtual_size CERT EXP33-C
  58    
M 12 Procedure contains UR data flow anomalies. : status CERT EXP33-C
  34    
M 17 Procedure contains UR data flow anomalies. : storage_name CERT EXP33-C
  52    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-status.c 17 cmd-status.c 54 error
cmd-status.c 14 cmd-status.c 58 items.guid
cmd-status.c 14 cmd-status.c 58 items.mailbox_items
cmd-status.c 17 cmd-status.c 34 mailbox
cmd-status.c 15 cmd-status.c 58 result.mailbox_guid
cmd-status.c 15 cmd-status.c 58 result.status.cache_fields
cmd-status.c 15 cmd-status.c 58 result.status.first_unseen_seq
cmd-status.c 15 cmd-status.c 58 result.status.highest_modseq
cmd-status.c 15 cmd-status.c 58 result.status.keywords
cmd-status.c 15 cmd-status.c 58 result.status.messages
cmd-status.c 15 cmd-status.c 58 result.status.nonpermanent_modseqs
cmd-status.c 15 cmd-status.c 58 result.status.recent
cmd-status.c 15 cmd-status.c 58 result.status.uidnext
cmd-status.c 15 cmd-status.c 58 result.status.uidvalidity
cmd-status.c 15 cmd-status.c 58 result.status.unseen
cmd-status.c 15 cmd-status.c 58 result.status.virtual_size
cmd-status.c 12 cmd-status.c 34 status
cmd-status.c 17 cmd-status.c 52 storage_name

[ Top of Report | Procedure Table | Contents ]







get_modify_type
(23 to 43 cmd-store.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 36 Pointer not checked for null before use : type CERT EXP08-C,EXP34-C
  28    


[ Top of Report | Procedure Table | Contents ]







store_parse_modifiers
(45 to 74 cmd-store.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 51 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  51    
M 59 Pointer not checked for null before use : name CERT EXP08-C,EXP34-C
  52    
M 60 Pointer not checked for null before use : value CERT EXP08-C,EXP34-C
  53    
M 49 Procedure contains UR data flow anomalies. : name CERT EXP33-C
  59    
M 49 Procedure contains UR data flow anomalies. : value CERT EXP33-C
  60    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-store.c 49 cmd-store.c 59 name
cmd-store.c 49 cmd-store.c 60 value

[ Top of Report | Procedure Table | Contents ]







store_parse_args
(76 to 118 cmd-store.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 98 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  96    
M 91 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  88    
M 81 Procedure contains UR data flow anomalies. : type CERT EXP33-C
  92    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-store.c 81 cmd-store.c 92 type

[ Top of Report | Procedure Table | Contents ]







cmd_store
(120 to 247 cmd-store.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 152 Pointer not checked for null before use : ctx.cmd CERT EXP08-C,EXP34-C
  151    
M 152 Pointer not checked for null before use : ctx.keywords CERT EXP08-C,EXP34-C
  150    
M 173 Pointer not checked for null before use : t CERT EXP08-C,EXP34-C
  172    
M 229 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  228    
M 230 Pointer not checked for null before use : modified_set.v_modifiable CERT EXP08-C,EXP34-C
  226    
M 230 Pointer not checked for null before use : modified_set.v CERT EXP08-C,EXP34-C
  226    
M 230 Pointer not checked for null before use : modified_set.arr.buffer CERT EXP08-C,EXP34-C
  226    
M 146 Pointer not checked for null before use : set CERT EXP08-C,EXP34-C
  142    
M 246 Pointer not checked for null before use : tagged_reply CERT EXP08-C,EXP34-C
  232    
M 212 Pointer not checked for null before use : (arr)->buffer CERT EXP08-C,EXP34-C
  176    
M 129 Procedure contains UR data flow anomalies. : modified_set.arr.buffer CERT EXP33-C
  179    
M 129 Procedure contains UR data flow anomalies. : modified_set.arr.element_size CERT EXP33-C
  179    
M 129 Procedure contains UR data flow anomalies. : modified_set.v CERT EXP33-C
  179    
M 129 Procedure contains UR data flow anomalies. : modified_set.v_modifiable CERT EXP33-C
  179    
M 124 Procedure contains UR data flow anomalies. : search_args CERT EXP33-C
  146    
M 132 Procedure contains UR data flow anomalies. : set CERT EXP33-C
  146    
M 129 Procedure contains UR data flow anomalies. : uids.arr.buffer CERT EXP33-C
  223    
M 129 Procedure contains UR data flow anomalies. : uids.arr.element_size CERT EXP33-C
  223    
M 129 Procedure contains UR data flow anomalies. : uids.v CERT EXP33-C
  223    
M 129 Procedure contains UR data flow anomalies. : uids.v_modifiable CERT EXP33-C
  223    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-store.c 129 cmd-store.c 179 modified_set.arr.buffer
cmd-store.c 129 cmd-store.c 179 modified_set.arr.element_size
cmd-store.c 129 cmd-store.c 179 modified_set.v
cmd-store.c 129 cmd-store.c 179 modified_set.v_modifiable
cmd-store.c 124 cmd-store.c 146 search_args
cmd-store.c 132 cmd-store.c 146 set
cmd-store.c 129 cmd-store.c 223 uids.arr.buffer
cmd-store.c 129 cmd-store.c 223 uids.arr.element_size
cmd-store.c 129 cmd-store.c 223 uids.v
cmd-store.c 129 cmd-store.c 223 uids.v_modifiable

[ Top of Report | Procedure Table | Contents ]







cmd_subscribe_full
(29 to 124 cmd-subscribe.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 40 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 46 Pointer not checked for null before use : subs_name CERT EXP08-C,EXP34-C
  45    
M 58 Pointer not checked for null before use : subs_name CERT EXP08-C,EXP34-C
  56    
M 67 Pointer not checked for null before use : mailbox CERT EXP08-C,EXP34-C
  67    
M 69 Pointer not checked for null before use : subs_name CERT EXP08-C,EXP34-C
  69    
M 86 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 101 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 56 Pointer not checked for null before use : storage_name CERT EXP08-C,EXP34-C
  40    
M 64 Pointer not checked for null before use : subs_name CERT EXP08-C,EXP34-C
  59    
M 33 Procedure contains UR data flow anomalies. : mailbox CERT EXP33-C
  40    
M 31 Procedure contains UR data flow anomalies. : status CERT EXP33-C
  91    
M 33 Procedure contains UR data flow anomalies. : storage_name CERT EXP33-C
  56    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-subscribe.c 33 cmd-subscribe.c 40 mailbox
cmd-subscribe.c 31 cmd-subscribe.c 91 status
cmd-subscribe.c 33 cmd-subscribe.c 56 storage_name

[ Top of Report | Procedure Table | Contents ]







imap_thread_write
(10 to 56 cmd-thread.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 25 Pointer not checked for null before use : node CERT EXP08-C,EXP34-C
  24    
M 14 Procedure contains UR data flow anomalies. : child_iter CERT EXP33-C
  24    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-thread.c 14 cmd-thread.c 24 child_iter

[ Top of Report | Procedure Table | Contents ]







imap_thread_write_reply
(58 to 75 cmd-thread.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 68 Pointer not checked for null before use : iter CERT EXP08-C,EXP34-C
  65    


[ Top of Report | Procedure Table | Contents ]







imap_thread
(77 to 103 cmd-thread.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 92 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  88    
M 101 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  88    


[ Top of Report | Procedure Table | Contents ]







cmd_thread
(105 to 147 cmd-thread.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 136 Pointer not checked for null before use : sargs CERT EXP08-C,EXP34-C
  132    
M 132 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  125    
M 132 Pointer not checked for null before use : charset CERT EXP08-C,EXP34-C
  121    
M 127 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  120    
M 111 Procedure contains UR data flow anomalies. : charset CERT EXP33-C
  132    
M 109 Procedure contains UR data flow anomalies. : sargs CERT EXP33-C
  132    
M 111 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  127    
M 108 Procedure contains UR data flow anomalies. : thread_type CERT EXP33-C
  127    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-thread.c 111 cmd-thread.c 132 charset
cmd-thread.c 109 cmd-thread.c 132 sargs
cmd-thread.c 111 cmd-thread.c 127 str
cmd-thread.c 108 cmd-thread.c 127 thread_type

[ Top of Report | Procedure Table | Contents ]







cmd_unselect
(6 to 24 cmd-unselect.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 17 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







cmd_x_cancel
(6 to 27 cmd-x-cancel.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 9 Procedure contains UR data flow anomalies. : tag CERT EXP33-C
  18    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
cmd-x-cancel.c 9 cmd-x-cancel.c 18 tag

[ Top of Report | Procedure Table | Contents ]







imap_arg_as_astring
(86 to 93 imap-arg.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 88 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  92    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-arg.c 88 imap-arg.c 92 str

[ Top of Report | Procedure Table | Contents ]







imap_arg_as_nstring
(95 to 102 imap-arg.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 97 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  101    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-arg.c 97 imap-arg.c 101 str

[ Top of Report | Procedure Table | Contents ]







imap_arg_as_literal_size
(104 to 111 imap-arg.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 106 Procedure contains UR data flow anomalies. : size CERT EXP33-C
  110    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-arg.c 106 imap-arg.c 110 size

[ Top of Report | Procedure Table | Contents ]







imap_arg_as_list
(113 to 121 imap-arg.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 116 Procedure contains UR data flow anomalies. : ret CERT EXP33-C
  118    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-arg.c 116 imap-arg.c 118 ret

[ Top of Report | Procedure Table | Contents ]







imap_arg_atom_equals
(123 to 130 imap-arg.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 129 Pointer not checked for null before use : value CERT EXP08-C,EXP34-C
  127    
M 125 Procedure contains UR data flow anomalies. : value CERT EXP33-C
  129    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-arg.c 125 imap-arg.c 129 value

[ Top of Report | Procedure Table | Contents ]







pack_whitespace
(12 to 49 imap-base-subject.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 48 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  47    
M 20 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  17    
M 32 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  43    
M 43 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  40    
M 45 Pointer not checked for null before use : dest CERT EXP08-C,EXP34-C
  31    
M 40 Pointer not checked for null before use : dest CERT EXP08-C,EXP34-C
  31    


[ Top of Report | Procedure Table | Contents ]







remove_subj_trailers
(51 to 80 imap-base-subject.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 55 Procedure contains UR data flow anomalies. : orig_size CERT EXP33-C
  58    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-base-subject.c 55 imap-base-subject.c 58 orig_size

[ Top of Report | Procedure Table | Contents ]







remove_blob
(82 to 102 imap-base-subject.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 97 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  96    
M 90 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  89    
M 100 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  98    


[ Top of Report | Procedure Table | Contents ]







remove_subj_leader
(104 to 156 imap-base-subject.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 117 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 118 Pointer not checked for null before use : orig_data CERT EXP08-C,EXP34-C
  117    
M 119 Pointer not checked for null before use : orig_data CERT EXP08-C,EXP34-C
  118    
M 152 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  151    
M 152 Pointer not checked for null before use : start_pos CERT EXP08-C,EXP34-C
  124    
M 143 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  134    


[ Top of Report | Procedure Table | Contents ]







remove_blob_when_nonempty
(158 to 171 imap-base-subject.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 162 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 163 Pointer not checked for null before use : orig_data CERT EXP08-C,EXP34-C
  162    
M 164 Pointer not checked for null before use : orig_data CERT EXP08-C,EXP34-C
  163    
M 166 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  165    


[ Top of Report | Procedure Table | Contents ]







remove_subj_fwd_hdr
(173 to 198 imap-base-subject.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 184 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  182    
M 177 Procedure contains UR data flow anomalies. : size CERT EXP33-C
  182    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-base-subject.c 177 imap-base-subject.c 182 size

[ Top of Report | Procedure Table | Contents ]







imap_get_base_subject_cased
(200 to 253 imap-base-subject.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 216 Pointer not checked for null before use : buf CERT EXP08-C,EXP34-C
  211    


[ Top of Report | Procedure Table | Contents ]







parse_content_type
(37 to 88 imap-bodystructure.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 68 Pointer not checked for null before use : results CERT EXP08-C,EXP34-C
  68    
M 40 Procedure contains UR data flow anomalies. : parser.data CERT EXP33-C
  46    
M 40 Procedure contains UR data flow anomalies. : parser.end CERT EXP33-C
  46    
M 40 Procedure contains UR data flow anomalies. : parser.last_comment CERT EXP33-C
  46    
M 41 Procedure contains UR data flow anomalies. : results CERT EXP33-C
  67    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-bodystructure.c 40 imap-bodystructure.c 46 parser.data
imap-bodystructure.c 40 imap-bodystructure.c 46 parser.end
imap-bodystructure.c 40 imap-bodystructure.c 46 parser.last_comment
imap-bodystructure.c 41 imap-bodystructure.c 67 results

[ Top of Report | Procedure Table | Contents ]







parse_content_transfer_encoding
(90 to 105 imap-bodystructure.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 93 Procedure contains UR data flow anomalies. : parser.data CERT EXP33-C
  96    
M 93 Procedure contains UR data flow anomalies. : parser.end CERT EXP33-C
  96    
M 93 Procedure contains UR data flow anomalies. : parser.last_comment CERT EXP33-C
  96    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-bodystructure.c 93 imap-bodystructure.c 96 parser.data
imap-bodystructure.c 93 imap-bodystructure.c 96 parser.end
imap-bodystructure.c 93 imap-bodystructure.c 96 parser.last_comment

[ Top of Report | Procedure Table | Contents ]







parse_content_disposition
(107 to 136 imap-bodystructure.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 126 Pointer not checked for null before use : results CERT EXP08-C,EXP34-C
  126    
M 110 Procedure contains UR data flow anomalies. : parser.data CERT EXP33-C
  114    
M 110 Procedure contains UR data flow anomalies. : parser.end CERT EXP33-C
  114    
M 110 Procedure contains UR data flow anomalies. : parser.last_comment CERT EXP33-C
  114    
M 111 Procedure contains UR data flow anomalies. : results CERT EXP33-C
  125    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-bodystructure.c 110 imap-bodystructure.c 114 parser.data
imap-bodystructure.c 110 imap-bodystructure.c 114 parser.end
imap-bodystructure.c 110 imap-bodystructure.c 114 parser.last_comment
imap-bodystructure.c 111 imap-bodystructure.c 125 results

[ Top of Report | Procedure Table | Contents ]







parse_content_language
(138 to 168 imap-bodystructure.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 152 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  151    
M 161 Pointer not checked for null before use : parser.data CERT EXP08-C,EXP34-C
  160    
M 141 Procedure contains UR data flow anomalies. : parser.data CERT EXP33-C
  149    
M 141 Procedure contains UR data flow anomalies. : parser.end CERT EXP33-C
  149    
M 141 Procedure contains UR data flow anomalies. : parser.last_comment CERT EXP33-C
  149    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-bodystructure.c 141 imap-bodystructure.c 149 parser.data
imap-bodystructure.c 141 imap-bodystructure.c 149 parser.end
imap-bodystructure.c 141 imap-bodystructure.c 149 parser.last_comment

[ Top of Report | Procedure Table | Contents ]







parse_content_header
(170 to 236 imap-bodystructure.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 216 Pointer not checked for null before use : value CERT EXP08-C,EXP34-C
  183    


[ Top of Report | Procedure Table | Contents ]







imap_bodystructure_parse_header
(238 to 291 imap-bodystructure.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 251 Pointer not checked for null before use : part_data CERT EXP08-C,EXP34-C
  249    
M 256 Pointer not checked for null before use : part_data CERT EXP08-C,EXP34-C
  255    
M 259 Pointer not checked for null before use : part_data CERT EXP08-C,EXP34-C
  258    
M 260 Pointer not checked for null before use : envelope CERT EXP08-C,EXP34-C
  256    
M 277 Pointer not checked for null before use : part_data CERT EXP08-C,EXP34-C
  275    
M 283 Pointer not checked for null before use : part_data CERT EXP08-C,EXP34-C
  279    
M 289 Pointer not checked for null before use : part_data CERT EXP08-C,EXP34-C
  279    


[ Top of Report | Procedure Table | Contents ]







part_write_body
(360 to 471 imap-bodystructure.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 418 Pointer not checked for null before use : child_data CERT EXP08-C,EXP34-C
  417    
M 421 Pointer not checked for null before use : env_data CERT EXP08-C,EXP34-C
  418    


[ Top of Report | Procedure Table | Contents ]







str_append_imap_arg
(535 to 566 imap-bodystructure.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 553 Pointer not checked for null before use : cstr CERT EXP08-C,EXP34-C
  539    
M 537 Procedure contains UR data flow anomalies. : cstr CERT EXP33-C
  553    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-bodystructure.c 537 imap-bodystructure.c 553 cstr

[ Top of Report | Procedure Table | Contents ]







imap_write_list
(568 to 589 imap-bodystructure.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 584 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  582    


[ Top of Report | Procedure Table | Contents ]







imap_parse_bodystructure_args
(591 to 696 imap-bodystructure.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 601 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  609    
M 662 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  659    
M 677 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  659    
M 672 Pointer not checked for null before use : value CERT EXP08-C,EXP34-C
  668    
M 692 Pointer not checked for null before use : value CERT EXP08-C,EXP34-C
  690    
M 629 Pointer not checked for null before use : content_type CERT EXP08-C,EXP34-C
  619    
M 631 Pointer not checked for null before use : subtype CERT EXP08-C,EXP34-C
  620    
M 636 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  633    
M 646 Pointer not checked for null before use : subargs CERT EXP08-C,EXP34-C
  645    
M 596 Procedure contains UR data flow anomalies. : content_type CERT EXP33-C
  629    
M 596 Procedure contains UR data flow anomalies. : subtype CERT EXP33-C
  631    
M 596 Procedure contains UR data flow anomalies. : value CERT EXP33-C
  672    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-bodystructure.c 596 imap-bodystructure.c 629 content_type
imap-bodystructure.c 596 imap-bodystructure.c 631 subtype
imap-bodystructure.c 596 imap-bodystructure.c 672 value

[ Top of Report | Procedure Table | Contents ]







imap_body_parse_from_bodystructure
(698 to 720 imap-bodystructure.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 707 Pointer not checked for null before use : input CERT EXP08-C,EXP34-C
  706    
M 709 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 710 Pointer not checked for null before use : parser CERT EXP08-C,EXP34-C
  709    


[ Top of Report | Procedure Table | Contents ]







client_create
(35 to 92 imap-client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 91 Local structure returned in function result : client  
M 48 Pointer not checked for null before use : pool CERT EXP08-C,EXP34-C
  47    
M 49 Pointer not checked for null before use : client CERT EXP08-C,EXP34-C
  48    
M 90 Pointer not checked for null before use : imap_clients CERT EXP08-C,EXP34-C
  86    


[ Top of Report | Procedure Table | Contents ]







client_stats
(127 to 146 imap-client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 138 Pointer not checked for null before use : tab CERT EXP08-C,EXP34-C
  137    
M 140 Pointer not checked for null before use : tab CERT EXP08-C,EXP34-C
  138    
M 144 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  143    


[ Top of Report | Procedure Table | Contents ]







client_destroy
(157 to 228 imap-client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 182 Pointer not checked for null before use : cmd CERT EXP08-C,EXP34-C
  181    
M 168 Pointer not checked for null before use : reason CERT EXP08-C,EXP34-C
  167    
M 179 Pointer not checked for null before use : imap_clients CERT EXP08-C,EXP34-C
  172    
M 227 Pointer not checked for null before use : imap_clients CERT EXP08-C,EXP34-C
  172    
M 182 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  179    
M 192 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  189    
M 204 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  192    
M 172 Procedure contains UR data flow anomalies. : imap_clients.next CERT EXP33-C
M 172 Procedure contains UR data flow anomalies. : imap_clients.prev CERT EXP33-C


[ Top of Report | Procedure Table | Contents ]







client_send_command_error
(294 to 331 imap-client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 315 Pointer not checked for null before use : cmd_name CERT EXP08-C,EXP34-C
  314    
M 304 Pointer not checked for null before use : msg CERT EXP08-C,EXP34-C
  302    
M 310 Pointer not checked for null before use : msg CERT EXP08-C,EXP34-C
  302    
M 319 Pointer not checked for null before use : error CERT EXP08-C,EXP34-C
  310    


[ Top of Report | Procedure Table | Contents ]







client_read_args
(333 to 366 imap-client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 348 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  347    
M 349 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  347    


[ Top of Report | Procedure Table | Contents ]







client_read_string_args
(368 to 399 imap-client.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 394 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  388    
M 394 Pointer not checked for null before use : ret CERT EXP08-C,EXP34-C
  381    
M 373 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  394    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-client.c 373 imap-client.c 394 str

[ Top of Report | Procedure Table | Contents ]







client_command_find_with_flags
(401 to 415 imap-client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 412 Local structure returned in function result : cmd  


[ Top of Report | Procedure Table | Contents ]







client_command_new
(468 to 491 imap-client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 490 Local structure returned in function result : cmd  
M 474 Pointer not checked for null before use : cmd CERT EXP08-C,EXP34-C
  473    


[ Top of Report | Procedure Table | Contents ]







client_command_free
(493 to 538 imap-client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 498 Procedure contains UR data flow anomalies. : imap_clients.input_lock CERT EXP33-C
M 498 Procedure contains UR data flow anomalies. : imap_clients.output_lock CERT EXP33-C


[ Top of Report | Procedure Table | Contents ]







client_continue_pending_input
(548 to 581 imap-client.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 579 Pointer not checked for null before use : client.io CERT EXP08-C,EXP34-C
  573    
M 579 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  578    
M 578 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  565    
M 550 Procedure contains UR data flow anomalies. : size CERT EXP33-C
  576    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-client.c 550 imap-client.c 576 size

[ Top of Report | Procedure Table | Contents ]







client_skip_line
(585 to 602 imap-client.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 588 Procedure contains UR data flow anomalies. : data_size CERT EXP33-C
  590    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-client.c 588 imap-client.c 590 data_size

[ Top of Report | Procedure Table | Contents ]







client_handle_next_command
(697 to 735 imap-client.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 699 Procedure contains UR data flow anomalies. : size CERT EXP33-C
  721    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-client.c 699 imap-client.c 721 size

[ Top of Report | Procedure Table | Contents ]







client_handle_input
(737 to 763 imap-client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 761 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  746    


[ Top of Report | Procedure Table | Contents ]







client_input
(765 to 804 imap-client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 793 Pointer not checked for null before use : cmd CERT EXP08-C,EXP34-C
  791    
M 803 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  795    
M 801 Pointer not checked for null before use : client.prev CERT EXP08-C,EXP34-C
  785    
M 801 Pointer not checked for null before use : client.free_parser CERT EXP08-C,EXP34-C
  785    
M 792 Pointer not checked for null before use : client.command_queue_size CERT EXP08-C,EXP34-C
  785    
M 779 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 801 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







client_output
(821 to 873 imap-client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 869 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  866    
M 871 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  866    
M 866 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  845    
M 834 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 869 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







client_enable
(896 to 917 imap-client.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 898 Procedure contains UR data flow anomalies. : status.cache_fields CERT EXP33-C
  911    
M 898 Procedure contains UR data flow anomalies. : status.first_unseen_seq CERT EXP33-C
  911    
M 898 Procedure contains UR data flow anomalies. : status.highest_modseq CERT EXP33-C
  911    
M 898 Procedure contains UR data flow anomalies. : status.keywords CERT EXP33-C
  911    
M 898 Procedure contains UR data flow anomalies. : status.messages CERT EXP33-C
  911    
M 898 Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs CERT EXP33-C
  911    
M 898 Procedure contains UR data flow anomalies. : status.recent CERT EXP33-C
  911    
M 898 Procedure contains UR data flow anomalies. : status.uidnext CERT EXP33-C
  911    
M 898 Procedure contains UR data flow anomalies. : status.uidvalidity CERT EXP33-C
  911    
M 898 Procedure contains UR data flow anomalies. : status.unseen CERT EXP33-C
  911    
M 898 Procedure contains UR data flow anomalies. : status.virtual_size CERT EXP33-C
  911    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-client.c 898 imap-client.c 911 status.cache_fields
imap-client.c 898 imap-client.c 911 status.first_unseen_seq
imap-client.c 898 imap-client.c 911 status.highest_modseq
imap-client.c 898 imap-client.c 911 status.keywords
imap-client.c 898 imap-client.c 911 status.messages
imap-client.c 898 imap-client.c 911 status.nonpermanent_modseqs
imap-client.c 898 imap-client.c 911 status.recent
imap-client.c 898 imap-client.c 911 status.uidnext
imap-client.c 898 imap-client.c 911 status.uidvalidity
imap-client.c 898 imap-client.c 911 status.unseen
imap-client.c 898 imap-client.c 911 status.virtual_size

[ Top of Report | Procedure Table | Contents ]







client_search_update_lookup
(919 to 937 imap-client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 933 Local structure returned in function result : updates  


[ Top of Report | Procedure Table | Contents ]







client_search_updates_free
(939 to 951 imap-client.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 947 Pointer not checked for null before use : (update)->tag CERT EXP08-C,EXP34-C
  947    
M 947 Attempt to read from freed memory. : default_pool CERT MEM30-C


[ Top of Report | Procedure Table | Contents ]







clients_destroy_all
(953 to 959 imap-client.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-client.c 498 imap-client.c 957 imap_clients.input_lock
imap-client.c 172 imap-client.c 957 imap_clients.next
imap-client.c 498 imap-client.c 957 imap_clients.output_lock
imap-client.c 172 imap-client.c 957 imap_clients.prev

[ Top of Report | Procedure Table | Contents ]







client_find_namespace
(22 to 95 imap-commands-util.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 76 Array Bound exceeded. CERT ARR30-C
M 94 Local structure returned in function result : ns  
M 33 Pointer not checked for null before use : storage_name CERT EXP08-C,EXP34-C
  32    
M 63 Pointer not checked for null before use : mailbox CERT EXP08-C,EXP34-C
  62    
M 75 Pointer not checked for null before use : storage_name CERT EXP08-C,EXP34-C
  56    


[ Top of Report | Procedure Table | Contents ]







client_fail_mailbox_name_status
(97 to 132 imap-commands-util.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 116 Pointer not checked for null before use : resp_code CERT EXP08-C,EXP34-C
  115    


[ Top of Report | Procedure Table | Contents ]







client_send_list_error
(186 to 195 imap-commands-util.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 190 Procedure contains UR data flow anomalies. : error CERT EXP33-C
  192    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-commands-util.c 190 imap-commands-util.c 192 error

[ Top of Report | Procedure Table | Contents ]







client_send_storage_error
(197 to 214 imap-commands-util.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 201 Procedure contains UR data flow anomalies. : error CERT EXP33-C
  211    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-commands-util.c 201 imap-commands-util.c 211 error

[ Top of Report | Procedure Table | Contents ]







client_send_untagged_storage_error
(216 to 232 imap-commands-util.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 231 Pointer not checked for null before use : error_string CERT EXP08-C,EXP34-C
  230    
M 220 Procedure contains UR data flow anomalies. : error CERT EXP33-C
  230    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-commands-util.c 220 imap-commands-util.c 230 error

[ Top of Report | Procedure Table | Contents ]







client_parse_mail_flags
(234 to 281 imap-commands-util.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 257 Pointer not checked for null before use : atom CERT EXP08-C,EXP34-C
  256    
M 247 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  271    
M 254 Pointer not checked for null before use : atom CERT EXP08-C,EXP34-C
  248    
M 268 Pointer not checked for null before use : (arr)->buffer CERT EXP08-C,EXP34-C
  245    
M 268 Pointer not checked for null before use : (arr)->element_size CERT EXP08-C,EXP34-C
  245    
M 239 Procedure contains UR data flow anomalies. : atom CERT EXP33-C
  254    
M 241 Procedure contains UR data flow anomalies. : keywords.arr.buffer CERT EXP33-C
  245    
M 241 Procedure contains UR data flow anomalies. : keywords.arr.element_size CERT EXP33-C
  245    
M 241 Procedure contains UR data flow anomalies. : keywords.v CERT EXP33-C
  245    
M 241 Procedure contains UR data flow anomalies. : keywords.v_modifiable CERT EXP33-C
  245    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-commands-util.c 239 imap-commands-util.c 254 atom
imap-commands-util.c 241 imap-commands-util.c 245 keywords.arr.buffer
imap-commands-util.c 241 imap-commands-util.c 245 keywords.arr.element_size
imap-commands-util.c 241 imap-commands-util.c 245 keywords.v
imap-commands-util.c 241 imap-commands-util.c 245 keywords.v_modifiable

[ Top of Report | Procedure Table | Contents ]







get_keywords_string
(283 to 296 imap-commands-util.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 295 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  288    


[ Top of Report | Procedure Table | Contents ]







client_send_mailbox_flags
(300 to 326 imap-commands-util.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 313 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  311    


[ Top of Report | Procedure Table | Contents ]







client_get_keyword_names
(335 to 357 imap-commands-util.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 352 Pointer not checked for null before use : all_names CERT EXP08-C,EXP34-C
  346    
M 341 Procedure contains UR data flow anomalies. : all_count CERT EXP33-C
  351    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-commands-util.c 341 imap-commands-util.c 351 all_count

[ Top of Report | Procedure Table | Contents ]







mailbox_equals
(359 to 374 imap-commands-util.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 369 Pointer not checked for null before use : name1 CERT EXP08-C,EXP34-C
  368    


[ Top of Report | Procedure Table | Contents ]







msgset_generator_init
(376 to 381 imap-commands-util.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 379 Pointer not checked for null before use : ctx CERT EXP08-C,EXP34-C
  378    


[ Top of Report | Procedure Table | Contents ]







command_register
(64 to 76 imap-commands.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 73 Pointer not checked for null before use : cmd.name CERT EXP08-C,EXP34-C
  70    
M 73 Pointer not checked for null before use : imap_commands.v_modifiable CERT EXP08-C,EXP34-C
  43 (imap-commands.h)    
M 73 Pointer not checked for null before use : imap_commands.v CERT EXP08-C,EXP34-C
  43 (imap-commands.h)    
M 73 Pointer not checked for null before use : imap_commands.arr.buffer CERT EXP08-C,EXP34-C
  43 (imap-commands.h)    


[ Top of Report | Procedure Table | Contents ]







command_unregister
(78 to 92 imap-commands.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 83 Pointer not checked for null before use : imap_commands.arr.buffer CERT EXP08-C,EXP34-C
  43 (imap-commands.h)    
M 81 Procedure contains UR data flow anomalies. : count CERT EXP33-C
  84    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-commands.c 81 imap-commands.c 84 count

[ Top of Report | Procedure Table | Contents ]







command_register_array
(94 to 98 imap-commands.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 97 Pointer not checked for null before use : imap_commands.v_modifiable CERT EXP08-C,EXP34-C
  43 (imap-commands.h)    
M 97 Pointer not checked for null before use : imap_commands.v CERT EXP08-C,EXP34-C
  43 (imap-commands.h)    
M 97 Pointer not checked for null before use : imap_commands.arr.buffer CERT EXP08-C,EXP34-C
  43 (imap-commands.h)    


[ Top of Report | Procedure Table | Contents ]







command_unregister_array
(100 to 106 imap-commands.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 103 Pointer not checked for null before use : cmdarr CERT EXP08-C,EXP34-C
  104    


[ Top of Report | Procedure Table | Contents ]







commands_init
(128 to 135 imap-commands.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 130 Pointer not checked for null before use : imap_commands.v_modifiable CERT EXP08-C,EXP34-C
  43 (imap-commands.h)    
M 130 Pointer not checked for null before use : imap_commands.v CERT EXP08-C,EXP34-C
  43 (imap-commands.h)    
M 130 Pointer not checked for null before use : imap_commands.arr.buffer CERT EXP08-C,EXP34-C
  43 (imap-commands.h)    
M 130 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  Ref. Line -1104 (Module 367)    
M 133 Pointer not checked for null before use : imap4rev1_commands.name CERT EXP08-C,EXP34-C
  10    
M 134 Pointer not checked for null before use : imap_ext_commands.name CERT EXP08-C,EXP34-C
  44    


[ Top of Report | Procedure Table | Contents ]







commands_deinit
(137 to 142 imap-commands.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 141 Pointer not checked for null before use : imap_commands.arr.buffer CERT EXP08-C,EXP34-C
  43 (imap-commands.h)    
M 141 Pointer not checked for null before use : imap_commands.v_modifiable CERT EXP08-C,EXP34-C
  43 (imap-commands.h)    
M 141 Pointer not checked for null before use : imap_commands.v CERT EXP08-C,EXP34-C
  43 (imap-commands.h)    
M 139 Pointer not checked for null before use : imap4rev1_commands.name CERT EXP08-C,EXP34-C
  10    
M 140 Pointer not checked for null before use : imap_ext_commands.name CERT EXP08-C,EXP34-C
  44    


[ Top of Report | Procedure Table | Contents ]







imap_parse_date_internal
(30 to 80 imap-date.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 71 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  68    
M 47 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  44    
M 61 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  56    
M 51 Pointer not checked for null before use : tm CERT EXP08-C,EXP34-C
  37    


[ Top of Report | Procedure Table | Contents ]







imap_parse_datetime
(121 to 159 imap-date.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 135 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  132    
M 141 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  138    
M 147 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  144    
M 157 Pointer not checked for null before use : timestamp_r CERT EXP08-C,EXP34-C
  156    
M 157 Pointer not checked for null before use : timezone_offset_r CERT EXP08-C,EXP34-C
  153    


[ Top of Report | Procedure Table | Contents ]







imap_to_datetime_tm
(161 to 210 imap-date.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 174 Pointer not checked for null before use : month_names CERT EXP08-C,EXP34-C
  10    


[ Top of Report | Procedure Table | Contents ]







imap_to_datetime
(212 to 220 imap-date.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 218 Pointer not checked for null before use : tm CERT EXP08-C,EXP34-C
  217    


[ Top of Report | Procedure Table | Contents ]







imap_to_datetime_tz
(222 to 229 imap-date.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 228 Pointer not checked for null before use : tm CERT EXP08-C,EXP34-C
  227    


[ Top of Report | Procedure Table | Contents ]







imap_envelope_parse_header
(85 to 156 imap-envelope.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 96 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  95    
M 112 Pointer not checked for null before use : d CERT EXP08-C,EXP34-C
  108    
M 115 Pointer not checked for null before use : d CERT EXP08-C,EXP34-C
  108    
M 118 Pointer not checked for null before use : d CERT EXP08-C,EXP34-C
  108    
M 121 Pointer not checked for null before use : d CERT EXP08-C,EXP34-C
  108    
M 125 Pointer not checked for null before use : d CERT EXP08-C,EXP34-C
  108    
M 128 Pointer not checked for null before use : d CERT EXP08-C,EXP34-C
  108    
M 131 Pointer not checked for null before use : d CERT EXP08-C,EXP34-C
  108    
M 134 Pointer not checked for null before use : d CERT EXP08-C,EXP34-C
  108    
M 137 Pointer not checked for null before use : d CERT EXP08-C,EXP34-C
  108    
M 140 Pointer not checked for null before use : d CERT EXP08-C,EXP34-C
  108    
M 109 Procedure contains UR data flow anomalies. : addr_p CERT EXP33-C
  91    
M 90 Procedure contains UR data flow anomalies. : field CERT EXP33-C
  110    
M 109 Procedure contains UR data flow anomalies. : str_p CERT EXP33-C
  92    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-envelope.c 109 imap-envelope.c 146 addr_p
imap-envelope.c 90 imap-envelope.c 110 field
imap-envelope.c 109 imap-envelope.c 152 str_p

[ Top of Report | Procedure Table | Contents ]







imap_address_arg_append
(216 to 286 imap-envelope.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 219 Procedure contains UR data flow anomalies. : list_args CERT EXP33-C
  224    
M 220 Procedure contains UR data flow anomalies. : list_count CERT EXP33-C
  228    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-envelope.c 219 imap-envelope.c 224 list_args
imap-envelope.c 220 imap-envelope.c 228 list_count

[ Top of Report | Procedure Table | Contents ]







imap_envelope_parse_address
(288 to 306 imap-envelope.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 300 Pointer not checked for null before use : list_args CERT EXP08-C,EXP34-C
  300    
M 305 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  298    


[ Top of Report | Procedure Table | Contents ]







imap_envelope_parse_first_mailbox
(308 to 327 imap-envelope.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 326 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  324    
M 312 Procedure contains UR data flow anomalies. : list_count CERT EXP33-C
  322    
M 311 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  326    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-envelope.c 312 imap-envelope.c 322 list_count
imap-envelope.c 311 imap-envelope.c 326 str

[ Top of Report | Procedure Table | Contents ]







imap_envelope_parse_arg
(329 to 367 imap-envelope.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 349 Pointer not checked for null before use : value CERT EXP08-C,EXP34-C
  348    
M 359 Pointer not checked for null before use : value CERT EXP08-C,EXP34-C
  355    


[ Top of Report | Procedure Table | Contents ]







imap_envelope_parse
(369 to 397 imap-envelope.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 381 Pointer not checked for null before use : input CERT EXP08-C,EXP34-C
  380    
M 381 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 384 Pointer not checked for null before use : parser CERT EXP08-C,EXP34-C
  381    


[ Top of Report | Procedure Table | Contents ]







imap_expunge
(8 to 49 imap-expunge.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 22 Pointer not checked for null before use : search_args CERT EXP08-C,EXP34-C
  21    
M 30 Pointer not checked for null before use : t CERT EXP08-C,EXP34-C
  29    


[ Top of Report | Procedure Table | Contents ]







seek_partial
(55 to 80 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 69 Sizeof argument is a pointer. CERT EXP01-C


[ Top of Report | Procedure Table | Contents ]







get_body_name
(94 to 103 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 99 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  98    


[ Top of Report | Procedure Table | Contents ]







get_prefix
(105 to 124 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 115 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  111    
M 117 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  111    


[ Top of Report | Procedure Table | Contents ]







imap_fetch_send
(126 to 222 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 167 Array Bound exceeded. CERT ARR30-C
M 131 Procedure contains UR data flow anomalies. : msg CERT EXP33-C
  141    
M 132 Procedure contains UR data flow anomalies. : size CERT EXP33-C
  141    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch-body.c 131 imap-fetch-body.c 141 msg
imap-fetch-body.c 132 imap-fetch-body.c 141 size

[ Top of Report | Procedure Table | Contents ]







fetch_stream
(290 to 308 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 300 Pointer not checked for null before use : input CERT EXP08-C,EXP34-C
  298    


[ Top of Report | Procedure Table | Contents ]







fetch_data
(310 to 341 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 322 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  320    


[ Top of Report | Procedure Table | Contents ]







fetch_body
(343 to 388 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 348 Procedure contains UR data flow anomalies. : body_size.physical_size CERT EXP33-C
  353    
M 348 Procedure contains UR data flow anomalies. : body_size.virtual_size CERT EXP33-C
  352    
M 346 Procedure contains UR data flow anomalies. : fetch_size CERT EXP33-C
  387    
M 348 Procedure contains UR data flow anomalies. : hdr_size.physical_size CERT EXP33-C
  379    
M 347 Procedure contains UR data flow anomalies. : input CERT EXP33-C
  351    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch-body.c 348 imap-fetch-body.c 353 body_size.physical_size
imap-fetch-body.c 348 imap-fetch-body.c 387 body_size.physical_size
imap-fetch-body.c 348 imap-fetch-body.c 352 body_size.virtual_size
imap-fetch-body.c 348 imap-fetch-body.c 387 body_size.virtual_size
imap-fetch-body.c 346 imap-fetch-body.c 387 fetch_size
imap-fetch-body.c 348 imap-fetch-body.c 379 hdr_size.physical_size
imap-fetch-body.c 347 imap-fetch-body.c 351 input
imap-fetch-body.c 347 imap-fetch-body.c 358 input

[ Top of Report | Procedure Table | Contents ]







fetch_header_partial_from
(398 to 440 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 428 Pointer not checked for null before use : input CERT EXP08-C,EXP34-C
  410    
M 402 Procedure contains UR data flow anomalies. : msg_size.physical_size CERT EXP33-C
  439    
M 402 Procedure contains UR data flow anomalies. : msg_size.virtual_size CERT EXP33-C
  439    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch-body.c 402 imap-fetch-body.c 439 msg_size.physical_size
imap-fetch-body.c 402 imap-fetch-body.c 439 msg_size.virtual_size

[ Top of Report | Procedure Table | Contents ]







fetch_body_header_fields
(455 to 488 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 459 Procedure contains UR data flow anomalies. : size.physical_size CERT EXP33-C
  487    
M 459 Procedure contains UR data flow anomalies. : size.virtual_size CERT EXP33-C
  483    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch-body.c 459 imap-fetch-body.c 487 size.physical_size
imap-fetch-body.c 459 imap-fetch-body.c 483 size.virtual_size

[ Top of Report | Procedure Table | Contents ]







part_find
(491 to 538 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 535 Pointer not checked for null before use : part CERT EXP08-C,EXP34-C
  531    
M 519 Pointer not checked for null before use : part CERT EXP08-C,EXP34-C
  517    
M 502 Pointer not checked for null before use : path CERT EXP08-C,EXP34-C
  501    
M 505 Pointer not checked for null before use : path CERT EXP08-C,EXP34-C
  509    


[ Top of Report | Procedure Table | Contents ]







fetch_body_mime
(540 to 609 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 553 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  551    
M 582 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  580    
M 591 Pointer not checked for null before use : part CERT EXP08-C,EXP34-C
  588    
M 598 Pointer not checked for null before use : part CERT EXP08-C,EXP34-C
  588    
M 565 Pointer not checked for null before use : section CERT EXP08-C,EXP34-C
  546    
M 544 Procedure contains UR data flow anomalies. : section CERT EXP33-C
  565    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch-body.c 544 imap-fetch-body.c 565 section

[ Top of Report | Procedure Table | Contents ]







fetch_body_header_fields_init
(633 to 661 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 647 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 647 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 654 Pointer not checked for null before use : hdr CERT EXP08-C,EXP34-C
  653    
M 658 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 658 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 652 Pointer not checked for null before use : arr CERT EXP08-C,EXP34-C
  652    
M 647 Pointer not checked for null before use : name CERT EXP08-C,EXP34-C
  642    
M 658 Pointer not checked for null before use : name CERT EXP08-C,EXP34-C
  642    
M 637 Declaration types do not match across a system. : arr CERT ARR31-C


[ Top of Report | Procedure Table | Contents ]







fetch_body_section_name_init
(663 to 727 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 672 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 672 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 679 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 679 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 688 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 688 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 699 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 699 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 718 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 718 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 672 Pointer not checked for null before use : name CERT EXP08-C,EXP34-C
  668    
M 679 Pointer not checked for null before use : name CERT EXP08-C,EXP34-C
  668    
M 707 Pointer not checked for null before use : section CERT EXP08-C,EXP34-C
  708    
M 697 Pointer not checked for null before use : section CERT EXP08-C,EXP34-C
  694    
M 716 Pointer not checked for null before use : section CERT EXP08-C,EXP34-C
  715    


[ Top of Report | Procedure Table | Contents ]







body_section_build
(749 to 793 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 760 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  759    
M 789 Pointer not checked for null before use : arr CERT EXP08-C,EXP34-C
  788    
M 779 Pointer not checked for null before use : arr CERT EXP08-C,EXP34-C
  776    
M 782 Pointer not checked for null before use : arr CERT EXP08-C,EXP34-C
  776    
M 776 Pointer not checked for null before use : value CERT EXP08-C,EXP34-C
  767    
M 756 Procedure contains UR data flow anomalies. : value CERT EXP33-C
  776    
M 756 Declaration types do not match across a system. : arr CERT ARR31-C


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch-body.c 756 imap-fetch-body.c 776 value

[ Top of Report | Procedure Table | Contents ]







fetch_body_section_init
(795 to 881 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 805 Pointer not checked for null before use : body CERT EXP08-C,EXP34-C
  804    
M 874 Pointer not checked for null before use : partial CERT EXP08-C,EXP34-C
  847    
M 830 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  822    
M 847 Pointer not checked for null before use : p CERT EXP08-C,EXP34-C
  845    
M 880 Pointer not checked for null before use : body.fields CERT EXP08-C,EXP34-C
  828    
M 880 Pointer not checked for null before use : body.fields_count CERT EXP08-C,EXP34-C
  828    
M 800 Procedure contains UR data flow anomalies. : list_count CERT EXP33-C
  828    
M 801 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  823    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch-body.c 800 imap-fetch-body.c 828 list_count
imap-fetch-body.c 801 imap-fetch-body.c 823 str

[ Top of Report | Procedure Table | Contents ]







fetch_rfc822_size
(883 to 893 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 886 Procedure contains UR data flow anomalies. : size CERT EXP33-C
  888    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch-body.c 886 imap-fetch-body.c 888 size

[ Top of Report | Procedure Table | Contents ]







fetch_rfc822
(895 to 925 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 915 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  912    
M 917 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  915    
M 900 Procedure contains UR data flow anomalies. : input CERT EXP33-C
  902    
M 898 Procedure contains UR data flow anomalies. : size.physical_size CERT EXP33-C
  904    
M 898 Procedure contains UR data flow anomalies. : size.virtual_size CERT EXP33-C
  903    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch-body.c 900 imap-fetch-body.c 902 input
imap-fetch-body.c 898 imap-fetch-body.c 904 size.physical_size
imap-fetch-body.c 898 imap-fetch-body.c 924 size.physical_size
imap-fetch-body.c 898 imap-fetch-body.c 903 size.virtual_size

[ Top of Report | Procedure Table | Contents ]







fetch_rfc822_header
(927 to 951 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 942 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  939    
M 944 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  942    
M 930 Procedure contains UR data flow anomalies. : hdr_size.physical_size CERT EXP33-C
  950    
M 930 Procedure contains UR data flow anomalies. : hdr_size.virtual_size CERT EXP33-C
  939    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch-body.c 930 imap-fetch-body.c 950 hdr_size.physical_size
imap-fetch-body.c 930 imap-fetch-body.c 939 hdr_size.virtual_size

[ Top of Report | Procedure Table | Contents ]







fetch_rfc822_text
(953 to 978 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 968 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  965    
M 970 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  968    
M 956 Procedure contains UR data flow anomalies. : body_size.physical_size CERT EXP33-C
  977    
M 956 Procedure contains UR data flow anomalies. : body_size.virtual_size CERT EXP33-C
  965    
M 956 Procedure contains UR data flow anomalies. : hdr_size.physical_size CERT EXP33-C
  973    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch-body.c 956 imap-fetch-body.c 977 body_size.physical_size
imap-fetch-body.c 956 imap-fetch-body.c 965 body_size.virtual_size
imap-fetch-body.c 956 imap-fetch-body.c 973 hdr_size.physical_size

[ Top of Report | Procedure Table | Contents ]







fetch_rfc822_init
(980 to 1015 imap-fetch-body.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 987 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 987 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 987 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 994 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 994 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 994 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 1000 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 1000 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 1000 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 1007 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 1007 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 1007 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







imap_fetch_handlers_register
(34 to 39 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 37 Pointer not checked for null before use : fetch_handlers.v_modifiable CERT EXP08-C,EXP34-C
  26    
M 37 Pointer not checked for null before use : fetch_handlers.v CERT EXP08-C,EXP34-C
  26    
M 37 Pointer not checked for null before use : fetch_handlers.arr.buffer CERT EXP08-C,EXP34-C
  26    


[ Top of Report | Procedure Table | Contents ]







imap_fetch_init_handler
(47 to 65 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 56 Pointer not checked for null before use : lookup_name CERT EXP08-C,EXP34-C
  54    
M 56 Pointer not checked for null before use : lookup_name CERT EXP08-C,EXP34-C
  54    


[ Top of Report | Procedure Table | Contents ]







imap_fetch_init
(67 to 85 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 84 Local structure returned in function result : ctx  
M 74 Pointer not checked for null before use : ctx CERT EXP08-C,EXP34-C
  73    
M 78 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  Ref. Line -1104 (Module 370)    


[ Top of Report | Procedure Table | Contents ]







imap_fetch_add_changed_since
(87 to 102 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 93 Pointer not checked for null before use : search_arg CERT EXP08-C,EXP34-C
  92    
M 101 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







imap_fetch_add_handler
(105 to 147 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 141 Pointer not checked for null before use : h.nil_reply CERT EXP08-C,EXP34-C
  138    
M 143 Pointer not checked for null before use : h.nil_reply CERT EXP08-C,EXP34-C
  138    
M 141 Pointer not checked for null before use : h.name CERT EXP08-C,EXP34-C
  137    
M 143 Pointer not checked for null before use : h.name CERT EXP08-C,EXP34-C
  137    
M 141 Pointer not checked for null before use : h.context CERT EXP08-C,EXP34-C
  134    
M 143 Pointer not checked for null before use : h.context CERT EXP08-C,EXP34-C
  134    


[ Top of Report | Procedure Table | Contents ]







expunges_drop_known
(149 to 169 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 163 Pointer not checked for null before use : seqs CERT EXP08-C,EXP34-C
  156    


[ Top of Report | Procedure Table | Contents ]







get_expunges_fallback
(171 to 259 imap-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 192 Pointer not checked for null before use : search_args CERT EXP08-C,EXP34-C
  191    
M 195 Pointer not checked for null before use : (arr)->buffer CERT EXP08-C,EXP34-C
  194    
M 198 Pointer not checked for null before use : trans CERT EXP08-C,EXP34-C
  197    
M 202 Pointer not checked for null before use : search_ctx CERT EXP08-C,EXP34-C
  199    
M 202 Pointer not checked for null before use : mail CERT EXP08-C,EXP34-C
  198    
M 188 Pointer not checked for null before use : uid_filter CERT EXP08-C,EXP34-C
  185    
M 180 Procedure contains UR data flow anomalies. : status.cache_fields CERT EXP33-C
  245    
M 180 Procedure contains UR data flow anomalies. : status.first_unseen_seq CERT EXP33-C
  245    
M 180 Procedure contains UR data flow anomalies. : status.highest_modseq CERT EXP33-C
  245    
M 180 Procedure contains UR data flow anomalies. : status.keywords CERT EXP33-C
  245    
M 180 Procedure contains UR data flow anomalies. : status.messages CERT EXP33-C
  245    
M 180 Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs CERT EXP33-C
  245    
M 180 Procedure contains UR data flow anomalies. : status.recent CERT EXP33-C
  245    
M 180 Procedure contains UR data flow anomalies. : status.uidnext CERT EXP33-C
  245    
M 180 Procedure contains UR data flow anomalies. : status.uidvalidity CERT EXP33-C
  245    
M 180 Procedure contains UR data flow anomalies. : status.unseen CERT EXP33-C
  245    
M 180 Procedure contains UR data flow anomalies. : status.virtual_size CERT EXP33-C
  245    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch.c 180 imap-fetch.c 245 status.cache_fields
imap-fetch.c 180 imap-fetch.c 245 status.first_unseen_seq
imap-fetch.c 180 imap-fetch.c 245 status.highest_modseq
imap-fetch.c 180 imap-fetch.c 245 status.keywords
imap-fetch.c 180 imap-fetch.c 245 status.messages
imap-fetch.c 180 imap-fetch.c 245 status.nonpermanent_modseqs
imap-fetch.c 180 imap-fetch.c 245 status.recent
imap-fetch.c 180 imap-fetch.c 245 status.uidnext
imap-fetch.c 180 imap-fetch.c 245 status.uidvalidity
imap-fetch.c 180 imap-fetch.c 245 status.unseen
imap-fetch.c 180 imap-fetch.c 245 status.virtual_size

[ Top of Report | Procedure Table | Contents ]







imap_fetch_send_vanished
(271 to 306 imap-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 297 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  296    
M 283 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  Ref. Line -1104 (Module 370)    
M 291 Pointer not checked for null before use : (arr)->buffer CERT EXP08-C,EXP34-C
  284    
M 278 Procedure contains UR data flow anomalies. : expunged_uids.arr.element_size CERT EXP33-C
  286    
M 278 Procedure contains UR data flow anomalies. : expunged_uids.v CERT EXP33-C
  286    
M 279 Procedure contains UR data flow anomalies. : expunged_uids_range.arr.buffer CERT EXP33-C
  286    
M 279 Procedure contains UR data flow anomalies. : expunged_uids_range.arr.element_size CERT EXP33-C
  286    
M 279 Procedure contains UR data flow anomalies. : expunged_uids_range.v CERT EXP33-C
  286    
M 279 Procedure contains UR data flow anomalies. : expunged_uids_range.v_modifiable CERT EXP33-C
  286    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch.c 278 imap-fetch.c 286 expunged_uids.arr.element_size
imap-fetch.c 278 imap-fetch.c 286 expunged_uids.v
imap-fetch.c 279 imap-fetch.c 286 expunged_uids_range.arr.buffer
imap-fetch.c 279 imap-fetch.c 289 expunged_uids_range.arr.buffer
imap-fetch.c 279 imap-fetch.c 286 expunged_uids_range.arr.element_size
imap-fetch.c 279 imap-fetch.c 289 expunged_uids_range.arr.element_size
imap-fetch.c 279 imap-fetch.c 286 expunged_uids_range.v
imap-fetch.c 279 imap-fetch.c 289 expunged_uids_range.v
imap-fetch.c 279 imap-fetch.c 286 expunged_uids_range.v_modifiable
imap-fetch.c 279 imap-fetch.c 289 expunged_uids_range.v_modifiable

[ Top of Report | Procedure Table | Contents ]







imap_fetch_begin
(308 to 355 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 324 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 334 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  333    


[ Top of Report | Procedure Table | Contents ]







imap_fetch_send_nil_reply
(382 to 398 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 390 Pointer not checked for null before use : handler CERT EXP08-C,EXP34-C
  389    


[ Top of Report | Procedure Table | Contents ]







fetch_body
(574 to 594 imap-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 577 Procedure contains UR data flow anomalies. : body CERT EXP33-C
  579    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch.c 577 imap-fetch.c 579 body

[ Top of Report | Procedure Table | Contents ]







fetch_body_init
(596 to 606 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 602 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







fetch_bodystructure
(608 to 630 imap-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 611 Procedure contains UR data flow anomalies. : bodystructure CERT EXP33-C
  613    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch.c 611 imap-fetch.c 613 bodystructure

[ Top of Report | Procedure Table | Contents ]







fetch_bodystructure_init
(632 to 641 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 639 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







fetch_envelope
(643 to 663 imap-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 646 Procedure contains UR data flow anomalies. : envelope CERT EXP33-C
  648    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch.c 646 imap-fetch.c 648 envelope

[ Top of Report | Procedure Table | Contents ]







fetch_envelope_init
(665 to 673 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 671 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







fetch_flags
(675 to 698 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 695 Pointer not checked for null before use : keywords CERT EXP08-C,EXP34-C
  691    


[ Top of Report | Procedure Table | Contents ]







fetch_flags_init
(700 to 708 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 706 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







fetch_internaldate
(710 to 721 imap-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 713 Procedure contains UR data flow anomalies. : date CERT EXP33-C
  715    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch.c 713 imap-fetch.c 715 date

[ Top of Report | Procedure Table | Contents ]







fetch_internaldate_init
(723 to 732 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 730 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







fetch_modseq_init
(747 to 755 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 752 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 753 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







fetch_uid_init
(764 to 770 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 768 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 768 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







fetch_guid
(772 to 784 imap-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 775 Procedure contains UR data flow anomalies. : value CERT EXP33-C
  777    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch.c 775 imap-fetch.c 777 value

[ Top of Report | Procedure Table | Contents ]







fetch_guid_init
(786 to 792 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 790 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







fetch_x_mailbox
(794 to 805 imap-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 797 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  799    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch.c 797 imap-fetch.c 799 str

[ Top of Report | Procedure Table | Contents ]







fetch_x_mailbox_init
(807 to 815 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 812 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 813 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







fetch_x_real_uid_init
(825 to 833 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 830 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 831 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







fetch_x_savedate
(835 to 846 imap-fetch.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 838 Procedure contains UR data flow anomalies. : date CERT EXP33-C
  840    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-fetch.c 838 imap-fetch.c 840 date

[ Top of Report | Procedure Table | Contents ]







fetch_x_savedate_init
(848 to 857 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 855 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







imap_fetch_handlers_init
(875 to 880 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 877 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  Ref. Line -1104 (Module 370)    
M 878 Pointer not checked for null before use : imap_fetch_default_handlers.name CERT EXP08-C,EXP34-C
  859    


[ Top of Report | Procedure Table | Contents ]







imap_fetch_handlers_deinit
(882 to 885 imap-fetch.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 884 Pointer not checked for null before use : fetch_handlers.v_modifiable CERT EXP08-C,EXP34-C
  26    
M 884 Pointer not checked for null before use : fetch_handlers.v CERT EXP08-C,EXP34-C
  26    
M 884 Pointer not checked for null before use : fetch_handlers.arr.buffer CERT EXP08-C,EXP34-C
  26    


[ Top of Report | Procedure Table | Contents ]







imap_id_reply_generate_from_imap_args
(52 to 100 imap-id.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 62 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  61    
M 81 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  80    
M 63 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  63    
M 63 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  68    
M 84 Pointer not checked for null before use : value CERT EXP08-C,EXP34-C
  81    
M 56 Procedure contains UR data flow anomalies. : key CERT EXP33-C
  73    
M 82 Procedure contains UR data flow anomalies. : value CERT EXP33-C
  56    
M 56 Procedure contains UR data flow anomalies. : value CERT EXP33-C
  84    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-id.c 56 imap-id.c 73 key
imap-id.c 82 imap-id.c 88 value
imap-id.c 56 imap-id.c 84 value

[ Top of Report | Procedure Table | Contents ]







imap_id_reply_generate
(102 to 124 imap-id.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 113 Pointer not checked for null before use : input CERT EXP08-C,EXP34-C
  112    
M 115 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







imap_id_args_get_log_reply
(126 to 169 imap-id.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 152 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  148    
M 157 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  148    
M 156 Pointer not checked for null before use : keys CERT EXP08-C,EXP34-C
  140    
M 149 Pointer not checked for null before use : key CERT EXP08-C,EXP34-C
  143    
M 168 Pointer not checked for null before use : reply CERT EXP08-C,EXP34-C
  139    
M 129 Procedure contains UR data flow anomalies. : key CERT EXP33-C
  149    
M 129 Procedure contains UR data flow anomalies. : value CERT EXP33-C
  159    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-id.c 129 imap-id.c 149 key
imap-id.c 129 imap-id.c 159 value

[ Top of Report | Procedure Table | Contents ]







imap_match_init
(37 to 46 imap-match.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 45 Pointer not checked for null before use : patterns CERT EXP08-C,EXP34-C
  44    


[ Top of Report | Procedure Table | Contents ]







pattern_compress
(48 to 75 imap-match.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 73 Pointer not checked for null before use : dest CERT EXP08-C,EXP34-C
  52    
M 70 Pointer not checked for null before use : dest CERT EXP08-C,EXP34-C
  52    


[ Top of Report | Procedure Table | Contents ]







pattern_is_inboxcase
(77 to 109 imap-match.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 100 Pointer not checked for null before use : p CERT EXP08-C,EXP34-C
  100    
M 93 Pointer not checked for null before use : inboxp CERT EXP08-C,EXP34-C
  97    


[ Top of Report | Procedure Table | Contents ]







imap_match_init_multiple_real
(111 to 153 imap-match.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 152 Local structure returned in function result : glob  
M 137 Pointer not checked for null before use : glob CERT EXP08-C,EXP34-C
  135    
M 125 Pointer not checked for null before use : match_patterns CERT EXP08-C,EXP34-C
  120    


[ Top of Report | Procedure Table | Contents ]







imap_match_deinit
(172 to 177 imap-match.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 175 Pointer not checked for null before use : glob.pool CERT EXP08-C,EXP34-C
  174    
M 175 Attempt to read from freed memory. : glob CERT MEM30-C
M 175 Pointer not checked for null before use : glob.patterns CERT EXP08-C,EXP34-C
  174    
M 174 Procedure contains UR data flow anomalies. : glob.patterns CERT EXP33-C


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-match.c 174 imap-match.c 175 glob.patterns

[ Top of Report | Procedure Table | Contents ]







imap_match_dup_real
(179 to 195 imap-match.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 187 Attempt to use already freed object. CERT MEM31-C
M 187 Pointer not checked for null before use : p CERT EXP08-C,EXP34-C
  187    
M 190 Pointer not checked for null before use : (arr)->buffer CERT EXP08-C,EXP34-C
  186    
M 190 Pointer not checked for null before use : (arr)->element_size CERT EXP08-C,EXP34-C
  186    
M 182 Procedure contains UR data flow anomalies. : patterns.arr.buffer CERT EXP33-C
  186    
M 182 Procedure contains UR data flow anomalies. : patterns.arr.element_size CERT EXP33-C
  186    
M 182 Procedure contains UR data flow anomalies. : patterns.v CERT EXP33-C
  186    
M 182 Procedure contains UR data flow anomalies. : patterns.v_modifiable CERT EXP33-C
  186    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-match.c 182 imap-match.c 186 patterns.arr.buffer
imap-match.c 182 imap-match.c 186 patterns.arr.element_size
imap-match.c 182 imap-match.c 186 patterns.v
imap-match.c 182 imap-match.c 186 patterns.v_modifiable

[ Top of Report | Procedure Table | Contents ]







imap_match_globs_equal
(212 to 228 imap-match.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 215 Attempt to use already freed object. CERT MEM31-C
M 216 Attempt to use already freed object. CERT MEM31-C
M 221 Pointer not checked for null before use : p1 CERT EXP08-C,EXP34-C
  221    
M 221 Pointer not checked for null before use : p2 CERT EXP08-C,EXP34-C
  221    


[ Top of Report | Procedure Table | Contents ]







match_sub
(235 to 313 imap-match.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 251 Array Bound exceeded. CERT ARR30-C
M 262 Array Bound exceeded. CERT ARR30-C
M 274 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  275    
M 280 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  292    
M 289 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  282    
M 269 Pointer not checked for null before use : pattern CERT EXP08-C,EXP34-C
  282    
M 262 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  259    
M 272 Pointer not checked for null before use : pattern CERT EXP08-C,EXP34-C
  270    


[ Top of Report | Procedure Table | Contents ]







imap_match_pattern
(315 to 357 imap-match.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 351 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  345    


[ Top of Report | Procedure Table | Contents ]







imap_parser_create
(52 to 68 imap-parser.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 67 Local structure returned in function result : parser  
M 59 Pointer not checked for null before use : parser CERT EXP08-C,EXP34-C
  58    
M 58 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  Ref. Line -1104 (Module 400)    


[ Top of Report | Procedure Table | Contents ]







imap_parser_destroy
(70 to 75 imap-parser.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 73 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  Ref. Line -1104 (Module 400)    


[ Top of Report | Procedure Table | Contents ]







imap_arg_create
(134 to 141 imap-parser.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 140 Local structure returned in function result : arg  
M 139 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  138    


[ Top of Report | Procedure Table | Contents ]







imap_parser_close_list
(154 to 176 imap-parser.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 165 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  164    


[ Top of Report | Procedure Table | Contents ]







imap_parser_save_arg
(178 to 237 imap-parser.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 201 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  184    
M 215 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  184    
M 225 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  184    
M 190 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  184    
M 208 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  202    


[ Top of Report | Procedure Table | Contents ]







imap_parser_read_literal_data
(395 to 444 imap-parser.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 441 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 433 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  419    
M 419 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  406    


[ Top of Report | Procedure Table | Contents ]







imap_parser_read_arg
(448 to 541 imap-parser.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 532 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  527    
M 459 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  453    
M 532 Pointer not checked for null before use : parser.line_size CERT EXP08-C,EXP34-C
  522    
M 532 Pointer not checked for null before use : parser.cur_list CERT EXP08-C,EXP34-C
  488    
M 451 Procedure contains UR data flow anomalies. : data_size CERT EXP33-C
  453    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-parser.c 451 imap-parser.c 453 data_size

[ Top of Report | Procedure Table | Contents ]







finish_line
(548 to 574 imap-parser.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 567 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  566    
M 570 Pointer not checked for null before use : arg CERT EXP08-C,EXP34-C
  569    


[ Top of Report | Procedure Table | Contents ]







imap_parser_get_literal_size
(648 to 658 imap-parser.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 650 Procedure contains UR data flow anomalies. : list CERT EXP33-C
  653    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-parser.c 650 imap-parser.c 653 list

[ Top of Report | Procedure Table | Contents ]







imap_parser_read_last_literal
(660 to 679 imap-parser.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 677 Pointer not checked for null before use : list CERT EXP08-C,EXP34-C
  667    


[ Top of Report | Procedure Table | Contents ]







imap_parser_finish_line
(681 to 698 imap-parser.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 694 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  693    
M 697 Pointer not checked for null before use : parser.line_size CERT EXP08-C,EXP34-C
  689    
M 697 Pointer not checked for null before use : parser.cur_pos CERT EXP08-C,EXP34-C
  689    
M 694 Pointer not checked for null before use : parser.literal_size CERT EXP08-C,EXP34-C
  689    
M 694 Pointer not checked for null before use : parser.literal_nonsync CERT EXP08-C,EXP34-C
  689    
M 694 Pointer not checked for null before use : parser.cur_list CERT EXP08-C,EXP34-C
  689    
M 686 Procedure contains UR data flow anomalies. : data_size CERT EXP33-C
  693    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-parser.c 686 imap-parser.c 693 data_size

[ Top of Report | Procedure Table | Contents ]







imap_parser_read_word
(700 to 720 imap-parser.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 713 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  705    
M 703 Procedure contains UR data flow anomalies. : data_size CERT EXP33-C
  705    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-parser.c 703 imap-parser.c 705 data_size

[ Top of Report | Procedure Table | Contents ]







get_plain_auth
(42 to 53 imap-proxy.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 47 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  46    


[ Top of Report | Procedure Table | Contents ]







proxy_input_banner
(81 to 119 imap-proxy.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 98 Pointer not checked for null before use : capabilities CERT EXP08-C,EXP34-C
  97    
M 99 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  95    
M 114 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  95    
M 112 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  95    


[ Top of Report | Procedure Table | Contents ]







client_send_login_reply
(121 to 154 imap-proxy.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 152 Pointer not checked for null before use : line CERT EXP08-C,EXP34-C
  149    
M 137 Pointer not checked for null before use : capability CERT EXP08-C,EXP34-C
  131    


[ Top of Report | Procedure Table | Contents ]







imap_proxy_parse_line
(156 to 277 imap-proxy.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 182 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  181    
M 205 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  204    
M 206 Pointer not checked for null before use : output CERT EXP08-C,EXP34-C
  203    
M 211 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  210    
M 221 Pointer not checked for null before use : line CERT EXP08-C,EXP34-C
  219    
M 228 Pointer not checked for null before use : line CERT EXP08-C,EXP34-C
  219    
M 186 Pointer not checked for null before use : output CERT EXP08-C,EXP34-C
  164    
M 225 Pointer not checked for null before use : log_line CERT EXP08-C,EXP34-C
  224    


[ Top of Report | Procedure Table | Contents ]







imap_quote
(98 to 117 imap-quote.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 111 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  110    


[ Top of Report | Procedure Table | Contents ]







imap_search_args_build
(39 to 71 imap-search-args.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 54 Pointer not checked for null before use : parser CERT EXP08-C,EXP34-C
  53    
M 45 Procedure contains UR data flow anomalies. : error CERT EXP33-C
  54    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-search-args.c 45 imap-search-args.c 54 error

[ Top of Report | Procedure Table | Contents ]







imap_search_get_msgset_arg
(100 to 119 imap-search-args.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 108 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  107    


[ Top of Report | Procedure Table | Contents ]







imap_search_get_uidset_arg
(121 to 138 imap-search-args.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 128 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  127    


[ Top of Report | Procedure Table | Contents ]







imap_search_get_seqset
(140 to 153 imap-search-args.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 148 Pointer not checked for null before use : search_args_r CERT EXP08-C,EXP34-C
  146    


[ Top of Report | Procedure Table | Contents ]







imap_search_get_searchres
(155 to 179 imap-search-args.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 164 Pointer not checked for null before use : search_args CERT EXP08-C,EXP34-C
  163    


[ Top of Report | Procedure Table | Contents ]







search_parse_return_options
(42 to 110 imap-search.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 58 Pointer not checked for null before use : name CERT EXP08-C,EXP34-C
  56    
M 50 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  57    
M 56 Pointer not checked for null before use : name CERT EXP08-C,EXP34-C
  51    
M 47 Procedure contains UR data flow anomalies. : name CERT EXP33-C
  56    
M 47 Procedure contains UR data flow anomalies. : str CERT EXP33-C
  82    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-search.c 47 imap-search.c 56 name
imap-search.c 47 imap-search.c 82 str

[ Top of Report | Procedure Table | Contents ]







imap_search_result_save
(133 to 160 imap-search.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 145 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  144    
M 157 Pointer not checked for null before use : update CERT EXP08-C,EXP34-C
  156    
M 158 Pointer not checked for null before use : result CERT EXP08-C,EXP34-C
  152    


[ Top of Report | Procedure Table | Contents ]







imap_search_send_result_standard
(162 to 187 imap-search.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 169 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  168    


[ Top of Report | Procedure Table | Contents ]







imap_search_send_partial
(189 to 231 imap-search.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 205 Pointer not checked for null before use : range CERT EXP08-C,EXP34-C
  202    


[ Top of Report | Procedure Table | Contents ]







imap_search_send_result
(233 to 283 imap-search.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 253 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  252    
M 263 Pointer not checked for null before use : range CERT EXP08-C,EXP34-C
  260    


[ Top of Report | Procedure Table | Contents ]







search_add_result_id
(300 to 314 imap-search.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 312 Pointer not checked for null before use : range CERT EXP08-C,EXP34-C
  311    
M 309 Pointer not checked for null before use : range CERT EXP08-C,EXP34-C
  307    


[ Top of Report | Procedure Table | Contents ]







cmd_search_more
(316 to 421 imap-search.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 339 Pointer not checked for null before use : range CERT EXP08-C,EXP34-C
  334    
M 420 Pointer not checked for null before use : ok_reply CERT EXP08-C,EXP34-C
  416    
M 402 Pointer not checked for null before use : ctx.highest_seen_modseq CERT EXP08-C,EXP34-C
  397    
M 321 Procedure contains UR data flow anomalies. : end_time CERT EXP33-C
  408    
M 327 Procedure contains UR data flow anomalies. : tryagain CERT EXP33-C
  346    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-search.c 321 imap-search.c 408 end_time
imap-search.c 327 imap-search.c 346 tryagain

[ Top of Report | Procedure Table | Contents ]







cmd_search_more_callback
(423 to 442 imap-search.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 439 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 436 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  435    
M 439 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  436    
M 441 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  436    


[ Top of Report | Procedure Table | Contents ]







wanted_fields_get
(476 to 516 imap-search.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 484 Procedure contains UR data flow anomalies. : wanted_headers CERT EXP33-C
  524    


[ Top of Report | Procedure Table | Contents ]







imap_search_start
(518 to 557 imap-search.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 540 Pointer not checked for null before use : wanted_headers CERT EXP08-C,EXP34-C
  534    
M 524 Procedure contains UR data flow anomalies. : wanted_headers CERT EXP33-C
  534    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-search.c 524 imap-search.c 534 wanted_headers
imap-search.c 484 imap-search.c 540 wanted_headers

[ Top of Report | Procedure Table | Contents ]







imap_seq_set_parse
(71 to 86 imap-seqset.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 81 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  76    
M 73 Procedure contains UR data flow anomalies. : seq1 CERT EXP33-C
  78    
M 73 Procedure contains UR data flow anomalies. : seq2 CERT EXP33-C
  78    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-seqset.c 73 imap-seqset.c 78 seq1
imap-seqset.c 73 imap-seqset.c 78 seq2

[ Top of Report | Procedure Table | Contents ]







imap_settings_parse_workarounds
(124 to 149 imap-settings.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 135 Pointer not checked for null before use : list CERT EXP08-C,EXP34-C
  134    
M 133 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  132    


[ Top of Report | Procedure Table | Contents ]







imap_status_parse_items
(9 to 57 imap-status.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 32 Pointer not checked for null before use : item CERT EXP08-C,EXP34-C
  31    
M 23 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  23    
M 55 Pointer not checked for null before use : items_r CERT EXP08-C,EXP34-C
  21    
M 31 Pointer not checked for null before use : item CERT EXP08-C,EXP34-C
  24    
M 13 Procedure contains UR data flow anomalies. : item CERT EXP33-C
  31    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-status.c 13 imap-status.c 31 item

[ Top of Report | Procedure Table | Contents ]







imap_status_get
(59 to 102 imap-status.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 96 Pointer not checked for null before use : storage CERT EXP08-C,EXP34-C
  94    
M 79 Pointer not checked for null before use : box CERT EXP08-C,EXP34-C
  75    
M 85 Pointer not checked for null before use : box CERT EXP08-C,EXP34-C
  72    
M 66 Procedure contains UR data flow anomalies. : error CERT EXP33-C
  96    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-status.c 66 imap-status.c 96 error

[ Top of Report | Procedure Table | Contents ]







imap_status_send
(104 to 146 imap-status.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 113 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  112    


[ Top of Report | Procedure Table | Contents ]







uids_to_seqs
(45 to 68 imap-sync.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 65 Pointer not checked for null before use : (arr)->buffer CERT EXP08-C,EXP34-C
  52    
M 50 Procedure contains UR data flow anomalies. : seq1 CERT EXP33-C
  54    
M 50 Procedure contains UR data flow anomalies. : seq2 CERT EXP33-C
  54    
M 48 Procedure contains UR data flow anomalies. : seqs.arr.buffer CERT EXP33-C
  61    
M 48 Procedure contains UR data flow anomalies. : seqs.arr.element_size CERT EXP33-C
  61    
M 48 Procedure contains UR data flow anomalies. : seqs.v CERT EXP33-C
  61    
M 48 Procedure contains UR data flow anomalies. : seqs.v_modifiable CERT EXP33-C
  61    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-sync.c 50 imap-sync.c 54 seq1
imap-sync.c 50 imap-sync.c 54 seq2
imap-sync.c 48 imap-sync.c 61 seqs.arr.buffer
imap-sync.c 48 imap-sync.c 61 seqs.arr.element_size
imap-sync.c 48 imap-sync.c 61 seqs.v
imap-sync.c 48 imap-sync.c 61 seqs.v_modifiable

[ Top of Report | Procedure Table | Contents ]







imap_sync_send_search_update
(70 to 106 imap-sync.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 83 Pointer not checked for null before use : cmd CERT EXP08-C,EXP34-C
  82    


[ Top of Report | Procedure Table | Contents ]







imap_sync_init
(125 to 160 imap-sync.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 159 Local structure returned in function result : ctx  
M 134 Pointer not checked for null before use : ctx CERT EXP08-C,EXP34-C
  133    


[ Top of Report | Procedure Table | Contents ]







imap_sync_deinit
(210 to 272 imap-sync.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 229 Attempt to use already freed object. CERT MEM31-C
M 233 Attempt to use already freed object. CERT MEM31-C
M 240 Attempt to use already freed object. CERT MEM31-C
M 241 Attempt to use already freed object. CERT MEM31-C
M 244 Attempt to use already freed object. CERT MEM31-C
M 249 Attempt to use already freed object. CERT MEM31-C
M 260 Attempt to use already freed object. CERT MEM31-C
M 264 Attempt to use already freed object. CERT MEM31-C
M 265 Attempt to use already freed object. CERT MEM31-C
M 266 Attempt to use already freed object. CERT MEM31-C
M 269 Attempt to use already freed object. CERT MEM31-C
M 270 Attempt to use already freed object. CERT MEM31-C
M 214 Procedure contains UR data flow anomalies. : status.cache_fields CERT EXP33-C
  229    
M 214 Procedure contains UR data flow anomalies. : status.first_unseen_seq CERT EXP33-C
  229    
M 214 Procedure contains UR data flow anomalies. : status.highest_modseq CERT EXP33-C
  229    
M 214 Procedure contains UR data flow anomalies. : status.keywords CERT EXP33-C
  229    
M 214 Procedure contains UR data flow anomalies. : status.messages CERT EXP33-C
  229    
M 214 Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs CERT EXP33-C
  229    
M 214 Procedure contains UR data flow anomalies. : status.recent CERT EXP33-C
  229    
M 214 Procedure contains UR data flow anomalies. : status.uidnext CERT EXP33-C
  229    
M 214 Procedure contains UR data flow anomalies. : status.uidvalidity CERT EXP33-C
  229    
M 214 Procedure contains UR data flow anomalies. : status.unseen CERT EXP33-C
  229    
M 214 Procedure contains UR data flow anomalies. : status.virtual_size CERT EXP33-C
  229    
M 215 Procedure contains UR data flow anomalies. : sync_status.sync_delayed_expunges CERT EXP33-C
  260    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-sync.c 214 imap-sync.c 229 status.cache_fields
imap-sync.c 214 imap-sync.c 229 status.first_unseen_seq
imap-sync.c 214 imap-sync.c 229 status.highest_modseq
imap-sync.c 214 imap-sync.c 229 status.keywords
imap-sync.c 214 imap-sync.c 229 status.messages
imap-sync.c 214 imap-sync.c 229 status.nonpermanent_modseqs
imap-sync.c 214 imap-sync.c 229 status.recent
imap-sync.c 214 imap-sync.c 229 status.uidnext
imap-sync.c 214 imap-sync.c 229 status.uidvalidity
imap-sync.c 214 imap-sync.c 229 status.unseen
imap-sync.c 214 imap-sync.c 229 status.virtual_size
imap-sync.c 215 imap-sync.c 260 sync_status.sync_delayed_expunges

[ Top of Report | Procedure Table | Contents ]







imap_sync_send_flags
(284 to 310 imap-sync.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 307 Pointer not checked for null before use : keywords CERT EXP08-C,EXP34-C
  291    


[ Top of Report | Procedure Table | Contents ]







imap_sync_vanished
(325 to 370 imap-sync.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 339 Pointer not checked for null before use : line CERT EXP08-C,EXP34-C
  338    
M 342 Pointer not checked for null before use : seqs CERT EXP08-C,EXP34-C
  334    


[ Top of Report | Procedure Table | Contents ]







imap_sync_more
(372 to 478 imap-sync.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 416 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  381    


[ Top of Report | Procedure Table | Contents ]







cmd_sync_continue
(502 to 539 imap-sync.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 531 Pointer not checked for null before use : prev CERT EXP08-C,EXP34-C
  529    
M 527 Pointer not checked for null before use : cmd CERT EXP08-C,EXP34-C
  527    
M 517 Pointer not checked for null before use : ctx.messages_count CERT EXP08-C,EXP34-C
  511    
M 535 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  517    
M 538 Pointer not checked for null before use : sync_cmd.(sync)->tagline CERT EXP08-C,EXP34-C
  517    


[ Top of Report | Procedure Table | Contents ]







get_common_sync_flags
(541 to 568 imap-sync.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 565 Pointer not checked for null before use : flags_r CERT EXP08-C,EXP34-C
  558    


[ Top of Report | Procedure Table | Contents ]







cmd_sync_client
(570 to 608 imap-sync.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 605 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  600    
M 593 Pointer not checked for null before use : ctx CERT EXP08-C,EXP34-C
  592    
M 606 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  605    


[ Top of Report | Procedure Table | Contents ]







cmd_sync
(646 to 650 imap-sync.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 649 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







cmd_sync_callback
(652 to 658 imap-sync.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 657 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







cmd_sync_drop_fast
(660 to 681 imap-sync.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 672 Pointer not checked for null before use : prev CERT EXP08-C,EXP34-C
  670    
M 668 Pointer not checked for null before use : cmd CERT EXP08-C,EXP34-C
  668    


[ Top of Report | Procedure Table | Contents ]







cmd_sync_delayed
(683 to 728 imap-sync.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 722 Pointer not checked for null before use : first_nonexpunge CERT EXP08-C,EXP34-C
  698    
M 722 Pointer not checked for null before use : first_expunge CERT EXP08-C,EXP34-C
  720    
M 727 Pointer not checked for null before use : cmd CERT EXP08-C,EXP34-C
  722    
M 698 Procedure contains UR data flow anomalies. : first_nonexpunge CERT EXP33-C
  685    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-sync.c 698 imap-sync.c 711 first_nonexpunge
imap-sync.c 698 imap-sync.c 722 first_nonexpunge

[ Top of Report | Procedure Table | Contents ]







mbase64_encode
(31 to 56 imap-utf7.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 36 Pointer not checked for null before use : in CERT EXP08-C,EXP34-C
  42    


[ Top of Report | Procedure Table | Contents ]







imap_utf8_to_utf7
(58 to 111 imap-utf7.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 90 Pointer not checked for null before use : utf16 CERT EXP08-C,EXP34-C
  77    
M 108 Pointer not checked for null before use : u CERT EXP08-C,EXP34-C
  90    
M 61 Procedure contains UR data flow anomalies. : chr CERT EXP33-C
  92    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-utf7.c 61 imap-utf7.c 92 chr

[ Top of Report | Procedure Table | Contents ]







mbase64_decode_to_utf8
(150 to 209 imap-utf7.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 156 Pointer not checked for null before use : src CERT EXP08-C,EXP34-C
  198    
M 207 Pointer not checked for null before use : src CERT EXP08-C,EXP34-C
  173    
M 153 Procedure contains UR data flow anomalies. : output CERT EXP33-C
  201    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
imap-utf7.c 153 imap-utf7.c 201 output

[ Top of Report | Procedure Table | Contents ]







imap_utf7_to_utf8
(211 to 249 imap-utf7.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 235 Pointer not checked for null before use : p CERT EXP08-C,EXP34-C
  233    
M 237 Pointer not checked for null before use : p CERT EXP08-C,EXP34-C
  233    


[ Top of Report | Procedure Table | Contents ]







imap_write_seq_range
(61 to 74 imap-util.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 70 Pointer not checked for null before use : range CERT EXP08-C,EXP34-C
  66    


[ Top of Report | Procedure Table | Contents ]







imap_write_args
(76 to 120 imap-util.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 80 Pointer not checked for null before use : args CERT EXP08-C,EXP34-C
  80    
M 101 Pointer not checked for null before use : strarg CERT EXP08-C,EXP34-C
  99    


[ Top of Report | Procedure Table | Contents ]







imap_args_to_str
(122 to 129 imap-util.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 127 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  126    


[ Top of Report | Procedure Table | Contents ]







login_proxy_state_init
(39 to 51 login-proxy-state.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 50 Local structure returned in function result : state  
M 44 Pointer not checked for null before use : state CERT EXP08-C,EXP34-C
  43    
M 45 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  Ref. Line -1104 (Module 766)    


[ Top of Report | Procedure Table | Contents ]







login_proxy_state_get
(68 to 86 login-proxy-state.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 85 Local structure returned in function result : rec  
M 81 Pointer not checked for null before use : rec CERT EXP08-C,EXP34-C
  80    


[ Top of Report | Procedure Table | Contents ]







login_proxy_state_notify
(102 to 129 login-proxy-state.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 117 Pointer not checked for null before use : cmd CERT EXP08-C,EXP34-C
  116    


[ Top of Report | Procedure Table | Contents ]







server_input
(53 to 70 login-proxy.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 55 Procedure contains UR data flow anomalies. : buf CERT EXP33-C
  67    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
login-proxy.c 55 login-proxy.c 67 buf

[ Top of Report | Procedure Table | Contents ]







proxy_client_input
(72 to 89 login-proxy.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 74 Procedure contains UR data flow anomalies. : buf CERT EXP33-C
  86    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
login-proxy.c 74 login-proxy.c 86 buf

[ Top of Report | Procedure Table | Contents ]







login_proxy_connect
(197 to 226 login-proxy.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 202 Pointer not checked for null before use : rec CERT EXP08-C,EXP34-C
  201    
M 201 Pointer not checked for null before use : proxy_state CERT EXP08-C,EXP34-C
  50    


[ Top of Report | Procedure Table | Contents ]







login_proxy_new
(248 to 290 login-proxy.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 263 Pointer not checked for null before use : proxy CERT EXP08-C,EXP34-C
  262    
M 287 Pointer not checked for null before use : proxy CERT EXP08-C,EXP34-C
  283    


[ Top of Report | Procedure Table | Contents ]







login_proxy_free
(292 to 353 login-proxy.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 326 Pointer not checked for null before use : ipstr CERT EXP08-C,EXP34-C
  325    
M 349 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  348    
M 349 Attempt to read from freed memory. : default_pool CERT MEM30-C
M 349 Pointer not checked for null before use : (proxy)->host CERT EXP08-C,EXP34-C
  348    
M 352 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  349    
M 352 Attempt to read from freed memory. : default_pool CERT MEM30-C
M 323 Procedure contains UR data flow anomalies. : proxy.next CERT EXP33-C
M 323 Procedure contains UR data flow anomalies. : proxy.prev CERT EXP33-C


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
login-proxy.c 323 login-proxy.c 349 proxy.next
login-proxy.c 323 login-proxy.c 349 proxy.prev

[ Top of Report | Procedure Table | Contents ]







login_proxy_notify
(397 to 400 login-proxy.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 399 Pointer not checked for null before use : proxy_state CERT EXP08-C,EXP34-C
  50    


[ Top of Report | Procedure Table | Contents ]







login_proxy_detach
(402 to 444 login-proxy.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 421 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  419    
M 406 Procedure contains UR data flow anomalies. : size CERT EXP33-C
  419    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
login-proxy.c 406 login-proxy.c 419 size

[ Top of Report | Procedure Table | Contents ]







login_proxy_kill_idle
(500 to 519 login-proxy.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 507 Pointer not checked for null before use : login_proxies CERT EXP08-C,EXP34-C
  51    
M 507 Pointer not checked for null before use : next CERT EXP08-C,EXP34-C
  508    
M 515 Pointer not checked for null before use : next CERT EXP08-C,EXP34-C
  508    
M 508 Pointer not checked for null before use : login_proxies CERT EXP08-C,EXP34-C
  511    


[ Top of Report | Procedure Table | Contents ]







login_proxy_deinit
(526 to 535 login-proxy.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 532 Pointer not checked for null before use : proxy CERT EXP08-C,EXP34-C
  531    
M 534 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  532    


[ Top of Report | Procedure Table | Contents ]







login_set_var_expand_table
(157 to 177 login-settings.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 170 Pointer not checked for null before use : tab CERT EXP08-C,EXP34-C
  169    
M 172 Pointer not checked for null before use : tab CERT EXP08-C,EXP34-C
  170    
M 174 Pointer not checked for null before use : my_pid CERT EXP08-C,EXP34-C
  Ref. Line -1687 (Module 768)    


[ Top of Report | Procedure Table | Contents ]







login_settings_read
(179 to 232 login-settings.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 194 Pointer not checked for null before use : input CERT EXP08-C,EXP34-C
  193    
M 220 Pointer not checked for null before use : sets CERT EXP08-C,EXP34-C
  219    
M 194 Pointer not checked for null before use : login_set_roots CERT EXP08-C,EXP34-C
  Ref. Line -1609 (Module 768)    
M 195 Pointer not checked for null before use : login_binary.process_name CERT EXP08-C,EXP34-C
  27 (login-common.h)    
M 196 Pointer not checked for null before use : login_binary.protocol CERT EXP08-C,EXP34-C
  27 (login-common.h)    
M 228 Pointer not checked for null before use : input.remote_ip CERT EXP08-C,EXP34-C
  202    
M 228 Pointer not checked for null before use : input.local_ip CERT EXP08-C,EXP34-C
  200    
M 205 Pointer not checked for null before use : input.service CERT EXP08-C,EXP34-C
  196    
M 205 Pointer not checked for null before use : input.module CERT EXP08-C,EXP34-C
  195    
M 227 Pointer not checked for null before use : sets CERT EXP08-C,EXP34-C
  217    
M 210 Pointer not checked for null before use : set_cache CERT EXP08-C,EXP34-C
  205    
M 187 Procedure contains UR data flow anomalies. : error CERT EXP33-C
  210    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
login-settings.c 187 login-settings.c 210 error

[ Top of Report | Procedure Table | Contents ]







notify_ok
(8 to 23 mail-storage-callbacks.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 20 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  19    


[ Top of Report | Procedure Table | Contents ]







notify_no
(25 to 40 mail-storage-callbacks.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 37 Pointer not checked for null before use : str CERT EXP08-C,EXP34-C
  36    


[ Top of Report | Procedure Table | Contents ]







imap_refresh_proctitle
(37 to 75 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 54 Pointer not checked for null before use : client CERT EXP08-C,EXP34-C
  53    
M 47 Pointer not checked for null before use : title CERT EXP08-C,EXP34-C
  42    


[ Top of Report | Procedure Table | Contents ]







imap_die
(86 to 106 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 96 Pointer not checked for null before use : next CERT EXP08-C,EXP34-C
  94    
C 86 Procedure not called in code analysed : imap_die  


[ Top of Report | Procedure Table | Contents ]







client_parse_input
(116 to 137 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 130 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  128    
M 127 Pointer not checked for null before use : input_r CERT EXP08-C,EXP34-C
  124    
M 130 Pointer not checked for null before use : input_r CERT EXP08-C,EXP34-C
  124    


[ Top of Report | Procedure Table | Contents ]







client_add_input
(139 to 179 main.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 153 Pointer not checked for null before use : input CERT EXP08-C,EXP34-C
  152    
M 157 Pointer not checked for null before use : output CERT EXP08-C,EXP34-C
  156    
M 147 Pointer not checked for null before use : input.input CERT EXP08-C,EXP34-C
  145    
M 142 Procedure contains UR data flow anomalies. : input.input CERT EXP33-C
  147    
M 142 Procedure contains UR data flow anomalies. : input.input_size CERT EXP33-C
  146    
M 142 Procedure contains UR data flow anomalies. : input.send_untagged_capability CERT EXP33-C
  164    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
main.c 142 main.c 147 input.input
main.c 142 main.c 146 input.input_size
main.c 142 main.c 164 input.send_untagged_capability

[ Top of Report | Procedure Table | Contents ]







client_create_from_input
(181 to 211 main.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 199 Pointer not checked for null before use : set CERT EXP08-C,EXP34-C
  198    
M 204 Pointer not checked for null before use : client CERT EXP08-C,EXP34-C
  202    
M 188 Procedure contains UR data flow anomalies. : mail_user CERT EXP33-C
  193    
M 187 Procedure contains UR data flow anomalies. : user CERT EXP33-C
  193    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
main.c 188 main.c 193 mail_user
main.c 187 main.c 193 user

[ Top of Report | Procedure Table | Contents ]







main_stdio_run
(213 to 238 main.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 232 Pointer not checked for null before use : input_base64 CERT EXP08-C,EXP34-C
  231    
M 235 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 235 Pointer not checked for null before use : input.userdb_fields CERT EXP08-C,EXP34-C
  219    
M 235 Pointer not checked for null before use : input.module CERT EXP08-C,EXP34-C
  220    
M 216 Procedure contains UR data flow anomalies. : error CERT EXP33-C
  235    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
main.c 216 main.c 235 error

[ Top of Report | Procedure Table | Contents ]







login_client_connected
(240 to 263 main.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 257 Pointer not checked for null before use : input.userdb_fields CERT EXP08-C,EXP34-C
  253    
M 257 Pointer not checked for null before use : input.username CERT EXP08-C,EXP34-C
  252    
M 257 Pointer not checked for null before use : input.module CERT EXP08-C,EXP34-C
  249    
M 245 Procedure contains UR data flow anomalies. : error CERT EXP33-C
  257    
M 246 Procedure contains UR data flow anomalies. : input_buf.data CERT EXP33-C
  255    
M 246 Procedure contains UR data flow anomalies. : input_buf.priv CERT EXP33-C
  255    
M 246 Procedure contains UR data flow anomalies. : input_buf.used CERT EXP33-C
  255    
C 240 Procedure not called in code analysed : login_client_connected  


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
main.c 245 main.c 257 error
main.c 246 main.c 255 input_buf.data
main.c 246 main.c 255 input_buf.priv
main.c 246 main.c 255 input_buf.used

[ Top of Report | Procedure Table | Contents ]







login_client_failed
(265 to 277 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 274 Pointer not checked for null before use : msg CERT EXP08-C,EXP34-C
  272    
C 265 Procedure not called in code analysed : login_client_failed  


[ Top of Report | Procedure Table | Contents ]







client_connected
(279 to 287 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
C 279 Procedure not called in code analysed : client_connected  


[ Top of Report | Procedure Table | Contents ]







main
(289 to 371 main.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 336 Attempt to read from freed memory. : default_pool CERT MEM30-C
M 348 Pointer not checked for null before use : storage_service CERT EXP08-C,EXP34-C
  338    
M 364 Pointer not checked for null before use : storage_service CERT EXP08-C,EXP34-C
  338    
M 351 Pointer not checked for null before use : postlogin_socket_path CERT EXP08-C,EXP34-C
  329    
M 348 Pointer not checked for null before use : username CERT EXP08-C,EXP34-C
  323    
M 360 Procedure contains UR data flow anomalies. : (default_pool)->v CERT EXP33-C
M 336 Procedure contains UR data flow anomalies. : fetch_handlers.arr.buffer CERT EXP33-C
  26 (imap-fetch.c)    
M 336 Procedure contains UR data flow anomalies. : fetch_handlers.arr.element_size CERT EXP33-C
  26 (imap-fetch.c)    
M 336 Procedure contains UR data flow anomalies. : fetch_handlers.v CERT EXP33-C
  26 (imap-fetch.c)    
M 336 Procedure contains UR data flow anomalies. : fetch_handlers.v_modifiable CERT EXP33-C
  26 (imap-fetch.c)    
M 348 Procedure contains UR data flow anomalies. : my_pid CERT EXP33-C
  45 (seq-range-array.h)    
M 360 Procedure contains UR data flow anomalies. : my_pid CERT EXP33-C
  45 (seq-range-array.h)    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
[external declaration]   main.c 360 (default_pool)->v
ioloop.h 41 main.c 344 current_ioloop
[external declaration]   main.c 336 fetch_handlers.arr.buffer
[external declaration]   main.c 336 fetch_handlers.arr.element_size
[external declaration]   main.c 336 fetch_handlers.v
[external declaration]   main.c 336 fetch_handlers.v_modifiable
[external declaration]   main.c 360 imap_clients.prev
imap-commands.h 43 main.c 335 imap_commands.arr.buffer
imap-commands.h 43 main.c 335 imap_commands.arr.element_size
imap-commands.h 43 main.c 335 imap_commands.v
imap-commands.h 43 main.c 335 imap_commands.v_modifiable
ioloop.h 38 main.c 348 ioloop_time
[external declaration]   main.c 348 my_pid
[external declaration]   main.c 360 my_pid

[ Top of Report | Procedure Table | Contents ]







auth_client_idle_timeout
(69 to 73 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
C 69 Procedure not called in code analysed : auth_client_idle_timeout  


[ Top of Report | Procedure Table | Contents ]







login_die
(84 to 93 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 91 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  87    
C 84 Procedure not called in code analysed : login_die  


[ Top of Report | Procedure Table | Contents ]







client_connected_finish
(95 to 141 main.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 113 Pointer not checked for null before use : pool CERT EXP08-C,EXP34-C
  112    
M 113 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 131 Pointer not checked for null before use : client CERT EXP08-C,EXP34-C
  129    
M 136 Pointer not checked for null before use : client CERT EXP08-C,EXP34-C
  117    
M 117 Pointer not checked for null before use : set CERT EXP08-C,EXP34-C
  113    
M 129 Pointer not checked for null before use : set CERT EXP08-C,EXP34-C
  113    
M 117 Pointer not checked for null before use : other_sets CERT EXP08-C,EXP34-C
  113    
M 129 Pointer not checked for null before use : other_sets CERT EXP08-C,EXP34-C
  113    
M 100 Procedure contains UR data flow anomalies. : local_ip.family CERT EXP33-C
  113    
M 100 Procedure contains UR data flow anomalies. : local_ip.u.ip4 CERT EXP33-C
  113    
M 100 Procedure contains UR data flow anomalies. : local_ip.u.ip6 CERT EXP33-C
  113    
M 102 Procedure contains UR data flow anomalies. : local_port CERT EXP33-C
  107    
M 99 Procedure contains UR data flow anomalies. : proxy CERT EXP33-C
  120    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
main.c 100 main.c 113 local_ip.family
main.c 100 main.c 113 local_ip.u.ip4
main.c 100 main.c 113 local_ip.u.ip6
main.c 102 main.c 107 local_port
main.c 99 main.c 120 proxy

[ Top of Report | Procedure Table | Contents ]







login_access_lookup_free
(143 to 157 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 155 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  148    


[ Top of Report | Procedure Table | Contents ]







login_access_callback
(159 to 172 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
C 159 Procedure not called in code analysed : login_access_callback  


[ Top of Report | Procedure Table | Contents ]







client_input_error
(192 to 207 main.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 194 Procedure contains UR data flow anomalies. : c CERT EXP33-C
  197    
C 192 Procedure not called in code analysed : client_input_error  


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
main.c 194 main.c 197 c

[ Top of Report | Procedure Table | Contents ]







client_connected
(209 to 233 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 227 Pointer not checked for null before use : lookup CERT EXP08-C,EXP34-C
  226    
C 209 Procedure not called in code analysed : client_connected  


[ Top of Report | Procedure Table | Contents ]







auth_connect_notify
(235 to 242 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
C 235 Procedure not called in code analysed : auth_connect_notify  


[ Top of Report | Procedure Table | Contents ]







anvil_reconnect_callback
(244 to 248 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
C 244 Procedure not called in code analysed : anvil_reconnect_callback  


[ Top of Report | Procedure Table | Contents ]







main_preinit
(250 to 287 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 280 Pointer not checked for null before use : anvil CERT EXP08-C,EXP34-C
  279    


[ Top of Report | Procedure Table | Contents ]







main_deinit
(312 to 326 main.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 317 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  315    


[ Top of Report | Procedure Table | Contents ]







main
(328 to 376 main.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 361 Pointer not checked for null before use : set_pool CERT EXP08-C,EXP34-C
  360    
M 361 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 368 Pointer not checked for null before use : global_login_settings CERT EXP08-C,EXP34-C
  361    
M 369 Attempt to read from freed memory. : default_pool CERT MEM30-C
M 361 Pointer not checked for null before use : login_setting_parser_info.module_name CERT EXP08-C,EXP34-C
  Ref. Line 1 (main.c)    
M 369 Pointer not checked for null before use : login_socket CERT EXP08-C,EXP34-C
  356    
M 361 Procedure contains UR data flow anomalies. : my_pid CERT EXP33-C
  8 (ioloop.h)    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
login-common.h 31 main.c 372 anvil
main.c 42 main.c 372 auth_client_to
ioloop.h 41 main.c 368 current_ioloop
[external declaration]   main.c 372 imap_clients.prev
ioloop.h 38 main.c 372 ioloop_time
[external declaration]   main.c 361 my_pid

[ Top of Report | Procedure Table | Contents ]







master_auth_callback
(88 to 109 sasl-server.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 108 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







master_send_request
(111 to 140 sasl-server.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 131 Pointer not checked for null before use : buf CERT EXP08-C,EXP34-C
  130    
M 135 Pointer not checked for null before use : data CERT EXP08-C,EXP34-C
  134    
M 116 Procedure contains UR data flow anomalies. : size CERT EXP33-C
  134    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
sasl-server.c 116 sasl-server.c 134 size

[ Top of Report | Procedure Table | Contents ]







anvil_lookup_callback
(142 to 161 sasl-server.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 157 Pointer not checked for null before use : errmsg CERT EXP08-C,EXP34-C
  155    
M 157 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







anvil_check_too_many_connections
(163 to 191 sasl-server.c) - FAIL

Standards Violation Summary

Code Violation Standard
M Procedure contains UR data flow anomalies. CERT EXP33-C

Code Line Violation Standard
M 176 Sizeof argument is a pointer. CERT EXP01-C
M 172 Pointer not checked for null before use : req CERT EXP08-C,EXP34-C
  171    
M 178 Pointer not checked for null before use : cookie CERT EXP08-C,EXP34-C
  177    
M 183 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 190 Pointer not checked for null before use : query CERT EXP08-C,EXP34-C
  187    
M 171 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  Ref. Line -1104 (Module 770)    
M 169 Procedure contains UR data flow anomalies. : buf.data CERT EXP33-C
  179    
M 169 Procedure contains UR data flow anomalies. : buf.priv CERT EXP33-C
  176    
M 169 Procedure contains UR data flow anomalies. : buf.used CERT EXP33-C
  179    


Possible UR Anomalies

The following variables may be referenced before being given a value

File Undefine File Reference Variable
sasl-server.c 169 sasl-server.c 179 buf.data
sasl-server.c 169 sasl-server.c 176 buf.priv
sasl-server.c 169 sasl-server.c 179 buf.used

[ Top of Report | Procedure Table | Contents ]







authenticate_callback
(193 to 258 sasl-server.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 233 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 254 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 236 Pointer not checked for null before use : default_pool CERT EXP08-C,EXP34-C
  221    
M 246 Attempt to read from freed memory. : default_pool CERT MEM30-C
M 236 Attempt to read from freed memory. : default_pool CERT MEM30-C


[ Top of Report | Procedure Table | Contents ]







sasl_server_auth_begin
(260 to 307 sasl-server.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 304 Pointer not checked for null before use : info.initial_resp_base64 CERT EXP08-C,EXP34-C
  302    
M 304 Pointer not checked for null before use : info.cert_username CERT EXP08-C,EXP34-C
  295    
M 304 Pointer not checked for null before use : info.service CERT EXP08-C,EXP34-C
  294    
M 304 Pointer not checked for null before use : info.mech CERT EXP08-C,EXP34-C
  293    
M 279 Pointer not checked for null before use : (client)->auth_mech_name CERT EXP08-C,EXP34-C
  273    
M 287 Pointer not checked for null before use : (client)->auth_mech_name CERT EXP08-C,EXP34-C
  273    


[ Top of Report | Procedure Table | Contents ]







sasl_server_auth_cancel
(309 to 326 sasl-server.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 317 Pointer not checked for null before use : auth_name CERT EXP08-C,EXP34-C
  315    
M 325 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







sasl_server_auth_abort
(333 to 337 sasl-server.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 336 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C


[ Top of Report | Procedure Table | Contents ]







test_imap_match
(13 to 89 test-imap-match.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 69 Pointer not checked for null before use : test.input CERT EXP08-C,EXP34-C
  62    
M 62 Pointer not checked for null before use : test.input CERT EXP08-C,EXP34-C
  69    
M 84 Pointer not checked for null before use : inbox_test.input CERT EXP08-C,EXP34-C
  77    
M 77 Pointer not checked for null before use : inbox_test.input CERT EXP08-C,EXP34-C
  84    
M 60 Pointer not checked for null before use : pool CERT EXP08-C,EXP34-C
  55    
M 85 Pointer not checked for null before use : glob2.pool CERT EXP08-C,EXP34-C
  79    
C 13 Procedure not called in code analysed : test_imap_match  


[ Top of Report | Procedure Table | Contents ]







test_imap_match_globs_equal
(91 to 117 test-imap-match.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 99 Pointer not checked for null before use : pool CERT EXP08-C,EXP34-C
  96    
C 91 Procedure not called in code analysed : test_imap_match_globs_equal  


[ Top of Report | Procedure Table | Contents ]







test_imap_parser_crlf
(8 to 50 test-imap-parser.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 19 Pointer not checked for null before use : input CERT EXP08-C,EXP34-C
  18    
M 19 Pointer not checked for null before use : NULL CERT EXP08-C,EXP34-C
M 34 Pointer not checked for null before use : parser CERT EXP08-C,EXP34-C
  19    
C 8 Procedure not called in code analysed : test_imap_parser_crlf  


[ Top of Report | Procedure Table | Contents ]







test_imap_utf7
(9 to 95 test-imap-utf7.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
M 73 Pointer not checked for null before use : orig_src CERT EXP08-C,EXP34-C
  70    
M 33 Pointer not checked for null before use : dest CERT EXP08-C,EXP34-C
  30    
M 60 Pointer not checked for null before use : src CERT EXP08-C,EXP34-C
  29    
C 9 Procedure not called in code analysed : test_imap_utf7  


[ Top of Report | Procedure Table | Contents ]







test_imap_parse_system_flag
(8 to 22 test-imap-util.c) - FAIL

Standards Violation Summary

Code Line Violation Standard
C 8 Procedure not called in code analysed : test_imap_parse_system_flag  


[ Top of Report | Procedure Table | Contents ]



End of Code Review Report

Copyright © 2010 Liverpool Data Research Associates