LDRA Testbed Code Review Report

LDRA Testbed ® Code Review Report

# System : Dovecot-src-lib-storage

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 19:57:20 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: No Cross Reference: No

#### Contents

Overall Quality Summary

- Totals of Violations for each Standard
- Table of Procedure Results
- Table of Source Files in System
- Table of Global Basic Information

Report on Program Components

- Quality Results Global Program and Selected Procedures

## Overall Quality Summary

#### Totals for Violated Quality Standards

Number of Violations | LDRA Code | (M) Mandatory Standards | CERT Code
--- | --- | --- | ---
3 | 47 S | Array Bound exceeded. | CERT ARR30-C
111 | 77 S | Macro replacement list needs parentheses. | CERT PRE02-C
89 | 78 S | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
9 | 483 S | free parameter is not heap item. | CERT MEM34-C
62 | 484 S | Attempt to use already freed object. | CERT MEM31-C
1 | 489 S | Insufficient space for operation. | CERT DCL33-C,FIO43-C
47 | 577 S | Sizeof argument is a pointer. | CERT EXP01-C
299 | 5 D | Procedure contains UR data flow anomalies. | CERT EXP33-C
1659 | 45 D | Pointer not checked for null before use | CERT EXP08-C,EXP34-C
3 | 50 D | Memory not freed after last reference. | CERT MEM00-C
29 | 51 D | Attempt to read from freed memory. | CERT MEM30-C
8 | 57 D | Global not initialised at declaration. | CERT EXP33-C
621 | 69 D | Procedure contains UR data flow anomalies. | CERT EXP33-C
78 | 77 D | Local structure returned in function result |
26 | 86 D | User input not checked before use. | CERT FIO30-C

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

Number of Violations | LDRA Code | (O) Optional Standards | CERT Code
--- | --- | --- | ---
17 | 592 S | Use of filename based functions. | CERT FIO01-C
10 | 80 D | Potentially unused function return value. | CERT FIO04-C

Number of Mandatory Standards checked | 22
Number of Checking Standards checked | 1
Number of Optional Standards checked | 3
Total Standards checked | 26

### OVERALL RESULT: FAIL

Out of 1781 program components, 981 (55.08 %) pass ( of which 2 conditionally pass ) and 800 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 |  | cydir_mail_get_path |  | cydir-mail.c |  | 1 | - |  | 25 | - |
FAIL |  | cydir_mail_stat |  | cydir-mail.c |  | 1 | - |  | 3 | - |
Pass |  | cydir_mail_get_received_date |  | cydir-mail.c |  | 0 |  | 0 |
Pass |  | cydir_mail_get_save_date |  | cydir-mail.c |  | 0 |  | 0 |
Pass |  | cydir_mail_get_physical_size |  | cydir-mail.c |  | 0 |  | 0 |
FAIL |  | cydir_mail_get_stream |  | cydir-mail.c |  | 1 | - |  | 3 | - |
Pass |  | buffer_get_data |  | buffer.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | buffer_get_used_size |  | buffer.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_create_from_buffer_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
FAIL |  | array_create_i |  | array.h analysed in cydir-save.c |  | 1 | - |  | 17 | - |
Pass |  | array_free_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_is_created_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_get_pool_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_clear_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_append_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_append_array_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_insert_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_delete_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_get_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_idx_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_get_modifiable_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_append_space_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_copy |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
Pass |  | array_count_i |  | array.h analysed in cydir-save.c |  | 0 |  | 0 |
FAIL |  | cydir_generate_tmp_filename |  | cydir-save.c |  | 1 | - |  | 29 | - |
FAIL |  | cydir_get_save_path |  | cydir-save.c |  | 1 | - |  | 25 | - |
FAIL |  | cydir_save_alloc |  | cydir-save.c |  | 1 | - |  | 4 | - |
FAIL |  | cydir_save_begin |  | cydir-save.c |  | 1 | - |  | 3 | - |
Pass |  | cydir_save_continue |  | cydir-save.c |  | 0 |  | 0 |
FAIL |  | cydir_save_finish |  | cydir-save.c |  | 1 | - |  | 4 | - |
Pass |  | cydir_save_cancel |  | cydir-save.c |  | 0 |  | 0 |
FAIL |  | cydir_transaction_save_commit_pre |  | cydir-save.c |  | 1 | - |  | 11 | - |
Pass |  | cydir_transacti n_save_commit_post |  | cydir-save.c |  | 0 |  | 0 |
FAIL |  | cydir_transaction_save_rollback |  | cydir-save.c |  | 1 | - |  | 9 | - |
FAIL |  | cydir_storage_alloc |  | cydir-storage.c |  | 1 | - |  | 25 | - |
Pass |  | cydir_storage_g t_list_settings |  | cydir-storage.c |  | 0 |  | 0 |
FAIL |  | cydir_mailbox_alloc |  | cydir-storage.c |  | 1 | - |  | 16 | - |
Pass |  | cydir_mailbox_open |  | cydir-storage.c |  | 0 |  | 0 |
Pass |  | cydir_mailbox_create |  | cydir-storage.c |  | 0 |  | 0 |
Pass |  | cydir_notify_changes |  | cydir-storage.c |  | 0 |  | 0 |
Pass |  | cydir_sync_set_uidvalidity |  | cydir-sync.c |  | 0 |  | 0 |
FAIL |  | cydir_get_path_prefix |  | cydir-sync.c |  | 1 | - |  | 43 | - |
FAIL |  | cydir_sync_expunge |  | cydir-sync.c |  | 1 | - |  | 4 | - |
FAIL |  | cydir_sync_index |  | cydir-sync.c |  | 1 | - |  | 7 | - |
FAIL |  | cydir_sync_begin |  | cydir-sync.c |  | 1 | - |  | 8 | - |
Pass |  | cydir_sync_finish |  | cydir-sync.c |  | 0 |  | 0 |
FAIL |  | cydir_sync |  | cydir-sync.c |  | 1 | - |  | 14 | - |
Pass |  | cydir_storage_sync_init |  | cydir-sync.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | dbox_file_find_next_magic |  | dbox-file-fix.c |  | 1 | - |  | 7 | - |
FAIL |  | stream_copy |  | dbox-file-fix.c |  | 1 | - |  | 4 | - |
FAIL |  | dbox_file_skip_broken_header |  | dbox-file-fix.c |  | 1 | - |  | 8 | - |
Pass |  | dbox_file_copy_metadata |  | dbox-file-fix.c |  | 0 |  | 0 |
FAIL |  | dbox_file_fix_write_stream |  | dbox-file-fix.c |  | 1 | - |  | 6 | - |
FAIL |  | dbox_file_fix |  | dbox-file-fix.c |  | 1 | - |  | 7 | - |
FAIL |  | dbox_generate_tmp_filename |  | dbox-file.c |  | 1 | - |  | 50 | - |
Pass |  | dbox_file_set_syscall_error |  | dbox-file.c |  | 0 |  | 0 |
Pass |  | dbox_file_set_corrupted |  | dbox-file.c |  | 0 |  | 0 |
Pass |  | dbox_file_init |  | dbox-file.c |  | 0 |  | 0 |
FAIL |  | dbox_file_free |  | dbox-file.c |  | 1 | - |  | 18 | - |
Pass |  | dbox_file_unref |  | dbox-file.c |  | 0 |  | 0 |
FAIL |  | dbox_file_parse_header |  | dbox-file.c |  | 1 | - |  | 8 | - |
Pass |  | dbox_file_read_header |  | dbox-file.c |  | 0 |  | 0 |
FAIL |  | dbox_file_open_fd |  | dbox-file.c |  | 1 | - |  | 3 | - |
Pass |  | dbox_file_open_full |  | dbox-file.c |  | 0 |  | 0 |
Pass |  | dbox_file_open |  | dbox-file.c |  | 0 |  | 0 |
Pass |  | dbox_file_open_primary |  | dbox-file.c |  | 0 |  | 0 |
FAIL |  | dbox_file_stat |  | dbox-file.c |  | 1 | - |  | 2 | - |
FAIL |  | dbox_file_header_write |  | dbox-file.c |  | 1 | - |  | 8 | - |
Pass |  | dbox_file_close |  | dbox-file.c |  | 0 |  | 0 |
Pass |  | dbox_file_try_lock |  | dbox-file.c |  | 0 |  | 0 |
Pass |  | dbox_file_unlock |  | dbox-file.c |  | 0 |  | 0 |
FAIL |  | dbox_file_read_mail_header |  | dbox-file.c |  | 1 | - |  | 5 | - |
FAIL |  | dbox_file_get_mail_stream |  | dbox-file.c |  | 1 | - |  | 4 | - |
Pass |  | dbox_file_seek_ ext_at_metadata |  | dbox-file.c |  | 0 |  | 0 |
Pass |  | dbox_file_seek_rewind |  | dbox-file.c |  | 0 |  | 0 |
FAIL |  | dbox_file_seek_next |  | dbox-file.c |  | 1 | - |  | 2 | - |
FAIL |  | dbox_file_append_init |  | dbox-file.c |  | 1 | - |  | 8 | - |
Pass |  | dbox_file_append_commit |  | dbox-file.c |  | 0 |  | 0 |
Pass |  | dbox_file_append_rollback |  | dbox-file.c |  | 0 |  | 0 |
Pass |  | dbox_file_append_flush |  | dbox-file.c |  | 0 |  | 0 |
FAIL |  | dbox_file_get_append_stream |  | dbox-file.c |  | 1 | - |  | 2 | - |
FAIL |  | dbox_file_metadata_skip_header |  | dbox-file.c |  | 1 | - |  | 8 | - |
FAIL |  | dbox_file_metadata_read_at |  | dbox-file.c |  | 1 | - |  | 5 | - |
Pass |  | dbox_file_metadata_read |  | dbox-file.c |  | 0 |  | 0 |
FAIL |  | dbox_file_metadata_get |  | dbox-file.c |  | 1 | - |  | 5 | - |
FAIL |  | dbox_file_move |  | dbox-file.c |  | 1 | - |  | 3 | - |
FAIL |  | dbox_msg_header_fill |  | dbox-file.c |  | 1 | - |  | 43 | - |
FAIL |  | dbox_file_unlink |  | dbox-file.c |  | 1 | - |  | 3 | - |
FAIL |  | dbox_mail_alloc |  | dbox-mail.c |  | 1 | - |  | 25 | - |
Pass |  | dbox_mail_close |  | dbox-mail.c |  | 0 |  | 0 |
FAIL |  | dbox_mail_metadata_read |  | dbox-mail.c |  | 1 | - |  | 8 | - |
Pass |  | dbox_mail_metadata_get |  | dbox-mail.c |  | 0 |  | 0 |
Pass |  | dbox_mail_get_physical_size |  | dbox-mail.c |  | 0 |  | 0 |
FAIL |  | dbox_mail_get_virtual_size |  | dbox-mail.c |  | 1 | - |  | 7 | - |
FAIL |  | dbox_mail_get_received_date |  | dbox-mail.c |  | 1 | - |  | 11 | - |
FAIL |  | dbox_mail_get_save_date |  | dbox-mail.c |  | 1 | - |  | 6 | - |
FAIL |  | dbox_get_cached_metadata |  | dbox-mail.c |  | 1 | - |  | 9 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | dbox_mail_get_special |  | dbox-mail.c |  | 0 |  | 0 |
FAIL |  | dbox_mail_get_stream |  | dbox-mail.c |  | 1 | - |  | 8 | - |
Pass |  | dbox_save_add_to_index |  | dbox-save.c |  | 0 |  | 0 |
FAIL |  | dbox_save_begin |  | dbox-save.c |  | 1 | - |  | 2 | - |
Pass |  | dbox_save_continue |  | dbox-save.c |  | 0 |  | 0 |
Pass |  | dbox_save_end |  | dbox-save.c |  | 0 |  | 0 |
FAIL |  | dbox_save_write_metadata |  | dbox-save.c |  | 1 | - |  | 8 | - |
Pass |  | dbox_storage_get_list_settings |  | dbox-storage.c |  | 0 |  | 0 |
FAIL |  | dbox_get_uidvalidity_next |  | dbox-storage.c |  | 1 | - |  | 29 | - |
FAIL |  | dbox_notify_changes |  | dbox-storage.c |  | 1 | - |  | 12 | - |
FAIL |  | dbox_cleanup_if_exists |  | dbox-storage.c |  | 1 | - |  | 3 | - |
Pass |  | dbox_mailbox_open |  | dbox-storage.c |  | 0 |  | 0 |
FAIL |  | dbox_mailbox_create |  | dbox-storage.c |  | 1 | - |  | 7 | - |
FAIL |  | dbox_sync_index_copy_cache |  | dbox-sync-rebuild.c |  | 1 | - |  | 10 | - |
FAIL |  | dbox_sync_index_copy_from_old |  | dbox-sync-rebuild.c |  | 1 | - |  | 29 | - |
FAIL |  | dbox_sync_rebuild_index_metadata |  | dbox-sync-rebuild.c |  | 1 | - |  | 8 | - |
FAIL |  | dbox_sync_rebuild_header |  | dbox-sync-rebuild.c |  | 1 | - |  | 5 | - |
FAIL |  | dbox_sync_index_rebuild_init |  | dbox-sync-rebuild.c |  | 1 | - |  | 12 | - |
Pass |  | dbox_sync_index_rebuild_deinit |  | dbox-sync-rebuild.c |  | 0 |  | 0 |
Pass |  | index_storage_get_seq_range |  | index-fetch.c |  | 0 |  | 0 |
FAIL |  | index_storage_get_uid_range |  | index-fetch.c |  | 1 | - |  | 5 | - |
FAIL |  | add_expunges |  | index-fetch.c |  | 1 | - |  | 3 | - |
FAIL |  | add_guid_expunges |  | index-fetch.c |  | 1 | - |  | 9 | - |
FAIL |  | index_storage_get_expunges |  | index-fetch.c |  | 1 | - |  | 5 | - |
Pass |  | header_line_cmp |  | index-mail-headers.c |  | 0 |  | 0 |
FAIL |  | index_mail_parse_header_finish |  | index-mail-headers.c |  | 1 | - |  | 5 | - |
FAIL |  | get_header_field_idx |  | index-mail-headers.c |  | 1 | - |  | 9 | - |
Pass |  | index_mail_want_parse_headers |  | index-mail-headers.c |  | 0 |  | 0 |
Pass |  | index_mail_pars _header_register_all_wanted |  | index-mail-headers.c |  | 0 |  | 0 |
FAIL |  | index_mail_parse_header_init |  | index-mail-headers.c |  | 1 | - |  | 1 | - |
FAIL |  | index_mail_parse_finish_imap_envelope |  | index-mail-headers.c |  | 1 | - |  | 14 | - |
FAIL |  | index_mail_parse_header |  | index-mail-headers.c |  | 1 | - |  | 2 | - |
Pass |  | index_mail_pars _part_header_cb |  | index-mail-headers.c |  | 0 |  | 0 |
Pass |  | index_mail_parse_header_cb |  | index-mail-headers.c |  | 0 |  | 0 |
FAIL |  | index_mail_cache_parse_init |  | index-mail-headers.c |  | 1 | - |  | 6 | - |
FAIL |  | index_mail_init_parser |  | index-mail-headers.c |  | 1 | - |  | 10 | - |
FAIL |  | index_mail_parse_headers |  | index-mail-headers.c |  | 1 | - |  | 4 | - |
FAIL |  | imap_envelope_parse_callback |  | index-mail-headers.c |  | 1 | - |  | 8 | - |
FAIL |  | index_mail_headers_get_envelope |  | index-mail-headers.c |  | 1 | - |  | 4 | - |
FAIL |  | get_header_size |  | index-mail-headers.c |  | 1 | - |  | 4 | - |
Pass |  | index_mail_header_is_parsed |  | index-mail-headers.c |  | 0 |  | 0 |
Pass |  | skip_header |  | index-mail-headers.c |  | 0 |  | 0 |
FAIL |  | index_mail_get_parsed_header |  | index-mail-headers.c |  | 1 | - |  | 22 | - |
FAIL |  | index_mail_get_raw_headers |  | index-mail-headers.c |  | 1 | - |  | 11 | - |
Pass |  | unfold_header |  | index-mail-headers.c |  | 0 |  | 0 |
FAIL |  | index_mail_headers_decode |  | index-mail-headers.c |  | 1 | - |  | 10 | - |
FAIL |  | index_mail_get_headers |  | index-mail-headers.c |  | 1 | - |  | 2 | - |
FAIL |  | index_mail_get_first_header |  | index-mail-headers.c |  | 1 | - |  | 3 | - |
FAIL |  | header_cache_callback |  | index-mail-headers.c |  | 1 | - |  | 7 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | index_mail_get_header_stream |  | index-mail-headers.c |  | 1 | - |  | 4 | - |
FAIL |  | index_header_lookup_init_real |  | index-mail-headers.c |  | 1 | - |  | 6 | - |
Pass |  | index_header_lookup_init |  | index-mail-headers.c |  | 0 |  | 0 |
Pass |  | index_header_lookup_deinit |  | index-mail-headers.c |  | 0 |  | 0 |
Pass |  | index_mail_cache_lookup_field |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | get_unserialized_parts |  | index-mail.c |  | 1 | - |  | 13 | - |
Pass |  | get_cached_parts |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_get_fixed_field |  | index-mail.c |  | 1 | - |  | 15 | - |
Pass |  | index_mail_get_cached_uoff_t |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_get_flags |  | index-mail.c |  | 1 | - |  | 8 | - |
Pass |  | index_mail_get_modseq |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_get_keywords |  | index-mail.c |  | 1 | - |  | 9 | - |
Pass |  | index_mail_get_keyword_indexes |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_get_parts |  | index-mail.c |  | 1 | - |  | 2 | - |
FAIL |  | index_mail_get_received_date |  | index-mail.c |  | 1 | - |  | 8 | - |
FAIL |  | index_mail_get_save_date |  | index-mail.c |  | 1 | - |  | 8 | - |
FAIL |  | index_mail_cache_sent_date |  | index-mail.c |  | 1 | - |  | 14 | - |
FAIL |  | index_mail_get_date |  | index-mail.c |  | 1 | - |  | 4 | - |
Pass |  | get_cached_msgpart_sizes |  | index-mail.c |  | 0 |  | 0 |
Pass |  | index_mail_get_ ached_virtual_size |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_get_cached_body_size |  | index-mail.c |  | 1 | - |  | 13 | - |
FAIL |  | index_mail_get_virtual_size |  | index-mail.c |  | 1 | - |  | 5 | - |
Pass |  | index_mail_get_physical_size |  | index-mail.c |  | 0 |  | 0 |
Pass |  | index_mail_cache_add |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_cache_add_idx |  | index-mail.c |  | 1 | - |  | 4 | - |
Pass |  | parse_bodystruc ure_part_header |  | index-mail.c |  | 0 |  | 0 |
Pass |  | want_plain_body tructure_cached |  | index-mail.c |  | 0 |  | 0 |
Pass |  | index_mail_body parsed_cache_flags |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_body_parsed_cache_message_parts |  | index-mail.c |  | 1 | - |  | 2 | - |
FAIL |  | index_mail_body_parsed_cache_bodystructure |  | index-mail.c |  | 1 | - |  | 2 | - |
FAIL |  | index_mail_want_cache |  | index-mail.c |  | 1 | - |  | 4 | - |
Pass |  | index_mail_cache_sizes |  | index-mail.c |  | 0 |  | 0 |
Pass |  | index_mail_cache_dates |  | index-mail.c |  | 0 |  | 0 |
Pass |  | index_mail_parse_body_finish |  | index-mail.c |  | 0 |  | 0 |
Pass |  | index_mail_stre m_check_failure |  | index-mail.c |  | 0 |  | 0 |
Pass |  | index_mail_parse_body |  | index-mail.c |  | 0 |  | 0 |
Pass |  | index_mail_stre m_destroy_callback |  | index-mail.c |  | 0 |  | 0 |
Pass |  | index_mail_set_ ead_buffer_size |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_init_stream |  | index-mail.c |  | 1 | - |  | 1 | - |
FAIL |  | index_mail_parse_bodystructure |  | index-mail.c |  | 1 | - |  | 3 | - |
Pass |  | index_mail_get_ lain_bodystructure |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_get_special |  | index-mail.c |  | 1 | - |  | 1 | - |
Pass |  | index_mail_get_real_mail |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_alloc |  | index-mail.c |  | 1 | - |  | 20 | - |
FAIL |  | index_mail_init |  | index-mail.c |  | 1 | - |  | 4 | - |
FAIL |  | index_mail_close |  | index-mail.c |  | 1 | - |  | 4 | - |
FAIL |  | index_mail_reset |  | index-mail.c |  | 1 | - |  | 6 | - |
Pass |  | check_envelope |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_set_seq |  | index-mail.c |  | 1 | - |  | 2 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | index_mail_set_uid |  | index-mail.c |  | 1 | - |  | 8 | - |
Pass |  | index_mail_set_ id_cache_updates |  | index-mail.c |  | 0 |  | 0 |
Pass |  | index_mail_free |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_cache_parse_continue |  | index-mail.c |  | 1 | - |  | 15 | - |
Pass |  | index_mail_cache_parse_deinit |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_drop_recent_flag |  | index-mail.c |  | 1 | - |  | 9 | - |
Pass |  | index_mail_update_flags |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_update_keywords |  | index-mail.c |  | 1 | - |  | 5 | - |
Pass |  | index_mail_update_modseq |  | index-mail.c |  | 0 |  | 0 |
Pass |  | index_mail_update_uid |  | index-mail.c |  | 0 |  | 0 |
FAIL |  | index_mail_expunge |  | index-mail.c |  | 1 | - |  | 21 | - |
FAIL |  | index_mail_set_cache_corrupted |  | index-mail.c |  | 1 | - |  | 3 | - |
FAIL |  | notify_delay_callback |  | index-mailbox-check.c |  | 1 | - |  | 10 | - |
FAIL |  | check_timeout |  | index-mailbox-check.c |  | 1 | - |  | 6 | - |
FAIL |  | notify_callback |  | index-mailbox-check.c |  | 1 | - |  | 9 | - |
FAIL |  | index_mailbox_check_add |  | index-mailbox-check.c |  | 1 | - |  | 8 | - |
FAIL |  | index_mailbox_check_remove_all |  | index-mailbox-check.c |  | 1 | - |  | 20 | - |
Pass |  | module_get_context_id |  | module-context.h analysed in index-mailbox-list-sync.c |  | 0 |  | 0 |
FAIL |  | index_list_box_close |  | index-mailbox-list-sync.c |  | 1 | - |  | 25 | - |
FAIL |  | index_list_update_mail_index |  | index-mailbox-list-sync.c |  | 1 | - |  | 21 | - |
FAIL |  | index_list_mailbox_open_unchanged_view |  | index-mailbox-list-sync.c |  | 1 | - |  | 7 | - |
FAIL |  | index_list_get_cached_status |  | index-mailbox-list-sync.c |  | 1 | - |  | 23 | - |
FAIL |  | index_list_get_status |  | index-mailbox-list-sync.c |  | 1 | - |  | 17 | - |
Pass |  | index_list_lookup_or_create |  | index-mailbox-list-sync.c |  | 0 |  | 0 |
FAIL |  | index_list_update |  | index-mailbox-list-sync.c |  | 1 | - |  | 12 | - |
FAIL |  | index_list_sync_init |  | index-mailbox-list-sync.c |  | 1 | - |  | 22 | - |
FAIL |  | index_list_sync_next |  | index-mailbox-list-sync.c |  | 1 | - |  | 6 | - |
FAIL |  | index_list_sync_deinit |  | index-mailbox-list-sync.c |  | 1 | - |  | 16 | - |
FAIL |  | index_list_mail_mailbox_allocated |  | index-mailbox-list-sync.c |  | 1 | - |  | 11 | - |
FAIL |  | index_mailbox_list_sync_init_list |  | index-mailbox-list-sync.c |  | 1 | - |  | 16 | - |
Pass |  | index_mailbox_list_sync_init |  | index-mailbox-list-sync.c |  | 0 |  | 0 |
Pass |  | index_mailbox_l st_index_flags_translate |  | index-mailbox-list.c |  | 0 |  | 0 |
Pass |  | index_mailbox_l st_info_flags_translate |  | index-mailbox-list.c |  | 0 |  | 0 |
FAIL |  | index_mailbox_list_is_synced |  | index-mailbox-list.c |  | 1 | - |  | 3 | - |
FAIL |  | pattern_parse |  | index-mailbox-list.c |  | 1 | - |  | 4 | - |
FAIL |  | index_mailbox_list_sync |  | index-mailbox-list.c |  | 1 | - |  | 10 | - |
FAIL |  | index_mailbox_list_iter_init_try |  | index-mailbox-list.c |  | 1 | - |  | 5 | - |
FAIL |  | index_mailbox_list_iter_init |  | index-mailbox-list.c |  | 1 | - |  | 22 | - |
FAIL |  | list_index_get_info_flags |  | index-mailbox-list.c |  | 1 | - |  | 22 | - |
FAIL |  | list_index_iter_next |  | index-mailbox-list.c |  | 1 | - |  | 5 | - |
FAIL |  | index_mailbox_list_iter_next |  | index-mailbox-list.c |  | 1 | - |  | 10 | - |
FAIL |  | index_mailbox_list_iter_deinit |  | index-mailbox-list.c |  | 1 | - |  | 8 | - |
FAIL |  | index_mailbox_list_deinit |  | index-mailbox-list.c |  | 1 | - |  | 18 | - |
FAIL |  | index_mailbox_list_open_indexes |  | index-mailbox-list.c |  | 1 | - |  | 6 | - |
FAIL |  | index_mailbox_list_created |  | index-mailbox-list.c |  | 1 | - |  | 13 | - |
Pass |  | index_mailbox_list_init |  | index-mailbox-list.c |  | 0 |  | 0 |
Pass |  | search_result_range_remove |  | index-search-result.c |  | 0 |  | 0 |
FAIL |  | search_result_update_search |  | index-search-result.c |  | 1 | - |  | 5 | - |
Pass |  | index_search_re ult_update_flags |  | index-search-result.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | index_search_result_update_appends |  | index-search-result.c |  | 1 | - |  | 2 | - |
FAIL |  | index_search_results_update_expunges |  | index-search-result.c |  | 1 | - |  | 6 | - |
FAIL |  | search_init_arg |  | index-search.c |  | 1 | - |  | 3 | - |
Pass |  | search_seqset_arg |  | index-search.c |  | 0 |  | 0 |
Pass |  | search_arg_match_keywords |  | index-search.c |  | 0 |  | 0 |
Pass |  | search_arg_match_index |  | index-search.c |  | 0 |  | 0 |
Pass |  | search_index_arg |  | index-search.c |  | 0 |  | 0 |
FAIL |  | search_arg_match_mailbox |  | index-search.c |  | 1 | - |  | 5 | - |
Pass |  | search_mailbox_arg |  | index-search.c |  | 0 |  | 0 |
FAIL |  | search_arg_match_cached |  | index-search.c |  | 1 | - |  | 3 | - |
Pass |  | search_cached_arg |  | index-search.c |  | 0 |  | 0 |
FAIL |  | search_sent |  | index-search.c |  | 1 | - |  | 7 | - |
Pass |  | msg_search_arg_context |  | index-search.c |  | 0 |  | 0 |
Pass |  | compress_lwsp |  | index-search.c |  | 0 |  | 0 |
FAIL |  | search_header_arg |  | index-search.c |  | 1 | - |  | 4 | - |
Pass |  | search_header_unmatch |  | index-search.c |  | 0 |  | 0 |
FAIL |  | search_header |  | index-search.c |  | 1 | - |  | 3 | - |
Pass |  | search_body |  | index-search.c |  | 0 |  | 0 |
FAIL |  | search_arg_match_text |  | index-search.c |  | 1 | - |  | 9 | - |
Pass |  | search_msgset_fix_limits |  | index-search.c |  | 0 |  | 0 |
FAIL |  | search_msgset_fix |  | index-search.c |  | 1 | - |  | 3 | - |
Pass |  | search_or_parse_msgset_args |  | index-search.c |  | 0 |  | 0 |
Pass |  | search_parse_msgset_args |  | index-search.c |  | 0 |  | 0 |
FAIL |  | search_limit_lowwater |  | index-search.c |  | 1 | - |  | 17 | - |
FAIL |  | search_limit_by_flags |  | index-search.c |  | 1 | - |  | 1 | - |
Pass |  | search_get_seqset |  | index-search.c |  | 0 |  | 0 |
FAIL |  | search_build_subthread |  | index-search.c |  | 1 | - |  | 6 | - |
FAIL |  | search_build_inthread_result |  | index-search.c |  | 1 | - |  | 6 | - |
Pass |  | search_build_inthreads |  | index-search.c |  | 0 |  | 0 |
FAIL |  | index_storage_search_init |  | index-search.c |  | 1 | - |  | 4 | - |
Pass |  | search_arg_deinit |  | index-search.c |  | 0 |  | 0 |
Pass |  | index_storage_search_deinit |  | index-search.c |  | 0 |  | 0 |
Pass |  | search_match_next |  | index-search.c |  | 0 |  | 0 |
FAIL |  | index_storage_search_notify |  | index-search.c |  | 1 | - |  | 3 | - |
Pass |  | search_arg_is_static |  | index-search.c |  | 0 |  | 0 |
Pass |  | search_set_static_matches |  | index-search.c |  | 0 |  | 0 |
Pass |  | search_has_static_nonmatches |  | index-search.c |  | 0 |  | 0 |
Pass |  | search_mail_get_cost |  | index-search.c |  | 0 |  | 0 |
FAIL |  | search_would_block |  | index-search.c |  | 1 | - |  | 2 | - |
Conditional Pass |  | index_storage_s arch_next_nonblock |  | index-search.c |  | 1 | - |  | 1 | - |
FAIL |  | index_storage_search_next_update_seq |  | index-search.c |  | 1 | - |  | 2 | - |
FAIL |  | index_sort_list_init_string |  | index-sort-string.c |  | 1 | - |  | 8 | - |
Pass |  | sort_node_seq_cmp |  | index-sort-string.c |  | 0 |  | 0 |
FAIL |  | index_sort_generate_seqs |  | index-sort-string.c |  | 1 | - |  | 3 | - |
FAIL |  | index_sort_reget_sort_ids |  | index-sort-string.c |  | 1 | - |  | 2 | - |
FAIL |  | index_sort_node_add |  | index-sort-string.c |  | 1 | - |  | 4 | - |
Pass |  | index_sort_list_add_string |  | index-sort-string.c |  | 0 |  | 0 |
FAIL |  | sort_node_zero_string_cmp |  | index-sort-string.c |  | 1 | - |  | 5 | - |
FAIL |  | index_sort_zeroes |  | index-sort-string.c |  | 1 | - |  | 9 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | index_sort_get_expunged_string |  | index-sort-string.c |  | 1 | - |  | 2 | - |
FAIL |  | index_sort_get_string |  | index-sort-string.c |  | 1 | - |  | 3 | - |
FAIL |  | index_sort_bsearch |  | index-sort-string.c |  | 1 | - |  | 2 | - |
FAIL |  | index_sort_merge |  | index-sort-string.c |  | 1 | - |  | 9 | - |
FAIL |  | index_sort_add_ids_range |  | index-sort-string.c |  | 1 | - |  | 1 | - |
Pass |  | index_sort_add_sort_ids |  | index-sort-string.c |  | 0 |  | 0 |
Pass |  | index_sort_writ _changed_sort_ids |  | index-sort-string.c |  | 0 |  | 0 |
FAIL |  | sort_node_cmp |  | index-sort-string.c |  | 1 | - |  | 3 | - |
Pass |  | index_sort_add_missing |  | index-sort-string.c |  | 0 |  | 0 |
Pass |  | index_sort_list_reset_broken |  | index-sort-string.c |  | 0 |  | 0 |
FAIL |  | index_sort_list_finish_string |  | index-sort-string.c |  | 1 | - |  | 5 | - |
Pass |  | uni_utf8_char_bytes |  | unichar.h analysed in index-sort.c |  | 0 |  | 0 |
FAIL |  | index_sort_list_add_arrival |  | index-sort.c |  | 1 | - |  | 9 | - |
FAIL |  | index_sort_list_add_date |  | index-sort.c |  | 1 | - |  | 4 | - |
FAIL |  | index_sort_list_add_size |  | index-sort.c |  | 1 | - |  | 9 | - |
FAIL |  | index_sort_get_score |  | index-sort.c |  | 1 | - |  | 13 | - |
FAIL |  | index_sort_list_add_score |  | index-sort.c |  | 1 | - |  | 29 | - |
Pass |  | index_sort_list_add |  | index-sort.c |  | 0 |  | 0 |
Pass |  | sort_node_date_cmp |  | index-sort.c |  | 0 |  | 0 |
FAIL |  | index_sort_list_finish_date |  | index-sort.c |  | 1 | - |  | 5 | - |
Pass |  | sort_node_size_cmp |  | index-sort.c |  | 0 |  | 0 |
FAIL |  | index_sort_list_finish_size |  | index-sort.c |  | 1 | - |  | 5 | - |
Pass |  | sort_node_float_cmp |  | index-sort.c |  | 0 |  | 0 |
FAIL |  | index_sort_list_finish_float |  | index-sort.c |  | 1 | - |  | 5 | - |
Pass |  | index_sort_list_finish |  | index-sort.c |  | 0 |  | 0 |
FAIL |  | index_sort_list_next |  | index-sort.c |  | 1 | - |  | 6 | - |
FAIL |  | index_sort_program_init |  | index-sort.c |  | 1 | - |  | 5 | - |
Pass |  | index_sort_program_deinit |  | index-sort.c |  | 0 |  | 0 |
FAIL |  | get_first_addr |  | index-sort.c |  | 1 | - |  | 13 | - |
Pass |  | get_first_mailbox |  | index-sort.c |  | 0 |  | 0 |
FAIL |  | get_display_name |  | index-sort.c |  | 1 | - |  | 2 | - |
FAIL |  | index_sort_header_get |  | index-sort.c |  | 1 | - |  | 10 | - |
FAIL |  | index_sort_node_cmp_type |  | index-sort.c |  | 1 | - |  | 3 | - |
FAIL |  | index_storage_get_status_cache_fields |  | index-status.c |  | 1 | - |  | 7 | - |
FAIL |  | index_storage_virtual_size_add_new |  | index-status.c |  | 1 | - |  | 11 | - |
FAIL |  | index_storage_get_status_virtual_size |  | index-status.c |  | 1 | - |  | 9 | - |
FAIL |  | index_storage_get_status |  | index-status.c |  | 1 | - |  | 3 | - |
Pass |  | crc32_str_nonzero |  | index-thread-private.h analysed in index-storage.c |  | 0 |  | 0 |
FAIL |  | index_list_create_missing_index_dir |  | index-storage.c |  | 1 | - |  | 15 | - |
FAIL |  | index_storage_alloc |  | index-storage.c |  | 1 | - |  | 29 | - |
FAIL |  | set_cache_decisions |  | index-storage.c |  | 1 | - |  | 2 | - |
FAIL |  | index_cache_register_defaults |  | index-storage.c |  | 1 | - |  | 5 | - |
FAIL |  | index_storage_lock_notify |  | index-storage.c |  | 1 | - |  | 5 | - |
FAIL |  | index_storage_lock_notify_reset |  | index-storage.c |  | 1 | - |  | 25 | - |
FAIL |  | index_storage_mailbox_open |  | index-storage.c |  | 1 | - |  | 1 | - |
FAIL |  | index_storage_mailbox_alloc |  | index-storage.c |  | 1 | - |  | 6 | - |
Pass |  | index_storage_mailbox_enable |  | index-storage.c |  | 0 |  | 0 |
FAIL |  | index_storage_mailbox_close |  | index-storage.c |  | 1 | - |  | 10 | - |
Pass |  | index_storage_mailbox_free |  | index-storage.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | index_storage_mailbox_update_cache_fields |  | index-storage.c |  | 1 | - |  | 6 | - |
FAIL |  | index_storage_mailbox_update |  | index-storage.c |  | 1 | - |  | 8 | - |
FAIL |  | index_storage_mailbox_delete_dir |  | index-storage.c |  | 1 | - |  | 12 | - |
FAIL |  | index_storage_mailbox_delete |  | index-storage.c |  | 1 | - |  | 4 | - |
FAIL |  | index_storage_mailbox_rename |  | index-storage.c |  | 1 | - |  | 14 | - |
Pass |  | index_storage_is_readonly |  | index-storage.c |  | 0 |  | 0 |
Pass |  | index_storage_a low_new_keywords |  | index-storage.c |  | 0 |  | 0 |
Pass |  | index_storage_is_inconsistent |  | index-storage.c |  | 0 |  | 0 |
FAIL |  | index_keyword_is_valid |  | index-storage.c |  | 1 | - |  | 3 | - |
FAIL |  | index_keywords_create_skip |  | index-storage.c |  | 1 | - |  | 23 | - |
FAIL |  | index_keywords_create |  | index-storage.c |  | 1 | - |  | 5 | - |
Pass |  | index_keywords_ reate_from_indexes |  | index-storage.c |  | 0 |  | 0 |
Pass |  | index_keywords_ref |  | index-storage.c |  | 0 |  | 0 |
Pass |  | index_keywords_unref |  | index-storage.c |  | 0 |  | 0 |
FAIL |  | index_save_context_free |  | index-storage.c |  | 1 | - |  | 50 | - |
FAIL |  | index_sync_changes_init |  | index-sync-changes.c |  | 1 | - |  | 25 | - |
FAIL |  | index_sync_changes_deinit |  | index-sync-changes.c |  | 1 | - |  | 10 | - |
FAIL |  | index_sync_changes_reset |  | index-sync-changes.c |  | 1 | - |  | 17 | - |
Pass |  | index_sync_changes_delete_to |  | index-sync-changes.c |  | 0 |  | 0 |
Pass |  | index_sync_chan es_have_expunges |  | index-sync-changes.c |  | 0 |  | 0 |
FAIL |  | index_sync_changes_read |  | index-sync-changes.c |  | 1 | - |  | 5 | - |
Pass |  | index_sync_changes_have |  | index-sync-changes.c |  | 0 |  | 0 |
Pass |  | index_sync_chan es_get_next_uid |  | index-sync-changes.c |  | 0 |  | 0 |
Pass |  | index_sync_changes_apply |  | index-sync-changes.c |  | 0 |  | 0 |
Pass |  | search_result_w nt_flag_updates |  | index-sync-search.c |  | 0 |  | 0 |
FAIL |  | index_sync_uidify_array |  | index-sync-search.c |  | 1 | - |  | 8 | - |
FAIL |  | index_sync_uidify |  | index-sync-search.c |  | 1 | - |  | 6 | - |
FAIL |  | index_sync_search_results_uidify |  | index-sync-search.c |  | 1 | - |  | 3 | - |
Pass |  | search_result_update |  | index-sync-search.c |  | 0 |  | 0 |
FAIL |  | index_sync_search_results_update |  | index-sync-search.c |  | 1 | - |  | 6 | - |
Pass |  | index_sync_sear h_results_expunge |  | index-sync-search.c |  | 0 |  | 0 |
Pass |  | index_storage_get_sync_flags |  | index-sync.c |  | 0 |  | 0 |
FAIL |  | index_mailbox_want_full_sync |  | index-sync.c |  | 1 | - |  | 9 | - |
FAIL |  | index_mailbox_set_recent_uid |  | index-sync.c |  | 1 | - |  | 4 | - |
FAIL |  | index_mailbox_set_recent_seq |  | index-sync.c |  | 1 | - |  | 13 | - |
FAIL |  | index_mailbox_is_recent |  | index-sync.c |  | 1 | - |  | 9 | - |
FAIL |  | index_mailbox_reset_uidvalidity |  | index-sync.c |  | 1 | - |  | 7 | - |
FAIL |  | index_mailbox_get_recent_count |  | index-sync.c |  | 1 | - |  | 4 | - |
FAIL |  | index_mailbox_expunge_recent |  | index-sync.c |  | 1 | - |  | 10 | - |
FAIL |  | index_view_sync_recs_get |  | index-sync.c |  | 1 | - |  | 9 | - |
FAIL |  | index_mailbox_sync_init |  | index-sync.c |  | 1 | - |  | 4 | - |
FAIL |  | index_mailbox_sync_next_expunge |  | index-sync.c |  | 1 | - |  | 3 | - |
FAIL |  | index_mailbox_sync_next |  | index-sync.c |  | 1 | - |  | 4 | - |
FAIL |  | index_mailbox_expunge_unseen_recent |  | index-sync.c |  | 1 | - |  | 7 | - |
FAIL |  | index_mailbox_sync_deinit |  | index-sync.c |  | 1 | - |  | 5 | - |
Pass |  | index_keyword_array_cmp |  | index-sync.c |  | 0 |  | 0 |
Pass |  | index_sync_type_convert |  | index-sync.c |  | 0 |  | 0 |
FAIL |  | add_base_subject |  | index-thread-finish.c |  | 1 | - |  | 12 | - |
Pass |  | mail_thread_child_node_cmp |  | index-thread-finish.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | mail_thread_root_node_cmp |  | index-thread-finish.c |  | 0 |  | 0 |
Pass |  | thread_lookup_existing |  | index-thread-finish.c |  | 0 |  | 0 |
FAIL |  | thread_child_node_fill |  | index-thread-finish.c |  | 1 | - |  | 6 | - |
FAIL |  | thread_sort_children |  | index-thread-finish.c |  | 1 | - |  | 2 | - |
FAIL |  | gather_base_subjects |  | index-thread-finish.c |  | 1 | - |  | 5 | - |
FAIL |  | thread_add_shadow_child |  | index-thread-finish.c |  | 1 | - |  | 33 | - |
FAIL |  | mail_thread_root_thread_merge |  | index-thread-finish.c |  | 1 | - |  | 3 | - |
Pass |  | merge_subject_threads |  | index-thread-finish.c |  | 0 |  | 0 |
FAIL |  | sort_root_nodes |  | index-thread-finish.c |  | 1 | - |  | 4 | - |
Pass |  | mail_thread_root_node_idx_cmp |  | index-thread-finish.c |  | 0 |  | 0 |
FAIL |  | sort_root_nodes_ref2 |  | index-thread-finish.c |  | 1 | - |  | 1 | - |
FAIL |  | mail_thread_create_shadows |  | index-thread-finish.c |  | 1 | - |  | 3 | - |
FAIL |  | mail_thread_finish |  | index-thread-finish.c |  | 1 | - |  | 2 | - |
FAIL |  | nodes_change_uids_to_seqs |  | index-thread-finish.c |  | 1 | - |  | 7 | - |
FAIL |  | mail_thread_iterate_fill_root |  | index-thread-finish.c |  | 1 | - |  | 3 | - |
FAIL |  | mail_thread_iterate_children |  | index-thread-finish.c |  | 1 | - |  | 14 | - |
FAIL |  | mail_thread_iterate_init_full |  | index-thread-finish.c |  | 1 | - |  | 15 | - |
FAIL |  | mail_thread_iterate_next |  | index-thread-finish.c |  | 1 | - |  | 11 | - |
Pass |  | mail_thread_iterate_count |  | index-thread-finish.c |  | 0 |  | 0 |
FAIL |  | mail_thread_iterate_deinit |  | index-thread-finish.c |  | 1 | - |  | 11 | - |
FAIL |  | thread_msg_add |  | index-thread-links.c |  | 1 | - |  | 5 | - |
Pass |  | thread_node_has_ancestor |  | index-thread-links.c |  | 0 |  | 0 |
FAIL |  | thread_link_reference |  | index-thread-links.c |  | 1 | - |  | 3 | - |
FAIL |  | thread_link_references |  | index-thread-links.c |  | 1 | - |  | 5 | - |
FAIL |  | mail_thread_add |  | index-thread-links.c |  | 1 | - |  | 4 | - |
FAIL |  | mail_thread_unref_link |  | index-thread-links.c |  | 1 | - |  | 6 | - |
FAIL |  | mail_thread_remove |  | index-thread-links.c |  | 1 | - |  | 1 | - |
FAIL |  | mail_strmap_rec_get_msgid |  | index-thread.c |  | 1 | - |  | 1 | - |
FAIL |  | mail_thread_hash_key_cmp |  | index-thread.c |  | 1 | - |  | 10 | - |
FAIL |  | mail_thread_hash_rec_cmp |  | index-thread.c |  | 1 | - |  | 22 | - |
FAIL |  | mail_thread_strmap_remap |  | index-thread.c |  | 1 | - |  | 7 | - |
Pass |  | thread_get_mail_header |  | index-thread.c |  | 0 |  | 0 |
FAIL |  | mail_thread_map_add_mail |  | index-thread.c |  | 1 | - |  | 5 | - |
FAIL |  | mail_thread_index_map_build |  | index-thread.c |  | 1 | - |  | 11 | - |
Pass |  | msgid_map_cmp |  | index-thread.c |  | 0 |  | 0 |
FAIL |  | mail_thread_cache_update_removes |  | index-thread.c |  | 1 | - |  | 6 | - |
FAIL |  | mail_thread_cache_update_adds |  | index-thread.c |  | 1 | - |  | 5 | - |
Pass |  | mail_thread_cac e_fix_invalid_indexes |  | index-thread.c |  | 0 |  | 0 |
Pass |  | mail_thread_cache_sync_remove |  | index-thread.c |  | 0 |  | 0 |
Pass |  | mail_thread_cache_sync_add |  | index-thread.c |  | 0 |  | 0 |
FAIL |  | mail_thread_init |  | index-thread.c |  | 1 | - |  | 7 | - |
Pass |  | mail_thread_clear |  | index-thread.c |  | 0 |  | 0 |
FAIL |  | mail_thread_deinit |  | index-thread.c |  | 1 | - |  | 17 | - |
FAIL |  | mail_thread_iterate_init |  | index-thread.c |  | 1 | - |  | 33 | - |
FAIL |  | mail_thread_mailbox_close |  | index-thread.c |  | 1 | - |  | 8 | - |
FAIL |  | mail_thread_mailbox_free |  | index-thread.c |  | 1 | - |  | 33 | - |
FAIL |  | index_thread_mailbox_opened |  | index-thread.c |  | 1 | - |  | 9 | - |
FAIL |  | index_transaction_free |  | index-transaction.c |  | 1 | - |  | 9 | - |
FAIL |  | index_transaction_index_commit |  | index-transaction.c |  | 1 | - |  | 6 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | index_transaction_index_rollback |  | index-transaction.c |  | 1 | - |  | 15 | - |
Pass |  | index_transaction_init |  | index-transaction.c |  | 0 |  | 0 |
FAIL |  | index_transaction_begin |  | index-transaction.c |  | 1 | - |  | 25 | - |
FAIL |  | index_transaction_commit |  | index-transaction.c |  | 1 | - |  | 4 | - |
Pass |  | index_transaction_rollback |  | index-transaction.c |  | 0 |  | 0 |
Pass |  | index_transacti n_set_max_modseq |  | index-transaction.c |  | 0 |  | 0 |
Pass |  | i_stream_mail_s ats_read_mail_stats |  | istream-mail-stats.c |  | 0 |  | 0 |
Pass |  | i_stream_mail_stats_seek |  | istream-mail-stats.c |  | 0 |  | 0 |
Pass |  | i_stream_mail_stats_stat |  | istream-mail-stats.c |  | 0 |  | 0 |
FAIL |  | i_stream_create_mail_stats_counter |  | istream-mail-stats.c |  | 1 | - |  | 13 | - |
FAIL |  | i_stream_raw_mbox_destroy |  | istream-raw-mbox.c |  | 1 | - |  | 17 | - |
FAIL |  | mbox_read_from_line |  | istream-raw-mbox.c |  | 1 | - |  | 6 | - |
Pass |  | handle_end_of_mail |  | istream-raw-mbox.c |  | 0 |  | 0 |
FAIL |  | i_stream_raw_mbox_read |  | istream-raw-mbox.c |  | 1 | - |  | 3 | - |
Pass |  | i_stream_raw_mbox_seek |  | istream-raw-mbox.c |  | 0 |  | 0 |
Pass |  | i_stream_raw_mbox_sync |  | istream-raw-mbox.c |  | 0 |  | 0 |
Pass |  | i_stream_raw_mbox_stat |  | istream-raw-mbox.c |  | 0 |  | 0 |
FAIL |  | i_stream_create_raw_mbox |  | istream-raw-mbox.c |  | 1 | - |  | 4 | - |
FAIL |  | istream_raw_mbox_is_valid_from |  | istream-raw-mbox.c |  | 1 | - |  | 9 | - |
Pass |  | istream_raw_mbo _get_start_offset |  | istream-raw-mbox.c |  | 0 |  | 0 |
Pass |  | istream_raw_mbo _get_header_offset |  | istream-raw-mbox.c |  | 0 |  | 0 |
FAIL |  | istream_raw_mbox_get_body_offset |  | istream-raw-mbox.c |  | 1 | - |  | 3 | - |
FAIL |  | istream_raw_mbox_get_body_size |  | istream-raw-mbox.c |  | 1 | - |  | 4 | - |
Pass |  | istream_raw_mbo _get_received_time |  | istream-raw-mbox.c |  | 0 |  | 0 |
Pass |  | istream_raw_mbox_get_sender |  | istream-raw-mbox.c |  | 0 |  | 0 |
Pass |  | istream_raw_mbo _has_crlf_ending |  | istream-raw-mbox.c |  | 0 |  | 0 |
FAIL |  | istream_raw_mbox_next |  | istream-raw-mbox.c |  | 1 | - |  | 7 | - |
FAIL |  | istream_raw_mbox_seek |  | istream-raw-mbox.c |  | 1 | - |  | 2 | - |
Pass |  | istream_raw_mbo _set_next_offset |  | istream-raw-mbox.c |  | 0 |  | 0 |
Pass |  | istream_raw_mbox_is_eof |  | istream-raw-mbox.c |  | 0 |  | 0 |
Pass |  | istream_raw_mbox_is_corrupted |  | istream-raw-mbox.c |  | 0 |  | 0 |
Pass |  | istream_raw_mbox_set_locked |  | istream-raw-mbox.c |  | 0 |  | 0 |
Pass |  | istream_raw_mbox_set_unlocked |  | istream-raw-mbox.c |  | 0 |  | 0 |
FAIL |  | mail_storage_try_copy |  | mail-copy.c |  | 1 | - |  | 4 | - |
Pass |  | mail_storage_copy |  | mail-copy.c |  | 0 |  | 0 |
Pass |  | mail_error_from_errno |  | mail-error.c |  | 0 |  | 0 |
Pass |  | mail_error_eacces_msg |  | mail-error.c |  | 0 |  | 0 |
Pass |  | mail_error_create_eacces_msg |  | mail-error.c |  | 0 |  | 0 |
Pass |  | mail_namespace_add_storage |  | mail-namespace.c |  | 0 |  | 0 |
Pass |  | mail_namespace_ inish_list_init |  | mail-namespace.c |  | 0 |  | 0 |
FAIL |  | mail_namespace_free |  | mail-namespace.c |  | 1 | - |  | 3 | - |
FAIL |  | namespace_add |  | mail-namespace.c |  | 1 | - |  | 4 | - |
Pass |  | namespace_is_va id_alias_storage |  | mail-namespace.c |  | 0 |  | 0 |
Pass |  | namespace_set_alias_for |  | mail-namespace.c |  | 0 |  | 0 |
FAIL |  | namespaces_check |  | mail-namespace.c |  | 1 | - |  | 2 | - |
FAIL |  | mail_namespaces_init |  | mail-namespace.c |  | 1 | - |  | 8 | - |
FAIL |  | mail_namespaces_init_empty |  | mail-namespace.c |  | 1 | - |  | 36 | - |
FAIL |  | mail_namespaces_deinit |  | mail-namespace.c |  | 1 | - |  | 14 | - |
Pass |  | mail_namespaces set_storage_callbacks |  | mail-namespace.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | mail_namespace_destroy |  | mail-namespace.c |  | 1 | - |  | 9 | - |
FAIL |  | mail_namespace_fix_sep |  | mail-namespace.c |  | 1 | - |  | 3 | - |
FAIL |  | mail_namespace_get_storage_name |  | mail-namespace.c |  | 1 | - |  | 3 | - |
Pass |  | mail_namespace_get_vname |  | mail-namespace.c |  | 0 |  | 0 |
Pass |  | mail_namespace_ et_default_storage |  | mail-namespace.c |  | 0 |  | 0 |
FAIL |  | mail_namespaces_get_root_sep |  | mail-namespace.c |  | 1 | - |  | 10 | - |
Pass |  | mail_namespace_ s_usable_prefix |  | mail-namespace.c |  | 0 |  | 0 |
FAIL |  | mail_namespace_find_mask |  | mail-namespace.c |  | 1 | - |  | 1 | - |
Pass |  | mail_namespace_find_shared |  | mail-namespace.c |  | 0 |  | 0 |
FAIL |  | mail_namespace_find |  | mail-namespace.c |  | 1 | - |  | 7 | - |
Pass |  | mail_namespace_find_visible |  | mail-namespace.c |  | 0 |  | 0 |
Pass |  | mail_namespace_ ind_subscribable |  | mail-namespace.c |  | 0 |  | 0 |
Pass |  | mail_namespace_ ind_unsubscribable |  | mail-namespace.c |  | 0 |  | 0 |
FAIL |  | mail_namespace_find_inbox |  | mail-namespace.c |  | 1 | - |  | 10 | - |
FAIL |  | mail_namespace_update_name |  | mail-namespace.c |  | 1 | - |  | 43 | - |
FAIL |  | mail_namespace_find_prefix |  | mail-namespace.c |  | 1 | - |  | 4 | - |
FAIL |  | mail_namespace_find_prefix_nosep |  | mail-namespace.c |  | 1 | - |  | 4 | - |
FAIL |  | mail_search_build_new |  | mail-search-build.c |  | 1 | - |  | 33 | - |
FAIL |  | mail_search_build_str |  | mail-search-build.c |  | 1 | - |  | 27 | - |
FAIL |  | mail_search_build_key_int |  | mail-search-build.c |  | 1 | - |  | 10 | - |
Pass |  | mail_search_build_key |  | mail-search-build.c |  | 0 |  | 0 |
FAIL |  | mail_search_build_list |  | mail-search-build.c |  | 1 | - |  | 6 | - |
FAIL |  | mail_search_build |  | mail-search-build.c |  | 1 | - |  | 16 | - |
FAIL |  | mail_search_build_init |  | mail-search-build.c |  | 1 | - |  | 38 | - |
FAIL |  | mail_search_build_add |  | mail-search-build.c |  | 1 | - |  | 25 | - |
Pass |  | mail_search_build_add_all |  | mail-search-build.c |  | 0 |  | 0 |
FAIL |  | mail_search_build_add_seqset |  | mail-search-build.c |  | 1 | - |  | 11 | - |
Pass |  | cmdline_search_parse_key |  | mail-search-parser-cmdline.c |  | 0 |  | 0 |
Pass |  | cmdline_search_parse_string |  | mail-search-parser-cmdline.c |  | 0 |  | 0 |
Pass |  | cmdline_search_parse_skip_next |  | mail-search-parser-cmdline.c |  | 0 |  | 0 |
FAIL |  | mail_search_parser_init_cmdline |  | mail-search-parser-cmdline.c |  | 1 | - |  | 22 | - |
FAIL |  | imap_search_parse_key |  | mail-search-parser-imap.c |  | 1 | - |  | 3 | - |
Pass |  | imap_search_parse_string |  | mail-search-parser-imap.c |  | 0 |  | 0 |
FAIL |  | imap_search_parse_skip_next |  | mail-search-parser-imap.c |  | 1 | - |  | 10 | - |
FAIL |  | mail_search_parser_init_imap |  | mail-search-parser-imap.c |  | 1 | - |  | 20 | - |
Pass |  | mail_search_parser_deinit |  | mail-search-parser.c |  | 0 |  | 0 |
Pass |  | mail_search_parse_key |  | mail-search-parser.c |  | 0 |  | 0 |
Pass |  | mail_search_parse_string |  | mail-search-parser.c |  | 0 |  | 0 |
Pass |  | mail_search_parse_skip_next |  | mail-search-parser.c |  | 0 |  | 0 |
Pass |  | mail_search_parser_get_error |  | mail-search-parser.c |  | 0 |  | 0 |
FAIL |  | human_search_or |  | mail-search-register-human.c |  | 1 | - |  | 17 | - |
FAIL |  | arg_new_human_date |  | mail-search-register-human.c |  | 1 | - |  | 7 | - |
Pass |  | human_search_before |  | mail-search-register-human.c |  | 0 |  | 0 |
Pass |  | human_search_on |  | mail-search-register-human.c |  | 0 |  | 0 |
Pass |  | human_search_since |  | mail-search-register-human.c |  | 0 |  | 0 |
Pass |  | human_search_sentbefore |  | mail-search-register-human.c |  | 0 |  | 0 |
Pass |  | human_search_senton |  | mail-search-register-human.c |  | 0 |  | 0 |
Pass |  | human_search_sentsince |  | mail-search-register-human.c |  | 0 |  | 0 |
Pass |  | human_search_savedbefore |  | mail-search-register-human.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | human_search_savedon |  | mail-search-register-human.c |  | 0 |  | 0 |
Pass |  | human_search_savedsince |  | mail-search-register-human.c |  | 0 |  | 0 |
FAIL |  | arg_new_human_size |  | mail-search-register-human.c |  | 1 | - |  | 24 | - |
Pass |  | human_search_larger |  | mail-search-register-human.c |  | 0 |  | 0 |
Pass |  | human_search_smaller |  | mail-search-register-human.c |  | 0 |  | 0 |
Pass |  | human_search_guid |  | mail-search-register-human.c |  | 0 |  | 0 |
FAIL |  | human_search_mailbox |  | mail-search-register-human.c |  | 1 | - |  | 10 | - |
Pass |  | human_search_mailbox_guid |  | mail-search-register-human.c |  | 0 |  | 0 |
FAIL |  | mail_search_register_init_human |  | mail-search-register-human.c |  | 1 | - |  | 17 | - |
FAIL |  | mail_search_register_get_human |  | mail-search-register-human.c |  | 1 | - |  | 8 | - |
FAIL |  | imap_search_fallback |  | mail-search-register-imap.c |  | 1 | - |  | 6 | - |
FAIL |  | imap_search_not |  | mail-search-register-imap.c |  | 1 | - |  | 17 | - |
FAIL |  | imap_search_or |  | mail-search-register-imap.c |  | 1 | - |  | 10 | - |
Pass |  | imap_search_all |  | mail-search-register-imap.c |  | 0 |  | 0 |
FAIL |  | imap_search_uid |  | mail-search-register-imap.c |  | 1 | - |  | 3 | - |
FAIL |  | imap_search_answered |  | mail-search-register-imap.c |  | 1 | - |  | 33 | - |
FAIL |  | imap_search_unanswered |  | mail-search-register-imap.c |  | 1 | - |  | 29 | - |
FAIL |  | imap_search_deleted |  | mail-search-register-imap.c |  | 1 | - |  | 33 | - |
FAIL |  | imap_search_undeleted |  | mail-search-register-imap.c |  | 1 | - |  | 29 | - |
FAIL |  | imap_search_draft |  | mail-search-register-imap.c |  | 1 | - |  | 33 | - |
FAIL |  | imap_search_undraft |  | mail-search-register-imap.c |  | 1 | - |  | 29 | - |
FAIL |  | imap_search_flagged |  | mail-search-register-imap.c |  | 1 | - |  | 33 | - |
FAIL |  | imap_search_unflagged |  | mail-search-register-imap.c |  | 1 | - |  | 29 | - |
FAIL |  | imap_search_seen |  | mail-search-register-imap.c |  | 1 | - |  | 33 | - |
FAIL |  | imap_search_unseen |  | mail-search-register-imap.c |  | 1 | - |  | 29 | - |
FAIL |  | imap_search_recent |  | mail-search-register-imap.c |  | 1 | - |  | 33 | - |
FAIL |  | imap_search_old |  | mail-search-register-imap.c |  | 1 | - |  | 29 | - |
FAIL |  | imap_search_new |  | mail-search-register-imap.c |  | 1 | - |  | 30 | - |
Pass |  | imap_search_keyword |  | mail-search-register-imap.c |  | 0 |  | 0 |
FAIL |  | imap_search_unkeyword |  | mail-search-register-imap.c |  | 1 | - |  | 7 | - |
FAIL |  | arg_new_date |  | mail-search-register-imap.c |  | 1 | - |  | 18 | - |
Pass |  | imap_search_before |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_on |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_since |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_sentbefore |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_senton |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_sentsince |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_x_savedbefore |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_x_savedon |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_x_savedsince |  | mail-search-register-imap.c |  | 0 |  | 0 |
FAIL |  | arg_new_size |  | mail-search-register-imap.c |  | 1 | - |  | 19 | - |
Pass |  | imap_search_larger |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_smaller |  | mail-search-register-imap.c |  | 0 |  | 0 |
FAIL |  | arg_new_header |  | mail-search-register-imap.c |  | 1 | - |  | 29 | - |
Pass |  | imap_search_bcc |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_cc |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_from |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_to |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_subject |  | mail-search-register-imap.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | imap_search_header |  | mail-search-register-imap.c |  | 1 | - |  | 13 | - |
Pass |  | imap_search_body |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_text |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_x_body_fast |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_x_text_fast |  | mail-search-register-imap.c |  | 0 |  | 0 |
FAIL |  | arg_new_interval |  | mail-search-register-imap.c |  | 1 | - |  | 20 | - |
FAIL |  | imap_search_older |  | mail-search-register-imap.c |  | 1 | - |  | 29 | - |
Pass |  | imap_search_younger |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | arg_modseq_set_type |  | mail-search-register-imap.c |  | 0 |  | 0 |
FAIL |  | arg_modseq_set_ext |  | mail-search-register-imap.c |  | 1 | - |  | 6 | - |
FAIL |  | imap_search_modseq |  | mail-search-register-imap.c |  | 1 | - |  | 8 | - |
FAIL |  | imap_search_last_result |  | mail-search-register-imap.c |  | 1 | - |  | 25 | - |
FAIL |  | imap_search_inthread |  | mail-search-register-imap.c |  | 1 | - |  | 17 | - |
Pass |  | imap_search_x_guid |  | mail-search-register-imap.c |  | 0 |  | 0 |
Pass |  | imap_search_x_mailbox |  | mail-search-register-imap.c |  | 0 |  | 0 |
FAIL |  | mail_search_register_init_imap |  | mail-search-register-imap.c |  | 1 | - |  | 25 | - |
Pass |  | mail_search_register_get_imap |  | mail-search-register-imap.c |  | 0 |  | 0 |
FAIL |  | mail_search_register_init |  | mail-search-register.c |  | 1 | - |  | 38 | - |
FAIL |  | mail_search_register_deinit |  | mail-search-register.c |  | 1 | - |  | 10 | - |
Pass |  | mail_search_register_add |  | mail-search-register.c |  | 0 |  | 0 |
Pass |  | mail_search_register_fallback |  | mail-search-register.c |  | 0 |  | 0 |
Pass |  | mail_search_register_arg_cmp |  | mail-search-register.c |  | 0 |  | 0 |
Pass |  | mail_search_register_get |  | mail-search-register.c |  | 0 |  | 0 |
FAIL |  | mail_search_register_find |  | mail-search-register.c |  | 1 | - |  | 11 | - |
Pass |  | mail_search_reg ster_get_fallback |  | mail-search-register.c |  | 0 |  | 0 |
Pass |  | mailbox_uidset_change |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_init_sub |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_init |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_deinit_sub |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_deinit |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_seq2uid_sub |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_seq2uid |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_ref |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_unref |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_arg_dup_one |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_arg_dup |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_dup |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_reset |  | mail-search.c |  | 0 |  | 0 |
Pass |  | search_arg_foreach |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_foreach |  | mail-search.c |  | 0 |  | 0 |
Pass |  | search_arg_analyze |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_analyze |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_arg _match_mailbox_arg |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_match_mailbox |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_keywords_merge |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_simplify_sub |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_arg _unnest_inthreads |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_simplify |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_arg_one_equals |  | mail-search.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | mail_search_arg_equals |  | mail-search.c |  | 0 |  | 0 |
Pass |  | mail_search_args_equal |  | mail-search.c |  | 0 |  | 0 |
FAIL |  | mail_storage_hooks_init |  | mail-storage-hooks.c |  | 1 | - |  | 88 | - |
FAIL |  | mail_storage_hooks_deinit |  | mail-storage-hooks.c |  | 1 | - |  | 75 | - |
FAIL |  | mail_storage_hooks_add |  | mail-storage-hooks.c |  | 1 | - |  | 63 | - |
FAIL |  | mail_storage_hooks_remove |  | mail-storage-hooks.c |  | 1 | - |  | 6 | - |
FAIL |  | mail_storage_hooks_add_internal |  | mail-storage-hooks.c |  | 1 | - |  | 60 | - |
FAIL |  | mail_storage_hooks_remove_internal |  | mail-storage-hooks.c |  | 1 | - |  | 6 | - |
FAIL |  | mail_storage_module_hooks_cmp |  | mail-storage-hooks.c |  | 1 | - |  | 12 | - |
FAIL |  | mail_user_add_plugin_hooks |  | mail-storage-hooks.c |  | 1 | - |  | 17 | - |
Pass |  | hook_vfuncs_update |  | mail-storage-hooks.c |  | 0 |  | 0 |
FAIL |  | hook_mail_user_created |  | mail-storage-hooks.c |  | 1 | - |  | 3 | - |
Pass |  | hook_mail_names ace_storage_added |  | mail-storage-hooks.c |  | 0 |  | 0 |
Pass |  | hook_mail_namespaces_created |  | mail-storage-hooks.c |  | 0 |  | 0 |
FAIL |  | hook_mail_storage_created |  | mail-storage-hooks.c |  | 1 | - |  | 4 | - |
FAIL |  | hook_mailbox_list_created |  | mail-storage-hooks.c |  | 1 | - |  | 4 | - |
FAIL |  | hook_mailbox_allocated |  | mail-storage-hooks.c |  | 1 | - |  | 4 | - |
Pass |  | hook_mailbox_opened |  | mail-storage-hooks.c |  | 0 |  | 0 |
FAIL |  | hook_mail_allocated |  | mail-storage-hooks.c |  | 1 | - |  | 4 | - |
Pass |  | mail_user_set_get_mail_debug |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | set_keyval |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | set_line |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | validate_chroot |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | user_reply_handle |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | service_auth_userdb_lookup |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | parse_uid |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | parse_gid |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | service_drop_privileges |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_service_init_post |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | get_var_expand_table |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | user_expand_varstr |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_service_init_log |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_se vice_time_moved |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_service_init |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_se vice_get_auth_conn |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_se vice_read_settings |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_se vice_first_init |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_se vice_load_modules |  | mail-storage-service.c |  | 0 |  | 0 |
FAIL |  | mail_storage_service_lookup |  | mail-storage-service.c |  | 1 | - |  | 1 | - |
Pass |  | mail_storage_service_next |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_se vice_restrict_setenv |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_se vice_lookup_next |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_service_user_free |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_se vice_init_settings |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_service_all_init |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_service_all_next |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_service_deinit |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_se vice_user_get_set |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_se vice_user_get_input |  | mail-storage-service.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | mail_storage_se vice_user_get_settings_parser |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_storage_se vice_get_settings |  | mail-storage-service.c |  | 0 |  | 0 |
Pass |  | mail_user_set_g t_driver_settings |  | mail-storage-settings.c |  | 0 |  | 0 |
Pass |  | mail_user_set_get_storage_set |  | mail-storage-settings.c |  | 0 |  | 0 |
Pass |  | mail_storage_ge _driver_settings |  | mail-storage-settings.c |  | 0 |  | 0 |
Pass |  | mail_storage_se tings_to_index_flags |  | mail-storage-settings.c |  | 0 |  | 0 |
FAIL |  | mail_storage_get_dynamic_parsers |  | mail-storage-settings.c |  | 1 | - |  | 11 | - |
Pass |  | fix_base_path |  | mail-storage-settings.c |  | 0 |  | 0 |
FAIL |  | mail_storage_settings_check |  | mail-storage-settings.c |  | 1 | - |  | 1 | - |
FAIL |  | namespace_settings_check |  | mail-storage-settings.c |  | 1 | - |  | 3 | - |
Pass |  | mail_user_settings_check |  | mail-storage-settings.c |  | 0 |  | 0 |
Pass |  | mail_storage_init |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_deinit |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_class_register |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_class_unregister |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_find_class |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_autodetect |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_set_autodetection |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_get_class |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_create_root |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_find |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_create |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_unref |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_obj_ref |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_obj_unref |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_clear_error |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_set_error |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_se _internal_error |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_set_critical |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_copy_list_error |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_set_index_error |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_get_settings |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_get_user |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_set_callbacks |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_purge |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_get_last_error |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_is_mailbox_file |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_se _error_from_errno |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_alloc |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_open_full |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_open |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_open_stream |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_enable |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_enabled_features |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_close |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_free |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_create |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_update |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_mark_index_deleted |  | mail-storage.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | mailbox_try_undelete |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_delete |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storages_r name_compatible |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | nullequals |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_lists_r name_compatible |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_rename |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_storage |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_namespace |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_settings |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_name |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_vname |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_is_readonly |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_allow_new_keywords |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_backends_equal |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_status |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_guid |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_sync_init |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_sync_next |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_sync_deinit |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_sync |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_notify_changes |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_notify_changes_stop |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_keywords_create |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_keywords_create_valid |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_keyword _create_from_indexes |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_keywords_ref |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_keywords_unref |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_keyword_is_valid |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_seq_range |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_uid_range |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_expunges |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_virtual_uid |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_vir ual_backend_boxes |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_get_vir ual_box_patterns |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_header_lookup_init |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_header_lookup_ref |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_header_lookup_unref |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_search_init |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_search_deinit |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_search_next |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_search_next_nonblock |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_search_seen_lost_data |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_search_result_build |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_transaction_begin |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_transaction_commit |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_transac ion_commit_get_changes |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_transaction_rollback |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_transaction_get_count |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_transac ion_set_max_modseq |  | mail-storage.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | mailbox_transac ion_get_mailbox |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_save_alloc |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_save_set_flags |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_save_copy_flags |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_save_set_min_modseq |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_save_set_received_date |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_save_set_save_date |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_save_set_from_envelope |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_save_set_uid |  | mail-storage.c |  | 0 |  | 0 |
FAIL |  | mailbox_save_set_guid |  | mail-storage.c |  | 1 | - |  | 5 | - |
Pass |  | mailbox_save_set_pop3_uidl |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_save_set_dest_mail |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_save_begin |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_save_continue |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_save_finish |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_save_cancel |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_copy |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_is_inconsistent |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_set_deleted |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_refresh_permissions |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mailbox_create_fd |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_storage_get_lock_timeout |  | mail-storage.c |  | 0 |  | 0 |
Pass |  | mail_thread_type_parse |  | mail-thread.c |  | 0 |  | 0 |
Pass |  | mail_user_deinit_base |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_alloc |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_expand_plugins_envs |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_init |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_ref |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_unref |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_find |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_set_vars |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_var_expand_table |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_set_home |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_add_namespace |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_drop_ seless_namespaces |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_home_expand |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_get_home |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_is_plugin_loaded |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_plugin_getenv |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_set_plugin_getenv |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_try_home_expand |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_get_temp_prefix_base |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_get_temp_prefix |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_user_get_a vil_userip_ident |  | mail-user.c |  | 0 |  | 0 |
Pass |  | mail_alloc |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_free |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_set_seq |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_set_uid |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_flags |  | mail.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | mail_get_modseq |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_keywords |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_keyword_indexes |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_parts |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_date |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_received_date |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_save_date |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_virtual_size |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_physical_size |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_first_header |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_first_header_utf8 |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_headers |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_headers_utf8 |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_header_stream |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_set_aborted |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_stream |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_special |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_get_real_mail |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_update_flags |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_update_keywords |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_update_modseq |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_update_uid |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_update_pop3_uidl |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_expunge |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_set_expunged |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_set_cache_corrupted |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_generate_guid_string |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_generate_guid_128 |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_generate_guid_128_hash |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_guid_128_is_empty |  | mail.c |  | 0 |  | 0 |
Pass |  | mail_guid_128_to_string |  | mail.c |  | 0 |  | 0 |
FAIL |  | mailbox_list_check_root_delete |  | mailbox-list-delete.c |  | 1 | - |  | 4 | - |
FAIL |  | unique_fname |  | mailbox-list-delete.c |  | 1 | - |  | 57 | - |
FAIL |  | mailbox_list_delete_maildir_via_trash |  | mailbox-list-delete.c |  | 1 | - |  | 2 | - |
FAIL |  | mailbox_list_delete_mailbox_file |  | mailbox-list-delete.c |  | 1 | - |  | 2 | - |
FAIL |  | mailbox_list_delete_mailbox_nonrecursive |  | mailbox-list-delete.c |  | 1 | - |  | 1 | - |
FAIL |  | mailbox_list_delete_until_root |  | mailbox-list-delete.c |  | 1 | - |  | 4 | - |
FAIL |  | mailbox_list_try_delete |  | mailbox-list-delete.c |  | 1 | - |  | 2 | - |
Pass |  | mailbox_list_delete_finish |  | mailbox-list-delete.c |  | 0 |  | 0 |
FAIL |  | list_is_maildir_mailbox |  | mailbox-list-fs-flags.c |  | 1 | - |  | 3 | - |
FAIL |  | is_inbox_file |  | mailbox-list-fs-flags.c |  | 1 | - |  | 8 | - |
FAIL |  | fs_list_get_mailbox_flags |  | mailbox-list-fs-flags.c |  | 1 | - |  | 1 | - |
Pass |  | pattern_get_path_pos |  | mailbox-list-fs-iter.c |  | 0 |  | 0 |
FAIL |  | pattern_has_wildcard_at |  | mailbox-list-fs-iter.c |  | 1 | - |  | 4 | - |
Pass |  | list_opendir |  | mailbox-list-fs-iter.c |  | 0 |  | 0 |
FAIL |  | list_get_rootdir |  | mailbox-list-fs-iter.c |  | 1 | - |  | 5 | - |
FAIL |  | fs_list_iter_init |  | mailbox-list-fs-iter.c |  | 1 | - |  | 8 | - |
FAIL |  | list_dir_context_free |  | mailbox-list-fs-iter.c |  | 1 | - |  | 36 | - |
FAIL |  | fs_list_iter_deinit |  | mailbox-list-fs-iter.c |  | 1 | - |  | 7 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | fs_list_iter_next |  | mailbox-list-fs-iter.c |  | 1 | - |  | 3 | - |
Pass |  | path_split |  | mailbox-list-fs-iter.c |  | 0 |  | 0 |
Pass |  | fs_list_get_subscription_flags |  | mailbox-list-fs-iter.c |  | 0 |  | 0 |
Pass |  | inbox_flags_set |  | mailbox-list-fs-iter.c |  | 0 |  | 0 |
Pass |  | fs_list_inbox |  | mailbox-list-fs-iter.c |  | 0 |  | 0 |
FAIL |  | list_file_is_inbox |  | mailbox-list-fs-iter.c |  | 1 | - |  | 40 | - |
Pass |  | list_file_inbox |  | mailbox-list-fs-iter.c |  | 0 |  | 0 |
FAIL |  | list_file_subdir |  | mailbox-list-fs-iter.c |  | 1 | - |  | 8 | - |
FAIL |  | list_file |  | mailbox-list-fs-iter.c |  | 1 | - |  | 1 | - |
FAIL |  | fs_list_subs |  | mailbox-list-fs-iter.c |  | 1 | - |  | 12 | - |
FAIL |  | fs_list_dir_next |  | mailbox-list-fs-iter.c |  | 1 | - |  | 4 | - |
FAIL |  | fs_list_next |  | mailbox-list-fs-iter.c |  | 1 | - |  | 4 | - |
FAIL |  | fs_list_alloc |  | mailbox-list-fs.c |  | 1 | - |  | 44 | - |
Pass |  | fs_list_deinit |  | mailbox-list-fs.c |  | 0 |  | 0 |
Pass |  | fs_list_is_valid_common |  | mailbox-list-fs.c |  | 0 |  | 0 |
FAIL |  | fs_list_is_valid_common_nonfs |  | mailbox-list-fs.c |  | 1 | - |  | 1 | - |
Pass |  | fs_is_valid_pattern |  | mailbox-list-fs.c |  | 0 |  | 0 |
Pass |  | fs_is_valid_existing_name |  | mailbox-list-fs.c |  | 0 |  | 0 |
Pass |  | fs_is_valid_create_name |  | mailbox-list-fs.c |  | 0 |  | 0 |
FAIL |  | fs_list_get_path |  | mailbox-list-fs.c |  | 1 | - |  | 1 | - |
FAIL |  | fs_list_get_mailbox_name_status |  | mailbox-list-fs.c |  | 1 | - |  | 3 | - |
Pass |  | fs_list_get_temp_prefix |  | mailbox-list-fs.c |  | 0 |  | 0 |
Pass |  | fs_list_join_refpattern |  | mailbox-list-fs.c |  | 0 |  | 0 |
FAIL |  | fs_list_set_subscribed |  | mailbox-list-fs.c |  | 1 | - |  | 25 | - |
FAIL |  | mailbox_is_selectable |  | mailbox-list-fs.c |  | 1 | - |  | 11 | - |
FAIL |  | fs_list_create_mailbox_dir |  | mailbox-list-fs.c |  | 1 | - |  | 4 | - |
FAIL |  | mailbox_list_fs_get_trash_dir |  | mailbox-list-fs.c |  | 1 | - |  | 20 | - |
FAIL |  | fs_list_delete_mailbox |  | mailbox-list-fs.c |  | 1 | - |  | 4 | - |
FAIL |  | fs_list_delete_dir |  | mailbox-list-fs.c |  | 1 | - |  | 8 | - |
FAIL |  | rename_dir |  | mailbox-list-fs.c |  | 1 | - |  | 13 | - |
FAIL |  | fs_list_rename_mailbox |  | mailbox-list-fs.c |  | 1 | - |  | 5 | - |
Pass |  | node_fix_parents |  | mailbox-list-maildir-iter.c |  | 0 |  | 0 |
FAIL |  | maildir_fill_parents |  | mailbox-list-maildir-iter.c |  | 1 | - |  | 3 | - |
FAIL |  | maildir_set_children |  | mailbox-list-maildir-iter.c |  | 1 | - |  | 6 | - |
FAIL |  | maildir_fill_inbox |  | mailbox-list-maildir-iter.c |  | 1 | - |  | 8 | - |
FAIL |  | maildir_get_type |  | mailbox-list-maildir-iter.c |  | 1 | - |  | 4 | - |
FAIL |  | maildir_list_get_mailbox_flags |  | mailbox-list-maildir-iter.c |  | 1 | - |  | 2 | - |
FAIL |  | maildir_delete_trash_dir |  | mailbox-list-maildir-iter.c |  | 1 | - |  | 3 | - |
FAIL |  | maildir_fill_readdir |  | mailbox-list-maildir-iter.c |  | 1 | - |  | 2 | - |
FAIL |  | maildir_fill_other_ns_subscriptions |  | mailbox-list-maildir-iter.c |  | 1 | - |  | 10 | - |
FAIL |  | maildir_fill_other_subscriptions |  | mailbox-list-maildir-iter.c |  | 1 | - |  | 3 | - |
FAIL |  | maildir_list_iter_init |  | mailbox-list-maildir-iter.c |  | 1 | - |  | 4 | - |
Pass |  | maildir_list_iter_deinit |  | mailbox-list-maildir-iter.c |  | 0 |  | 0 |
Pass |  | maildir_list_iter_next |  | mailbox-list-maildir-iter.c |  | 0 |  | 0 |
FAIL |  | maildir_list_alloc |  | mailbox-list-maildir.c |  | 1 | - |  | 40 | - |
FAIL |  | imapdir_list_alloc |  | mailbox-list-maildir.c |  | 1 | - |  | 40 | - |
Pass |  | maildir_list_deinit |  | mailbox-list-maildir.c |  | 0 |  | 0 |
Pass |  | maildir_list_get_dirname_path |  | mailbox-list-maildir.c |  | 0 |  | 0 |
Pass |  | maildir_list_get_absolute_path |  | mailbox-list-maildir.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | maildir_list_is_valid_common |  | mailbox-list-maildir.c |  | 0 |  | 0 |
Pass |  | maildir_list_is valid_common_nonfs |  | mailbox-list-maildir.c |  | 0 |  | 0 |
Pass |  | maildir_is_valid_pattern |  | mailbox-list-maildir.c |  | 0 |  | 0 |
Pass |  | maildir_is_valid_existing_name |  | mailbox-list-maildir.c |  | 0 |  | 0 |
FAIL |  | maildir_is_valid_create_name |  | mailbox-list-maildir.c |  | 1 | - |  | 4 | - |
FAIL |  | maildir_list_get_path |  | mailbox-list-maildir.c |  | 1 | - |  | 1 | - |
FAIL |  | maildir_list_get_mailbox_name_status |  | mailbox-list-maildir.c |  | 1 | - |  | 2 | - |
Pass |  | maildir_list_get_temp_prefix |  | mailbox-list-maildir.c |  | 0 |  | 0 |
FAIL |  | maildir_list_set_subscribed |  | mailbox-list-maildir.c |  | 1 | - |  | 25 | - |
FAIL |  | maildir_list_create_maildirfolder_file |  | mailbox-list-maildir.c |  | 1 | - |  | 8 | - |
FAIL |  | maildir_list_create_mailbox_dir |  | mailbox-list-maildir.c |  | 1 | - |  | 7 | - |
FAIL |  | mailbox_list_maildir_get_trash_dir |  | mailbox-list-maildir.c |  | 1 | - |  | 20 | - |
FAIL |  | maildir_list_delete_maildir |  | mailbox-list-maildir.c |  | 1 | - |  | 6 | - |
Pass |  | maildir_list_delete_mailbox |  | mailbox-list-maildir.c |  | 0 |  | 0 |
FAIL |  | maildir_list_delete_dir |  | mailbox-list-maildir.c |  | 1 | - |  | 4 | - |
FAIL |  | rename_dir |  | mailbox-list-maildir.c |  | 1 | - |  | 13 | - |
FAIL |  | maildir_rename_children |  | mailbox-list-maildir.c |  | 1 | - |  | 16 | - |
FAIL |  | maildir_list_rename_mailbox |  | mailbox-list-maildir.c |  | 1 | - |  | 4 | - |
FAIL |  | none_list_alloc |  | mailbox-list-none.c |  | 1 | - |  | 38 | - |
Pass |  | none_list_deinit |  | mailbox-list-none.c |  | 0 |  | 0 |
Pass |  | none_is_valid_pattern |  | mailbox-list-none.c |  | 0 |  | 0 |
Pass |  | none_is_valid_existing_name |  | mailbox-list-none.c |  | 0 |  | 0 |
Pass |  | none_is_valid_create_name |  | mailbox-list-none.c |  | 0 |  | 0 |
Pass |  | none_list_get_path |  | mailbox-list-none.c |  | 0 |  | 0 |
Pass |  | none_list_get_m ilbox_name_status |  | mailbox-list-none.c |  | 0 |  | 0 |
Pass |  | none_list_get_temp_prefix |  | mailbox-list-none.c |  | 0 |  | 0 |
Pass |  | none_list_set_subscribed |  | mailbox-list-none.c |  | 0 |  | 0 |
Pass |  | none_list_create_mailbox_dir |  | mailbox-list-none.c |  | 0 |  | 0 |
Pass |  | none_list_delete_mailbox |  | mailbox-list-none.c |  | 0 |  | 0 |
Pass |  | none_list_delete_dir |  | mailbox-list-none.c |  | 0 |  | 0 |
Pass |  | none_list_rename_mailbox |  | mailbox-list-none.c |  | 0 |  | 0 |
FAIL |  | none_list_iter_init |  | mailbox-list-none.c |  | 1 | - |  | 43 | - |
FAIL |  | none_list_iter_deinit |  | mailbox-list-none.c |  | 1 | - |  | 14 | - |
Pass |  | none_list_iter_next |  | mailbox-list-none.c |  | 0 |  | 0 |
Pass |  | none_list_get_mailbox_flags |  | mailbox-list-none.c |  | 0 |  | 0 |
FAIL |  | mailbox_list_subscriptions_fill_real |  | mailbox-list-subscriptions.c |  | 1 | - |  | 19 | - |
Pass |  | mailbox_list_su scriptions_fill |  | mailbox-list-subscriptions.c |  | 0 |  | 0 |
Pass |  | mailbox_lists_init |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_lists_deinit |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_driver_find |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_register |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_unregister |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_find_class |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_create |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | fix_path |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | split_next_arg |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_settings_parse |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_ge _unexpanded_path |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_destroy |  | mailbox-list.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | mailbox_list_get_driver_name |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_get_hierarchy_sep |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_get_flags |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_get_namespace |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | get_dir_mode |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_get_user |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_get_storage |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_ge _closest_storage |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_ge _permissions_full |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_get_permissions |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_ge _dir_permissions |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_stat_parent |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | get_expanded_path |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_mkdir |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_is_valid_pattern |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_is valid_existing_name |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_is valid_create_name |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_get_path |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_get_root_path |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_get_temp_prefix |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_ge _global_temp_prefix |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_join_refpattern |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_ge _mailbox_name_status |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_iter_init |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_it r_init_multiple |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | ns_match_simple |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | ns_match_inbox |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | ns_match_next |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | ns_match |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | ns_next |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_ns_iter_next |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_ns_iter_deinit |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | dup_patterns_without_stars |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_it r_init_namespaces |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_iter_next |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_iter_deinit |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_mailbox |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_init_changelog |  | mailbox-list.c |  | 0 |  | 0 |
FAIL |  | mailbox_list_add_change |  | mailbox-list.c |  | 1 | - |  | 4 | - |
Pass |  | mailbox_list_set_subscribed |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_delete_dir |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_name_get_sha128 |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_get_changelog |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_se _changelog_timestamp |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | node_fix_parents |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_iter_update_real |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_iter_update |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_name_is_too_large |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_get_file_type |  | mailbox-list.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | mailbox_list_try_get_home_path |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_tr _get_absolute_path |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_create_parent_dir |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_get_last_error |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_clear_error |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_set_error |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_se _internal_error |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_set_critical |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_list_se _error_from_errno |  | mailbox-list.c |  | 0 |  | 0 |
Pass |  | mailbox_search_ esult_analyze_args |  | mailbox-search-result.c |  | 0 |  | 0 |
Pass |  | mailbox_search_result_alloc |  | mailbox-search-result.c |  | 0 |  | 0 |
Pass |  | mailbox_search_result_free |  | mailbox-search-result.c |  | 0 |  | 0 |
Pass |  | mailbox_search_result_save |  | mailbox-search-result.c |  | 0 |  | 0 |
Pass |  | mailbox_search_ esult_initial_done |  | mailbox-search-result.c |  | 0 |  | 0 |
Pass |  | mailbox_search_ esults_initial_done |  | mailbox-search-result.c |  | 0 |  | 0 |
Pass |  | mailbox_search_result_add |  | mailbox-search-result.c |  | 0 |  | 0 |
Pass |  | mailbox_search_result_remove |  | mailbox-search-result.c |  | 0 |  | 0 |
Pass |  | mailbox_search_results_add |  | mailbox-search-result.c |  | 0 |  | 0 |
Pass |  | mailbox_search_results_remove |  | mailbox-search-result.c |  | 0 |  | 0 |
Pass |  | mailbox_search_result_never |  | mailbox-search-result.c |  | 0 |  | 0 |
Pass |  | mailbox_search_results_never |  | mailbox-search-result.c |  | 0 |  | 0 |
Pass |  | mailbox_search_result_get |  | mailbox-search-result.c |  | 0 |  | 0 |
Pass |  | mailbox_search_result_sync |  | mailbox-search-result.c |  | 0 |  | 0 |
FAIL |  | mailbox_tree_init |  | mailbox-tree.c |  | 1 | - |  | 33 | - |
Pass |  | mailbox_tree_deinit |  | mailbox-tree.c |  | 0 |  | 0 |
FAIL |  | mailbox_tree_traverse |  | mailbox-tree.c |  | 1 | - |  | 10 | - |
Pass |  | mailbox_tree_get |  | mailbox-tree.c |  | 0 |  | 0 |
FAIL |  | mailbox_tree_lookup |  | mailbox-tree.c |  | 1 | - |  | 9 | - |
FAIL |  | mailbox_tree_iterate_init |  | mailbox-tree.c |  | 1 | - |  | 20 | - |
FAIL |  | mailbox_tree_iterate_set_next_node |  | mailbox-tree.c |  | 1 | - |  | 3 | - |
FAIL |  | mailbox_tree_iterate_next |  | mailbox-tree.c |  | 1 | - |  | 3 | - |
FAIL |  | mailbox_tree_iterate_deinit |  | mailbox-tree.c |  | 1 | - |  | 9 | - |
Pass |  | mailbox_uidvali ity_next_fallback |  | mailbox-uidvalidity.c |  | 0 |  | 0 |
Pass |  | mailbox_uidvalidity_write |  | mailbox-uidvalidity.c |  | 0 |  | 0 |
Conditional Pass |  | mailbox_uidvalidity_rename |  | mailbox-uidvalidity.c |  | 1 | - |  | 2 | - |
Pass |  | mailbox_uidvali ity_next_rescan |  | mailbox-uidvalidity.c |  | 0 |  | 0 |
Pass |  | mailbox_uidvalidity_next |  | mailbox-uidvalidity.c |  | 0 |  | 0 |
FAIL |  | do_save_mail_size |  | maildir-copy.c |  | 1 | - |  | 15 | - |
FAIL |  | do_save_mail_vsize |  | maildir-copy.c |  | 1 | - |  | 21 | - |
Pass |  | do_hardlink |  | maildir-copy.c |  | 0 |  | 0 |
FAIL |  | maildir_copy_hardlink |  | maildir-copy.c |  | 1 | - |  | 5 | - |
Pass |  | maildir_compatible_file_modes |  | maildir-copy.c |  | 0 |  | 0 |
Pass |  | maildir_copy |  | maildir-copy.c |  | 0 |  | 0 |
Pass |  | maildir_filename_generate |  | maildir-filename.c |  | 0 |  | 0 |
FAIL |  | maildir_filename_get_flags |  | maildir-filename.c |  | 1 | - |  | 3 | - |
Pass |  | char_cmp |  | maildir-filename.c |  | 0 |  | 0 |
FAIL |  | maildir_filename_append_keywords |  | maildir-filename.c |  | 1 | - |  | 4 | - |
FAIL |  | maildir_filename_set_flags |  | maildir-filename.c |  | 1 | - |  | 2 | - |
Pass |  | maildir_filename_get_size |  | maildir-filename.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | maildir_filename_base_hash |  | maildir-filename.c |  | 0 |  | 0 |
Pass |  | maildir_filename_base_cmp |  | maildir-filename.c |  | 0 |  | 0 |
Pass |  | maildir_fname_get_usecs |  | maildir-filename.c |  | 0 |  | 0 |
FAIL |  | maildir_filename_sort_cmp |  | maildir-filename.c |  | 1 | - |  | 5 | - |
FAIL |  | maildir_keywords_init |  | maildir-keywords.c |  | 1 | - |  | 29 | - |
FAIL |  | maildir_keywords_init_readonly |  | maildir-keywords.c |  | 1 | - |  | 21 | - |
FAIL |  | maildir_keywords_deinit |  | maildir-keywords.c |  | 1 | - |  | 24 | - |
Pass |  | maildir_keywords_clear |  | maildir-keywords.c |  | 0 |  | 0 |
FAIL |  | maildir_keywords_sync |  | maildir-keywords.c |  | 1 | - |  | 2 | - |
Pass |  | maildir_keywords_lookup |  | maildir-keywords.c |  | 0 |  | 0 |
FAIL |  | maildir_keywords_create |  | maildir-keywords.c |  | 1 | - |  | 11 | - |
Pass |  | maildir_keyword _lookup_or_create |  | maildir-keywords.c |  | 0 |  | 0 |
Pass |  | maildir_keywords_idx |  | maildir-keywords.c |  | 0 |  | 0 |
FAIL |  | maildir_keywords_write_fd |  | maildir-keywords.c |  | 1 | - |  | 1 | - |
FAIL |  | maildir_keywords_commit |  | maildir-keywords.c |  | 1 | - |  | 4 | - |
FAIL |  | maildir_keywords_sync_init |  | maildir-keywords.c |  | 1 | - |  | 27 | - |
FAIL |  | maildir_keywords_sync_init_readonly |  | maildir-keywords.c |  | 1 | - |  | 25 | - |
FAIL |  | maildir_keywords_sync_deinit |  | maildir-keywords.c |  | 1 | - |  | 6 | - |
FAIL |  | maildir_keywords_char_idx |  | maildir-keywords.c |  | 1 | - |  | 8 | - |
FAIL |  | maildir_keywords_idx_char |  | maildir-keywords.c |  | 1 | - |  | 22 | - |
Pass |  | do_open |  | maildir-mail.c |  | 0 |  | 0 |
Pass |  | do_stat |  | maildir-mail.c |  | 0 |  | 0 |
FAIL |  | maildir_open_mail |  | maildir-mail.c |  | 1 | - |  | 11 | - |
FAIL |  | maildir_mail_stat |  | maildir-mail.c |  | 1 | - |  | 7 | - |
FAIL |  | maildir_mail_get_received_date |  | maildir-mail.c |  | 1 | - |  | 10 | - |
Pass |  | maildir_mail_get_save_date |  | maildir-mail.c |  | 0 |  | 0 |
FAIL |  | maildir_mail_get_fname |  | maildir-mail.c |  | 1 | - |  | 16 | - |
FAIL |  | maildir_get_pop3_state |  | maildir-mail.c |  | 1 | - |  | 2 | - |
FAIL |  | maildir_quick_size_lookup |  | maildir-mail.c |  | 1 | - |  | 7 | - |
FAIL |  | maildir_handle_size_caching |  | maildir-mail.c |  | 1 | - |  | 2 | - |
FAIL |  | maildir_mail_get_virtual_size |  | maildir-mail.c |  | 1 | - |  | 6 | - |
FAIL |  | maildir_mail_get_physical_size |  | maildir-mail.c |  | 1 | - |  | 5 | - |
FAIL |  | maildir_mail_get_special |  | maildir-mail.c |  | 1 | - |  | 7 | - |
FAIL |  | maildir_mail_get_stream |  | maildir-mail.c |  | 1 | - |  | 4 | - |
Pass |  | maildir_mail_update_uid |  | maildir-mail.c |  | 0 |  | 0 |
FAIL |  | maildir_update_pop3_uidl |  | maildir-mail.c |  | 1 | - |  | 20 | - |
FAIL |  | maildir_mail_set_cache_corrupted |  | maildir-mail.c |  | 1 | - |  | 12 | - |
FAIL |  | maildir_file_move |  | maildir-save.c |  | 1 | - |  | 8 | - |
FAIL |  | maildir_save_transaction_init |  | maildir-save.c |  | 1 | - |  | 10 | - |
FAIL |  | maildir_save_add |  | maildir-save.c |  | 1 | - |  | 2 | - |
FAIL |  | maildir_get_dest_filename |  | maildir-save.c |  | 1 | - |  | 5 | - |
FAIL |  | maildir_mf_get_path |  | maildir-save.c |  | 1 | - |  | 11 | - |
FAIL |  | maildir_save_file_get_path |  | maildir-save.c |  | 1 | - |  | 6 | - |
FAIL |  | maildir_create_tmp |  | maildir-save.c |  | 1 | - |  | 4 | - |
Pass |  | maildir_save_alloc |  | maildir-save.c |  | 0 |  | 0 |
FAIL |  | maildir_save_begin |  | maildir-save.c |  | 1 | - |  | 2 | - |
Pass |  | maildir_save_continue |  | maildir-save.c |  | 0 |  | 0 |
FAIL |  | maildir_save_finish_received_date |  | maildir-save.c |  | 1 | - |  | 3 | - |
FAIL |  | maildir_save_remove_last_filename |  | maildir-save.c |  | 1 | - |  | 7 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | maildir_save_finish_real |  | maildir-save.c |  | 1 | - |  | 1 | - |
Pass |  | maildir_save_finish |  | maildir-save.c |  | 0 |  | 0 |
Pass |  | maildir_save_cancel |  | maildir-save.c |  | 0 |  | 0 |
FAIL |  | maildir_save_add_conflict |  | maildir-save.c |  | 1 | - |  | 11 | - |
FAIL |  | maildir_sync_conflict |  | maildir-save.c |  | 1 | - |  | 16 | - |
FAIL |  | maildir_sync_conflicts |  | maildir-save.c |  | 1 | - |  | 4 | - |
Pass |  | maildir_save_unlink_files |  | maildir-save.c |  | 0 |  | 0 |
Pass |  | maildir_transaction_fsync_dirs |  | maildir-save.c |  | 0 |  | 0 |
Pass |  | seq_range_cmp |  | maildir-save.c |  | 0 |  | 0 |
Pass |  | maildir_save_set_recent_flags |  | maildir-save.c |  | 0 |  | 0 |
Pass |  | maildir_save_sync_index |  | maildir-save.c |  | 0 |  | 0 |
Pass |  | maildir_save_ro lback_index_changes |  | maildir-save.c |  | 0 |  | 0 |
Pass |  | maildir_filenam _check_conflicts |  | maildir-save.c |  | 0 |  | 0 |
FAIL |  | maildir_save_move_files_to_newcur |  | maildir-save.c |  | 1 | - |  | 3 | - |
FAIL |  | maildir_save_sync_uidlist |  | maildir-save.c |  | 1 | - |  | 7 | - |
FAIL |  | maildir_transaction_save_commit_pre |  | maildir-save.c |  | 1 | - |  | 3 | - |
Pass |  | maildir_transac ion_save_commit_post |  | maildir-save.c |  | 0 |  | 0 |
Pass |  | maildir_transac ion_save_rollback |  | maildir-save.c |  | 0 |  | 0 |
Pass |  | maildir_get_set ing_parser_info |  | maildir-settings.c |  | 0 |  | 0 |
FAIL |  | maildir_storage_alloc |  | maildir-storage.c |  | 1 | - |  | 25 | - |
FAIL |  | maildir_storage_create |  | maildir-storage.c |  | 1 | - |  | 4 | - |
Pass |  | maildir_storage get_list_settings |  | maildir-storage.c |  | 0 |  | 0 |
FAIL |  | maildir_storage_find_root_dir |  | maildir-storage.c |  | 1 | - |  | 5 | - |
FAIL |  | maildir_storage_autodetect |  | maildir-storage.c |  | 1 | - |  | 3 | - |
Pass |  | mkdir_verify |  | maildir-storage.c |  | 0 |  | 0 |
FAIL |  | maildir_check_tmp |  | maildir-storage.c |  | 1 | - |  | 2 | - |
FAIL |  | create_maildir |  | maildir-storage.c |  | 1 | - |  | 4 | - |
Pass |  | maildir_lock_touch_timeout |  | maildir-storage.c |  | 0 |  | 0 |
FAIL |  | maildir_mailbox_alloc |  | maildir-storage.c |  | 1 | - |  | 22 | - |
FAIL |  | maildir_mailbox_open_existing |  | maildir-storage.c |  | 1 | - |  | 3 | - |
FAIL |  | maildir_mailbox_open |  | maildir-storage.c |  | 1 | - |  | 1 | - |
FAIL |  | maildir_create_shared |  | maildir-storage.c |  | 1 | - |  | 3 | - |
FAIL |  | maildir_mailbox_update |  | maildir-storage.c |  | 1 | - |  | 2 | - |
FAIL |  | maildir_mailbox_create |  | maildir-storage.c |  | 1 | - |  | 4 | - |
Pass |  | maildir_mailbox_get_guid |  | maildir-storage.c |  | 0 |  | 0 |
FAIL |  | maildir_mailbox_close |  | maildir-storage.c |  | 1 | - |  | 4 | - |
Pass |  | maildir_notify_changes |  | maildir-storage.c |  | 0 |  | 0 |
Pass |  | maildir_is_internal_name |  | maildir-storage.c |  | 0 |  | 0 |
FAIL |  | maildir_list_get_mailbox_flags |  | maildir-storage.c |  | 1 | - |  | 5 | - |
FAIL |  | maildir_storage_add_list |  | maildir-storage.c |  | 1 | - |  | 22 | - |
FAIL |  | maildir_get_uidvalidity_next |  | maildir-storage.c |  | 1 | - |  | 29 | - |
Pass |  | maildir_sync_ge _keywords_sync_ctx |  | maildir-sync-index.c |  | 0 |  | 0 |
FAIL |  | maildir_index_expunge |  | maildir-sync-index.c |  | 1 | - |  | 25 | - |
FAIL |  | maildir_expunge_is_valid_guid |  | maildir-sync-index.c |  | 1 | - |  | 6 | - |
Pass |  | maildir_expunge |  | maildir-sync-index.c |  | 0 |  | 0 |
FAIL |  | maildir_sync_flags |  | maildir-sync-index.c |  | 1 | - |  | 7 | - |
Pass |  | maildir_handle_uid_insertion |  | maildir-sync-index.c |  | 0 |  | 0 |
FAIL |  | maildir_sync_index_begin |  | maildir-sync-index.c |  | 1 | - |  | 17 | - |
FAIL |  | maildir_index_header_has_changed |  | maildir-sync-index.c |  | 1 | - |  | 3 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | maildir_sync_index_update_ext_header |  | maildir-sync-index.c |  | 1 | - |  | 11 | - |
FAIL |  | maildir_sync_index_finish |  | maildir-sync-index.c |  | 1 | - |  | 5 | - |
Pass |  | maildir_sync_index_commit |  | maildir-sync-index.c |  | 0 |  | 0 |
Pass |  | maildir_sync_index_rollback |  | maildir-sync-index.c |  | 0 |  | 0 |
Pass |  | uint_cmp |  | maildir-sync-index.c |  | 0 |  | 0 |
FAIL |  | maildir_sync_mail_keywords |  | maildir-sync-index.c |  | 1 | - |  | 4 | - |
FAIL |  | maildir_sync_index |  | maildir-sync-index.c |  | 1 | - |  | 4 | - |
Pass |  | maildir_list_get_ext_id |  | maildir-sync-index.c |  | 0 |  | 0 |
FAIL |  | maildir_list_index_has_changed |  | maildir-sync-index.c |  | 1 | - |  | 8 | - |
FAIL |  | maildir_list_index_update_sync |  | maildir-sync-index.c |  | 1 | - |  | 12 | - |
Pass |  | maildir_sync_notify |  | maildir-sync.c |  | 0 |  | 0 |
FAIL |  | maildir_sync_context_new |  | maildir-sync.c |  | 1 | - |  | 18 | - |
Pass |  | maildir_sync_deinit |  | maildir-sync.c |  | 0 |  | 0 |
FAIL |  | maildir_fix_duplicate |  | maildir-sync.c |  | 1 | - |  | 7 | - |
Pass |  | maildir_stat |  | maildir-sync.c |  | 0 |  | 0 |
FAIL |  | maildir_scan_dir |  | maildir-sync.c |  | 1 | - |  | 2 | - |
FAIL |  | maildir_sync_header_refresh |  | maildir-sync.c |  | 1 | - |  | 16 | - |
FAIL |  | maildir_sync_quick_check |  | maildir-sync.c |  | 1 | - |  | 1 | - |
FAIL |  | maildir_sync_update_next_uid |  | maildir-sync.c |  | 1 | - |  | 5 | - |
Pass |  | have_recent_messages |  | maildir-sync.c |  | 0 |  | 0 |
Pass |  | maildir_sync_get_changes |  | maildir-sync.c |  | 0 |  | 0 |
FAIL |  | maildir_sync_context |  | maildir-sync.c |  | 1 | - |  | 2 | - |
FAIL |  | maildir_storage_sync_force |  | maildir-sync.c |  | 1 | - |  | 18 | - |
FAIL |  | maildir_storage_sync_init |  | maildir-sync.c |  | 1 | - |  | 9 | - |
FAIL |  | maildir_sync_is_synced |  | maildir-sync.c |  | 1 | - |  | 21 | - |
FAIL |  | maildir_uidlist_lock_timeout |  | maildir-uidlist.c |  | 1 | - |  | 2 | - |
Pass |  | maildir_uidlist_lock |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_try_lock |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_lock_touch |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_is_locked |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_unlock |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | dotlock_callback |  | maildir-uidlist.c |  | 0 |  | 0 |
FAIL |  | maildir_uidlist_init |  | maildir-uidlist.c |  | 1 | - |  | 16 | - |
Pass |  | maildir_uidlist_close |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_reset |  | maildir-uidlist.c |  | 0 |  | 0 |
FAIL |  | maildir_uidlist_deinit |  | maildir-uidlist.c |  | 1 | - |  | 10 | - |
Pass |  | maildir_uid_cmp |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_set_corrupted |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_update_hdr |  | maildir-uidlist.c |  | 0 |  | 0 |
FAIL |  | maildir_uidlist_records_array_delete |  | maildir-uidlist.c |  | 1 | - |  | 5 | - |
FAIL |  | maildir_uidlist_read_extended |  | maildir-uidlist.c |  | 1 | - |  | 10 | - |
FAIL |  | maildir_uidlist_next |  | maildir-uidlist.c |  | 1 | - |  | 2 | - |
FAIL |  | maildir_uidlist_read_v3_header |  | maildir-uidlist.c |  | 1 | - |  | 9 | - |
FAIL |  | maildir_uidlist_read_header |  | maildir-uidlist.c |  | 1 | - |  | 1 | - |
Pass |  | maildir_uidlist records_sort_by_uid |  | maildir-uidlist.c |  | 0 |  | 0 |
FAIL |  | maildir_uidlist_update_read |  | maildir-uidlist.c |  | 1 | - |  | 1 | - |
Pass |  | maildir_uidlist_stat |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_has_changed |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_open_latest |  | maildir-uidlist.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | maildir_uidlist_refresh |  | maildir-uidlist.c |  | 1 | - |  | 33 | - |
FAIL |  | maildir_uidlist_refresh_fast_init |  | maildir-uidlist.c |  | 1 | - |  | 2 | - |
FAIL |  | maildir_uidlist_lookup_rec |  | maildir-uidlist.c |  | 1 | - |  | 5 | - |
FAIL |  | maildir_uidlist_lookup |  | maildir-uidlist.c |  | 1 | - |  | 90 | - |
FAIL |  | maildir_uidlist_lookup_nosync |  | maildir-uidlist.c |  | 1 | - |  | 13 | - |
FAIL |  | maildir_uidlist_lookup_ext |  | maildir-uidlist.c |  | 1 | - |  | 9 | - |
Pass |  | maildir_uidlist get_uid_validity |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_get_next_uid |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist get_mailbox_guid |  | maildir-uidlist.c |  | 0 |  | 0 |
FAIL |  | maildir_uidlist_set_mailbox_guid |  | maildir-uidlist.c |  | 1 | - |  | 18 | - |
Pass |  | maildir_uidlist set_uid_validity |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_set_next_uid |  | maildir-uidlist.c |  | 0 |  | 0 |
FAIL |  | maildir_uidlist_set_ext_real |  | maildir-uidlist.c |  | 1 | - |  | 59 | - |
Pass |  | maildir_uidlist_set_ext |  | maildir-uidlist.c |  | 0 |  | 0 |
FAIL |  | maildir_uidlist_generate_uid_validity |  | maildir-uidlist.c |  | 1 | - |  | 5 | - |
FAIL |  | maildir_uidlist_write_fd |  | maildir-uidlist.c |  | 1 | - |  | 4 | - |
FAIL |  | maildir_uidlist_records_drop_expunges |  | maildir-uidlist.c |  | 1 | - |  | 11 | - |
FAIL |  | maildir_uidlist_recreate |  | maildir-uidlist.c |  | 1 | - |  | 2 | - |
FAIL |  | maildir_uidlist_update |  | maildir-uidlist.c |  | 1 | - |  | 31 | - |
Pass |  | maildir_uidlist_want_compress |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_want_recreate |  | maildir-uidlist.c |  | 0 |  | 0 |
FAIL |  | maildir_uidlist_sync_update |  | maildir-uidlist.c |  | 1 | - |  | 7 | - |
FAIL |  | maildir_uidlist_mark_all |  | maildir-uidlist.c |  | 1 | - |  | 6 | - |
FAIL |  | maildir_uidlist_sync_lock |  | maildir-uidlist.c |  | 1 | - |  | 33 | - |
Pass |  | maildir_uidlist set_all_nonsynced |  | maildir-uidlist.c |  | 0 |  | 0 |
FAIL |  | maildir_uidlist_sync_init |  | maildir-uidlist.c |  | 1 | - |  | 8 | - |
FAIL |  | maildir_uidlist_sync_next_partial |  | maildir-uidlist.c |  | 1 | - |  | 8 | - |
Pass |  | ext_dup |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_sync_next |  | maildir-uidlist.c |  | 0 |  | 0 |
FAIL |  | maildir_uidlist_sync_next_uid |  | maildir-uidlist.c |  | 1 | - |  | 3 | - |
Pass |  | maildir_uidlist_sync_remove |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist sync_get_full_filename |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist_get_uid |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_uidlist get_full_filename |  | maildir-uidlist.c |  | 0 |  | 0 |
Pass |  | maildir_assign_uid_cmp |  | maildir-uidlist.c |  | 0 |  | 0 |
FAIL |  | maildir_uidlist_assign_uids |  | maildir-uidlist.c |  | 1 | - |  | 1 | - |
FAIL |  | maildir_uidlist_swap |  | maildir-uidlist.c |  | 1 | - |  | 4 | - |
Pass |  | maildir_uidlist_sync_recreate |  | maildir-uidlist.c |  | 0 |  | 0 |
FAIL |  | maildir_uidlist_sync_finish |  | maildir-uidlist.c |  | 1 | - |  | 1 | - |
FAIL |  | maildir_uidlist_sync_deinit |  | maildir-uidlist.c |  | 1 | - |  | 1 | - |
Pass |  | maildir_uidlist_add_flags |  | maildir-uidlist.c |  | 0 |  | 0 |
FAIL |  | maildir_uidlist_iter_init |  | maildir-uidlist.c |  | 1 | - |  | 33 | - |
FAIL |  | maildir_uidlist_iter_update_idx |  | maildir-uidlist.c |  | 1 | - |  | 3 | - |
FAIL |  | maildir_uidlist_iter_next_rec |  | maildir-uidlist.c |  | 1 | - |  | 6 | - |
FAIL |  | maildir_uidlist_iter_next |  | maildir-uidlist.c |  | 1 | - |  | 6 | - |
FAIL |  | maildir_uidlist_iter_deinit |  | maildir-uidlist.c |  | 1 | - |  | 14 | - |
FAIL |  | maildir_filename_guess |  | maildir-util.c |  | 1 | - |  | 14 | - |
FAIL |  | maildir_file_do_try |  | maildir-util.c |  | 1 | - |  | 15 | - |
Pass |  | do_racecheck |  | maildir-util.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | maildir_file_do |  | maildir-util.c |  | 1 | - |  | 5 | - |
FAIL |  | maildir_create_path |  | maildir-util.c |  | 1 | - |  | 6 | - |
FAIL |  | maildir_create_subdirs |  | maildir-util.c |  | 1 | - |  | 6 | - |
Pass |  | maildir_set_deleted |  | maildir-util.c |  | 0 |  | 0 |
FAIL |  | mbox_file_open |  | mbox-file.c |  | 1 | - |  | 1 | - |
Pass |  | mbox_file_close |  | mbox-file.c |  | 0 |  | 0 |
Pass |  | mbox_file_open_stream |  | mbox-file.c |  | 0 |  | 0 |
FAIL |  | mbox_file_fix_atime |  | mbox-file.c |  | 1 | - |  | 2 | - |
Pass |  | mbox_file_close_stream |  | mbox-file.c |  | 0 |  | 0 |
FAIL |  | mbox_file_lookup_offset |  | mbox-file.c |  | 1 | - |  | 11 | - |
FAIL |  | mbox_file_seek |  | mbox-file.c |  | 1 | - |  | 4 | - |
FAIL |  | mbox_read_lock_methods |  | mbox-lock.c |  | 1 | - |  | 2 | - |
FAIL |  | mbox_init_lock_settings |  | mbox-lock.c |  | 1 | - |  | 6 | - |
Pass |  | mbox_file_open_latest |  | mbox-lock.c |  | 0 |  | 0 |
FAIL |  | dotlock_callback |  | mbox-lock.c |  | 1 | - |  | 1 | - |
FAIL |  | mbox_dotlock_privileged_op |  | mbox-lock.c |  | 1 | - |  | 2 | - |
FAIL |  | mbox_dotlock_log_eacces_error |  | mbox-lock.c |  | 1 | - |  | 13 | - |
FAIL |  | mbox_lock_dotlock_int |  | mbox-lock.c |  | 1 | - |  | 1 | - |
Pass |  | mbox_lock_dotlock |  | mbox-lock.c |  | 0 |  | 0 |
Pass |  | mbox_lock_dotlock_try |  | mbox-lock.c |  | 0 |  | 0 |
Pass |  | mbox_lock_flock |  | mbox-lock.c |  | 0 |  | 0 |
Pass |  | mbox_lock_lockf |  | mbox-lock.c |  | 0 |  | 0 |
Pass |  | mbox_lock_fcntl |  | mbox-lock.c |  | 0 |  | 0 |
Pass |  | mbox_lock_list |  | mbox-lock.c |  | 0 |  | 0 |
FAIL |  | mbox_update_locking |  | mbox-lock.c |  | 1 | - |  | 1 | - |
Pass |  | mbox_lock |  | mbox-lock.c |  | 0 |  | 0 |
Pass |  | mbox_unlock_files |  | mbox-lock.c |  | 0 |  | 0 |
FAIL |  | mbox_unlock |  | mbox-lock.c |  | 1 | - |  | 1 | - |
FAIL |  | mbox_dotlock_touch |  | mbox-lock.c |  | 1 | - |  | 4 | - |
Pass |  | mbox_prepare_resync |  | mbox-mail.c |  | 0 |  | 0 |
FAIL |  | mbox_mail_seek |  | mbox-mail.c |  | 1 | - |  | 1 | - |
FAIL |  | mbox_mail_get_received_date |  | mbox-mail.c |  | 1 | - |  | 3 | - |
Pass |  | mbox_mail_get_save_date |  | mbox-mail.c |  | 0 |  | 0 |
FAIL |  | mbox_mail_get_md5_header |  | mbox-mail.c |  | 1 | - |  | 6 | - |
FAIL |  | mbox_mail_get_special |  | mbox-mail.c |  | 1 | - |  | 1 | - |
FAIL |  | mbox_mail_get_next_offset |  | mbox-mail.c |  | 1 | - |  | 8 | - |
FAIL |  | mbox_mail_get_physical_size |  | mbox-mail.c |  | 1 | - |  | 7 | - |
FAIL |  | mbox_mail_init_stream |  | mbox-mail.c |  | 1 | - |  | 8 | - |
FAIL |  | mbox_mail_get_stream |  | mbox-mail.c |  | 1 | - |  | 6 | - |
Pass |  | mbox_mail_set_seq |  | mbox-mail.c |  | 0 |  | 0 |
Pass |  | mbox_mail_set_uid |  | mbox-mail.c |  | 0 |  | 0 |
Pass |  | parse_date |  | mbox-md5.c |  | 0 |  | 0 |
Pass |  | parse_delivered_to |  | mbox-md5.c |  | 0 |  | 0 |
Pass |  | parse_message_id |  | mbox-md5.c |  | 0 |  | 0 |
Pass |  | parse_received |  | mbox-md5.c |  | 0 |  | 0 |
Pass |  | parse_x_delivery_id |  | mbox-md5.c |  | 0 |  | 0 |
Pass |  | bsearch_header_func_cmp |  | mbox-md5.c |  | 0 |  | 0 |
FAIL |  | mbox_md5_init |  | mbox-md5.c |  | 1 | - |  | 50 | - |
FAIL |  | mbox_md5_continue |  | mbox-md5.c |  | 1 | - |  | 8 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | mbox_md5_finish |  | mbox-md5.c |  | 1 | - |  | 14 | - |
Pass |  | write_error |  | mbox-save.c |  | 0 |  | 0 |
FAIL |  | mbox_seek_to_end |  | mbox-save.c |  | 1 | - |  | 3 | - |
Pass |  | mbox_append_lf |  | mbox-save.c |  | 0 |  | 0 |
FAIL |  | write_from_line |  | mbox-save.c |  | 1 | - |  | 8 | - |
FAIL |  | mbox_write_content_length |  | mbox-save.c |  | 1 | - |  | 2 | - |
FAIL |  | mbox_save_init_sync |  | mbox-save.c |  | 1 | - |  | 20 | - |
Pass |  | status_flags_append |  | mbox-save.c |  | 0 |  | 0 |
Pass |  | mbox_save_append_flag_headers |  | mbox-save.c |  | 0 |  | 0 |
FAIL |  | mbox_save_append_keyword_headers |  | mbox-save.c |  | 1 | - |  | 11 | - |
Pass |  | mbox_save_init_file |  | mbox-save.c |  | 0 |  | 0 |
Pass |  | save_header_callback |  | mbox-save.c |  | 0 |  | 0 |
FAIL |  | mbox_save_x_delivery_id |  | mbox-save.c |  | 1 | - |  | 29 | - |
FAIL |  | mbox_save_get_input_stream |  | mbox-save.c |  | 1 | - |  | 10 | - |
FAIL |  | mbox_save_alloc |  | mbox-save.c |  | 1 | - |  | 4 | - |
Pass |  | mbox_save_begin |  | mbox-save.c |  | 0 |  | 0 |
FAIL |  | mbox_save_body_input |  | mbox-save.c |  | 1 | - |  | 13 | - |
Pass |  | mbox_save_body |  | mbox-save.c |  | 0 |  | 0 |
Pass |  | mbox_save_finish_headers |  | mbox-save.c |  | 0 |  | 0 |
FAIL |  | mbox_save_continue |  | mbox-save.c |  | 1 | - |  | 5 | - |
FAIL |  | mbox_save_finish |  | mbox-save.c |  | 1 | - |  | 1 | - |
Pass |  | mbox_save_cancel |  | mbox-save.c |  | 0 |  | 0 |
Pass |  | mbox_transaction_save_deinit |  | mbox-save.c |  | 0 |  | 0 |
Pass |  | mbox_save_truncate |  | mbox-save.c |  | 0 |  | 0 |
FAIL |  | mbox_transaction_save_commit_pre |  | mbox-save.c |  | 1 | - |  | 4 | - |
Pass |  | mbox_transactio _save_commit_post |  | mbox-save.c |  | 0 |  | 0 |
FAIL |  | mbox_transaction_save_rollback |  | mbox-save.c |  | 1 | - |  | 5 | - |
Pass |  | mbox_get_setting_parser_info |  | mbox-settings.c |  | 0 |  | 0 |
Pass |  | mbox_set_syscall_error |  | mbox-storage.c |  | 0 |  | 0 |
FAIL |  | mbox_list_get_path |  | mbox-storage.c |  | 1 | - |  | 5 | - |
FAIL |  | mbox_storage_alloc |  | mbox-storage.c |  | 1 | - |  | 13 | - |
FAIL |  | mbox_storage_create |  | mbox-storage.c |  | 1 | - |  | 3 | - |
Pass |  | mbox_storage_get_list_settings |  | mbox-storage.c |  | 0 |  | 0 |
Pass |  | mbox_is_file |  | mbox-storage.c |  | 0 |  | 0 |
Pass |  | mbox_is_dir |  | mbox-storage.c |  | 0 |  | 0 |
Pass |  | mbox_storage_is_root_dir |  | mbox-storage.c |  | 0 |  | 0 |
FAIL |  | mbox_storage_find_root_dir |  | mbox-storage.c |  | 1 | - |  | 11 | - |
FAIL |  | mbox_storage_find_inbox_file |  | mbox-storage.c |  | 1 | - |  | 4 | - |
FAIL |  | mbox_storage_autodetect |  | mbox-storage.c |  | 1 | - |  | 5 | - |
FAIL |  | want_memory_indexes |  | mbox-storage.c |  | 1 | - |  | 10 | - |
FAIL |  | mbox_mailbox_alloc |  | mbox-storage.c |  | 1 | - |  | 14 | - |
Pass |  | mbox_lock_touch_timeout |  | mbox-storage.c |  | 0 |  | 0 |
FAIL |  | mbox_mailbox_open_existing |  | mbox-storage.c |  | 1 | - |  | 2 | - |
Pass |  | mbox_mailbox_open |  | mbox-storage.c |  | 0 |  | 0 |
Pass |  | mbox_mailbox_update |  | mbox-storage.c |  | 0 |  | 0 |
FAIL |  | create_inbox |  | mbox-storage.c |  | 1 | - |  | 2 | - |
FAIL |  | mbox_mailbox_create |  | mbox-storage.c |  | 1 | - |  | 3 | - |
FAIL |  | mbox_mailbox_close |  | mbox-storage.c |  | 1 | - |  | 2 | - |
Pass |  | mbox_mailbox_get_guid |  | mbox-storage.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | mbox_notify_changes |  | mbox-storage.c |  | 0 |  | 0 |
Pass |  | mbox_is_internal_name |  | mbox-storage.c |  | 0 |  | 0 |
FAIL |  | mbox_storage_add_list |  | mbox-storage.c |  | 1 | - |  | 6 | - |
FAIL |  | mbox_transaction_begin |  | mbox-storage.c |  | 1 | - |  | 33 | - |
Pass |  | mbox_transaction_unlock |  | mbox-storage.c |  | 0 |  | 0 |
Pass |  | mbox_transaction_commit |  | mbox-storage.c |  | 0 |  | 0 |
Pass |  | mbox_transaction_rollback |  | mbox-storage.c |  | 0 |  | 0 |
Pass |  | parse_trailing_whitespace |  | mbox-sync-parse.c |  | 0 |  | 0 |
Pass |  | mbox_flag_find |  | mbox-sync-parse.c |  | 0 |  | 0 |
Pass |  | parse_status_flags |  | mbox-sync-parse.c |  | 0 |  | 0 |
Pass |  | parse_status |  | mbox-sync-parse.c |  | 0 |  | 0 |
Pass |  | parse_x_status |  | mbox-sync-parse.c |  | 0 |  | 0 |
FAIL |  | parse_imap_keywords_list |  | mbox-sync-parse.c |  | 1 | - |  | 5 | - |
Pass |  | parse_x_imap_base |  | mbox-sync-parse.c |  | 0 |  | 0 |
Pass |  | parse_x_imap |  | mbox-sync-parse.c |  | 0 |  | 0 |
FAIL |  | parse_x_keywords_real |  | mbox-sync-parse.c |  | 1 | - |  | 1 | - |
Pass |  | parse_x_keywords |  | mbox-sync-parse.c |  | 0 |  | 0 |
Pass |  | parse_x_uid |  | mbox-sync-parse.c |  | 0 |  | 0 |
Pass |  | parse_content_length |  | mbox-sync-parse.c |  | 0 |  | 0 |
Pass |  | mbox_sync_bsear h_header_func_cmp |  | mbox-sync-parse.c |  | 0 |  | 0 |
FAIL |  | mbox_sync_parse_next_mail |  | mbox-sync-parse.c |  | 1 | - |  | 2 | - |
FAIL |  | mbox_sync_parse_match_mail |  | mbox-sync-parse.c |  | 1 | - |  | 9 | - |
FAIL |  | mbox_move |  | mbox-sync-rewrite.c |  | 1 | - |  | 1 | - |
Pass |  | mbox_fill_space |  | mbox-sync-rewrite.c |  | 0 |  | 0 |
Pass |  | mbox_sync_headers_add_space |  | mbox-sync-rewrite.c |  | 0 |  | 0 |
Pass |  | mbox_sync_header_remove_space |  | mbox-sync-rewrite.c |  | 0 |  | 0 |
Pass |  | mbox_sync_headers_remove_space |  | mbox-sync-rewrite.c |  | 0 |  | 0 |
Pass |  | mbox_sync_first_mail_written |  | mbox-sync-rewrite.c |  | 0 |  | 0 |
Pass |  | mbox_sync_try_rewrite |  | mbox-sync-rewrite.c |  | 0 |  | 0 |
FAIL |  | mbox_sync_read_next |  | mbox-sync-rewrite.c |  | 1 | - |  | 2 | - |
FAIL |  | mbox_sync_read_and_move |  | mbox-sync-rewrite.c |  | 1 | - |  | 10 | - |
FAIL |  | mbox_sync_rewrite |  | mbox-sync-rewrite.c |  | 1 | - |  | 1 | - |
Pass |  | status_flags_append |  | mbox-sync-update.c |  | 0 |  | 0 |
Pass |  | mbox_sync_move_buffer |  | mbox-sync-update.c |  | 0 |  | 0 |
FAIL |  | status_flags_replace |  | mbox-sync-update.c |  | 1 | - |  | 3 | - |
FAIL |  | keywords_append |  | mbox-sync-update.c |  | 1 | - |  | 12 | - |
FAIL |  | keywords_append_all |  | mbox-sync-update.c |  | 1 | - |  | 4 | - |
Pass |  | mbox_sync_add_missing_headers |  | mbox-sync-update.c |  | 0 |  | 0 |
Pass |  | mbox_sync_update_status |  | mbox-sync-update.c |  | 0 |  | 0 |
Pass |  | mbox_sync_update_xstatus |  | mbox-sync-update.c |  | 0 |  | 0 |
FAIL |  | mbox_sync_update_line |  | mbox-sync-update.c |  | 1 | - |  | 5 | - |
FAIL |  | mbox_sync_update_xkeywords |  | mbox-sync-update.c |  | 1 | - |  | 8 | - |
FAIL |  | mbox_sync_update_x_imap_base |  | mbox-sync-update.c |  | 1 | - |  | 2 | - |
FAIL |  | mbox_sync_update_x_uid |  | mbox-sync-update.c |  | 1 | - |  | 6 | - |
FAIL |  | mbox_sync_update_header_real |  | mbox-sync-update.c |  | 1 | - |  | 12 | - |
Pass |  | mbox_sync_update_header |  | mbox-sync-update.c |  | 0 |  | 0 |
FAIL |  | mbox_sync_update_header_from_real |  | mbox-sync-update.c |  | 1 | - |  | 4 | - |
Pass |  | mbox_sync_update_header_from |  | mbox-sync-update.c |  | 0 |  | 0 |
Pass |  | mbox_sync_set_critical |  | mbox-sync.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | mbox_sync_seek |  | mbox-sync.c |  | 0 |  | 0 |
FAIL |  | mbox_sync_file_update_ext_modified |  | mbox-sync.c |  | 1 | - |  | 3 | - |
Pass |  | mbox_sync_file_updated |  | mbox-sync.c |  | 0 |  | 0 |
FAIL |  | mbox_sync_read_next_mail |  | mbox-sync.c |  | 1 | - |  | 7 | - |
Pass |  | mbox_sync_read_index_syncs |  | mbox-sync.c |  | 0 |  | 0 |
FAIL |  | mbox_sync_read_index_rec |  | mbox-sync.c |  | 1 | - |  | 3 | - |
FAIL |  | mbox_sync_find_index_md5 |  | mbox-sync.c |  | 1 | - |  | 9 | - |
FAIL |  | mbox_sync_update_from_offset |  | mbox-sync.c |  | 1 | - |  | 9 | - |
FAIL |  | mbox_sync_update_index_keywords |  | mbox-sync.c |  | 1 | - |  | 8 | - |
FAIL |  | mbox_sync_update_md5_if_changed |  | mbox-sync.c |  | 1 | - |  | 15 | - |
FAIL |  | mbox_sync_get_dirty_flags |  | mbox-sync.c |  | 1 | - |  | 6 | - |
Pass |  | mbox_sync_update_flags |  | mbox-sync.c |  | 0 |  | 0 |
Pass |  | mbox_sync_update_index |  | mbox-sync.c |  | 0 |  | 0 |
FAIL |  | mbox_read_from_line |  | mbox-sync.c |  | 1 | - |  | 8 | - |
FAIL |  | mbox_rewrite_base_uid_last |  | mbox-sync.c |  | 1 | - |  | 4 | - |
Pass |  | mbox_write_from_line |  | mbox-sync.c |  | 0 |  | 0 |
Pass |  | update_from_offsets |  | mbox-sync.c |  | 0 |  | 0 |
Pass |  | mbox_sync_handle_expunge |  | mbox-sync.c |  | 0 |  | 0 |
Pass |  | mbox_sync_handle_header |  | mbox-sync.c |  | 0 |  | 0 |
Pass |  | mbox_sync_handle_missing_space |  | mbox-sync.c |  | 0 |  | 0 |
FAIL |  | mbox_sync_seek_to_seq |  | mbox-sync.c |  | 1 | - |  | 4 | - |
FAIL |  | mbox_sync_seek_to_uid |  | mbox-sync.c |  | 1 | - |  | 7 | - |
Pass |  | mbox_sync_partial_seek_next |  | mbox-sync.c |  | 0 |  | 0 |
Pass |  | mbox_sync_hdr_update |  | mbox-sync.c |  | 0 |  | 0 |
Pass |  | mbox_sync_imapbase |  | mbox-sync.c |  | 0 |  | 0 |
FAIL |  | mbox_sync_loop |  | mbox-sync.c |  | 1 | - |  | 3 | - |
FAIL |  | mbox_write_pseudo |  | mbox-sync.c |  | 1 | - |  | 1 | - |
FAIL |  | mbox_sync_handle_eof_updates |  | mbox-sync.c |  | 1 | - |  | 1 | - |
FAIL |  | mbox_sync_index_update_ext_header |  | mbox-sync.c |  | 1 | - |  | 18 | - |
FAIL |  | mbox_sync_update_index_header |  | mbox-sync.c |  | 1 | - |  | 3 | - |
Pass |  | mbox_sync_restart |  | mbox-sync.c |  | 0 |  | 0 |
FAIL |  | mbox_sync_do |  | mbox-sync.c |  | 1 | - |  | 26 | - |
FAIL |  | mbox_sync_header_refresh |  | mbox-sync.c |  | 1 | - |  | 12 | - |
Pass |  | mbox_sync_has_changed |  | mbox-sync.c |  | 0 |  | 0 |
FAIL |  | mbox_sync_has_changed_full |  | mbox-sync.c |  | 1 | - |  | 1 | - |
Pass |  | mbox_sync_context_free |  | mbox-sync.c |  | 0 |  | 0 |
FAIL |  | mbox_sync_int |  | mbox-sync.c |  | 1 | - |  | 8 | - |
Pass |  | mbox_sync |  | mbox-sync.c |  | 0 |  | 0 |
FAIL |  | mbox_storage_sync_init |  | mbox-sync.c |  | 1 | - |  | 2 | - |
FAIL |  | mdbox_find_and_move_open_file |  | mdbox-file.c |  | 1 | - |  | 5 | - |
FAIL |  | mdbox_files_free |  | mdbox-file.c |  | 1 | - |  | 6 | - |
FAIL |  | mdbox_files_sync_input |  | mdbox-file.c |  | 1 | - |  | 5 | - |
FAIL |  | mdbox_close_open_files |  | mdbox-file.c |  | 1 | - |  | 3 | - |
FAIL |  | mdbox_file_init_paths |  | mdbox-file.c |  | 1 | - |  | 32 | - |
Pass |  | mdbox_file_create |  | mdbox-file.c |  | 0 |  | 0 |
FAIL |  | mdbox_file_init_full |  | mdbox-file.c |  | 1 | - |  | 6 | - |
Pass |  | mdbox_file_init |  | mdbox-file.c |  | 0 |  | 0 |
Pass |  | mdbox_file_init_new_alt |  | mdbox-file.c |  | 0 |  | 0 |
FAIL |  | mdbox_file_assign_file_id |  | mdbox-file.c |  | 1 | - |  | 11 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | mdbox_find_oldest_unused_file |  | mdbox-file.c |  | 1 | - |  | 6 | - |
Pass |  | mdbox_file_close_timeout |  | mdbox-file.c |  | 0 |  | 0 |
Pass |  | mdbox_file_close_later |  | mdbox-file.c |  | 0 |  | 0 |
Pass |  | mdbox_file_unrefed |  | mdbox-file.c |  | 0 |  | 0 |
FAIL |  | mdbox_file_create_fd |  | mdbox-file.c |  | 1 | - |  | 4 | - |
FAIL |  | mdbox_mail_lookup |  | mdbox-mail.c |  | 1 | - |  | 7 | - |
Pass |  | dbox_mail_set_expunged |  | mdbox-mail.c |  | 0 |  | 0 |
FAIL |  | dbox_mail_open_init |  | mdbox-mail.c |  | 1 | - |  | 7 | - |
Pass |  | mdbox_mail_open |  | mdbox-mail.c |  | 0 |  | 0 |
FAIL |  | mdbox_mail_get_save_date |  | mdbox-mail.c |  | 1 | - |  | 12 | - |
Pass |  | mdbox_mail_update_flags |  | mdbox-mail.c |  | 0 |  | 0 |
Pass |  | mdbox_map_set_corrupted |  | mdbox-map.c |  | 0 |  | 0 |
FAIL |  | mdbox_map_init |  | mdbox-map.c |  | 1 | - |  | 16 | - |
FAIL |  | mdbox_map_deinit |  | mdbox-map.c |  | 1 | - |  | 15 | - |
Pass |  | mdbox_map_mkdir_storage |  | mdbox-map.c |  | 0 |  | 0 |
Pass |  | mdbox_map_cleanup |  | mdbox-map.c |  | 0 |  | 0 |
Pass |  | mdbox_map_open_internal |  | mdbox-map.c |  | 0 |  | 0 |
Pass |  | mdbox_map_open |  | mdbox-map.c |  | 0 |  | 0 |
Pass |  | mdbox_map_open_or_create |  | mdbox-map.c |  | 0 |  | 0 |
FAIL |  | mdbox_map_refresh |  | mdbox-map.c |  | 1 | - |  | 6 | - |
FAIL |  | mdbox_map_get_ext_hdr |  | mdbox-map.c |  | 1 | - |  | 21 | - |
FAIL |  | mdbox_map_get_rebuild_count |  | mdbox-map.c |  | 1 | - |  | 57 | - |
FAIL |  | mdbox_map_lookup_seq |  | mdbox-map.c |  | 1 | - |  | 20 | - |
Pass |  | mdbox_map_get_seq |  | mdbox-map.c |  | 0 |  | 0 |
FAIL |  | mdbox_map_lookup |  | mdbox-map.c |  | 1 | - |  | 6 | - |
FAIL |  | mdbox_map_lookup_full |  | mdbox-map.c |  | 1 | - |  | 13 | - |
FAIL |  | mdbox_map_view_lookup_rec |  | mdbox-map.c |  | 1 | - |  | 19 | - |
FAIL |  | mdbox_map_get_file_msgs |  | mdbox-map.c |  | 1 | - |  | 13 | - |
FAIL |  | mdbox_map_get_zero_ref_files |  | mdbox-map.c |  | 1 | - |  | 6 | - |
FAIL |  | mdbox_map_transaction_begin |  | mdbox-map.c |  | 1 | - |  | 8 | - |
FAIL |  | mdbox_map_sync_handle |  | mdbox-map.c |  | 1 | - |  | 21 | - |
FAIL |  | mdbox_map_transaction_commit |  | mdbox-map.c |  | 1 | - |  | 18 | - |
Pass |  | mdbox_map_trans ction_set_failed |  | mdbox-map.c |  | 0 |  | 0 |
FAIL |  | mdbox_map_transaction_free |  | mdbox-map.c |  | 1 | - |  | 5 | - |
FAIL |  | mdbox_map_update_refcount |  | mdbox-map.c |  | 1 | - |  | 22 | - |
Pass |  | mdbox_map_update_refcounts |  | mdbox-map.c |  | 0 |  | 0 |
FAIL |  | mdbox_map_remove_file_id |  | mdbox-map.c |  | 1 | - |  | 13 | - |
FAIL |  | mdbox_map_append_begin |  | mdbox-map.c |  | 1 | - |  | 10 | - |
Pass |  | day_begin_stamp |  | mdbox-map.c |  | 0 |  | 0 |
Pass |  | dbox_try_open |  | mdbox-map.c |  | 0 |  | 0 |
FAIL |  | mdbox_map_file_try_append |  | mdbox-map.c |  | 1 | - |  | 3 | - |
FAIL |  | mdbox_map_is_appending |  | mdbox-map.c |  | 1 | - |  | 4 | - |
FAIL |  | mdbox_map_find_existing_append |  | mdbox-map.c |  | 1 | - |  | 7 | - |
FAIL |  | mdbox_map_find_first_alt |  | mdbox-map.c |  | 1 | - |  | 3 | - |
FAIL |  | mdbox_map_find_appendable_file |  | mdbox-map.c |  | 1 | - |  | 13 | - |
FAIL |  | mdbox_map_append_next |  | mdbox-map.c |  | 1 | - |  | 8 | - |
FAIL |  | mdbox_map_append_finish |  | mdbox-map.c |  | 1 | - |  | 3 | - |
FAIL |  | mdbox_map_assign_file_ids |  | mdbox-map.c |  | 1 | - |  | 4 | - |
FAIL |  | mdbox_map_append_assign_map_uids |  | mdbox-map.c |  | 1 | - |  | 8 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | mdbox_map_append_move |  | mdbox-map.c |  | 1 | - |  | 16 | - |
FAIL |  | mdbox_map_append_commit |  | mdbox-map.c |  | 1 | - |  | 4 | - |
FAIL |  | mdbox_map_append_free |  | mdbox-map.c |  | 1 | - |  | 3 | - |
FAIL |  | mdbox_map_generate_uid_validity |  | mdbox-map.c |  | 1 | - |  | 13 | - |
Pass |  | mdbox_map_get_uid_validity |  | mdbox-map.c |  | 0 |  | 0 |
Pass |  | mdbox_map_file_msg_offset_cmp |  | mdbox-purge.c |  | 0 |  | 0 |
FAIL |  | mdbox_file_copy_metadata |  | mdbox-purge.c |  | 1 | - |  | 3 | - |
Pass |  | mdbox_purge_want_altpath |  | mdbox-purge.c |  | 0 |  | 0 |
FAIL |  | mdbox_purge_save_msg |  | mdbox-purge.c |  | 1 | - |  | 4 | - |
FAIL |  | mdbox_file_purge |  | mdbox-purge.c |  | 1 | - |  | 7 | - |
FAIL |  | mdbox_purge_alt_flag_change |  | mdbox-purge.c |  | 1 | - |  | 10 | - |
FAIL |  | mdbox_purge_alloc |  | mdbox-purge.c |  | 1 | - |  | 25 | - |
Pass |  | mdbox_purge_free |  | mdbox-purge.c |  | 0 |  | 0 |
FAIL |  | mdbox_purge_get_primary_files |  | mdbox-purge.c |  | 1 | - |  | 4 | - |
Pass |  | uint32_t_cmp |  | mdbox-purge.c |  | 0 |  | 0 |
FAIL |  | mdbox_altmove_add_files |  | mdbox-purge.c |  | 1 | - |  | 2 | - |
FAIL |  | mdbox_purge |  | mdbox-purge.c |  | 1 | - |  | 9 | - |
FAIL |  | mdbox_copy_file_get_file |  | mdbox-save.c |  | 1 | - |  | 25 | - |
FAIL |  | mdbox_save_file_get_file |  | mdbox-save.c |  | 1 | - |  | 2 | - |
FAIL |  | mdbox_save_alloc |  | mdbox-save.c |  | 1 | - |  | 3 | - |
FAIL |  | mdbox_save_begin |  | mdbox-save.c |  | 1 | - |  | 8 | - |
FAIL |  | mdbox_save_mail_write_metadata |  | mdbox-save.c |  | 1 | - |  | 8 | - |
FAIL |  | mdbox_save_finish_write |  | mdbox-save.c |  | 1 | - |  | 2 | - |
Pass |  | mdbox_save_finish |  | mdbox-save.c |  | 0 |  | 0 |
Pass |  | mdbox_save_cancel |  | mdbox-save.c |  | 0 |  | 0 |
FAIL |  | mdbox_transaction_save_commit_pre |  | mdbox-save.c |  | 1 | - |  | 7 | - |
FAIL |  | mdbox_transaction_save_commit_post |  | mdbox-save.c |  | 1 | - |  | 5 | - |
FAIL |  | mdbox_transaction_save_rollback |  | mdbox-save.c |  | 1 | - |  | 4 | - |
FAIL |  | mdbox_copy |  | mdbox-save.c |  | 1 | - |  | 7 | - |
Pass |  | mdbox_get_setting_parser_info |  | mdbox-settings.c |  | 0 |  | 0 |
Pass |  | guid_hash |  | mdbox-storage-rebuild.c |  | 0 |  | 0 |
Pass |  | guid_cmp |  | mdbox-storage-rebuild.c |  | 0 |  | 0 |
FAIL |  | mdbox_storage_rebuild_init |  | mdbox-storage-rebuild.c |  | 1 | - |  | 7 | - |
Pass |  | mdbox_storage_rebuild_deinit |  | mdbox-storage-rebuild.c |  | 0 |  | 0 |
Pass |  | mdbox_rebuild_msg_offset_cmp |  | mdbox-storage-rebuild.c |  | 0 |  | 0 |
Pass |  | mdbox_rebuild_msg_uid_cmp |  | mdbox-storage-rebuild.c |  | 0 |  | 0 |
FAIL |  | rebuild_file_mails |  | mdbox-storage-rebuild.c |  | 1 | - |  | 3 | - |
FAIL |  | rebuild_rename_file |  | mdbox-storage-rebuild.c |  | 1 | - |  | 6 | - |
FAIL |  | rebuild_add_file |  | mdbox-storage-rebuild.c |  | 1 | - |  | 6 | - |
FAIL |  | rebuild_add_missing_map_uids |  | mdbox-storage-rebuild.c |  | 1 | - |  | 10 | - |
FAIL |  | rebuild_apply_map |  | mdbox-storage-rebuild.c |  | 1 | - |  | 15 | - |
Pass |  | rebuild_lookup_map_uid |  | mdbox-storage-rebuild.c |  | 0 |  | 0 |
FAIL |  | rebuild_mailbox_multi |  | mdbox-storage-rebuild.c |  | 1 | - |  | 6 | - |
FAIL |  | mdbox_rebuild_get_header |  | mdbox-storage-rebuild.c |  | 1 | - |  | 21 | - |
FAIL |  | mdbox_header_update |  | mdbox-storage-rebuild.c |  | 1 | - |  | 14 | - |
FAIL |  | rebuild_mailbox |  | mdbox-storage-rebuild.c |  | 1 | - |  | 12 | - |
Pass |  | rebuild_namespace_mailboxes |  | mdbox-storage-rebuild.c |  | 0 |  | 0 |
Pass |  | rebuild_mailboxes |  | mdbox-storage-rebuild.c |  | 0 |  | 0 |
Pass |  | rebuild_msg_mailbox_commit |  | mdbox-storage-rebuild.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | rebuild_restore_msg |  | mdbox-storage-rebuild.c |  | 1 | - |  | 5 | - |
FAIL |  | rebuild_handle_zero_refs |  | mdbox-storage-rebuild.c |  | 1 | - |  | 2 | - |
FAIL |  | rebuild_update_refcounts |  | mdbox-storage-rebuild.c |  | 1 | - |  | 11 | - |
Pass |  | rebuild_finish |  | mdbox-storage-rebuild.c |  | 0 |  | 0 |
Pass |  | mdbox_storage_rebuild_scan_dir |  | mdbox-storage-rebuild.c |  | 0 |  | 0 |
FAIL |  | mdbox_storage_rebuild_scan |  | mdbox-storage-rebuild.c |  | 1 | - |  | 9 | - |
FAIL |  | mdbox_storage_rebuild |  | mdbox-storage-rebuild.c |  | 1 | - |  | 5 | - |
FAIL |  | mdbox_storage_alloc |  | mdbox-storage.c |  | 1 | - |  | 22 | - |
FAIL |  | mdbox_storage_create |  | mdbox-storage.c |  | 1 | - |  | 4 | - |
FAIL |  | mdbox_storage_destroy |  | mdbox-storage.c |  | 1 | - |  | 3 | - |
FAIL |  | mdbox_mailbox_alloc |  | mdbox-storage.c |  | 1 | - |  | 13 | - |
Pass |  | mdbox_mailbox_close |  | mdbox-storage.c |  | 0 |  | 0 |
FAIL |  | mdbox_read_header |  | mdbox-storage.c |  | 1 | - |  | 8 | - |
FAIL |  | mdbox_update_header |  | mdbox-storage.c |  | 1 | - |  | 8 | - |
FAIL |  | mdbox_write_index_header |  | mdbox-storage.c |  | 1 | - |  | 4 | - |
Pass |  | mdbox_mailbox_create_indexes |  | mdbox-storage.c |  | 0 |  | 0 |
Pass |  | mdbox_storage_set_corrupted |  | mdbox-storage.c |  | 0 |  | 0 |
Pass |  | mdbox_set_file_corrupted |  | mdbox-storage.c |  | 0 |  | 0 |
FAIL |  | mdbox_mailbox_get_guid |  | mdbox-storage.c |  | 1 | - |  | 13 | - |
FAIL |  | mdbox_mailbox_update |  | mdbox-storage.c |  | 1 | - |  | 4 | - |
FAIL |  | mdbox_mailbox_unref_mails |  | mdbox-storage.c |  | 1 | - |  | 13 | - |
Pass |  | mdbox_mailbox_delete |  | mdbox-storage.c |  | 0 |  | 0 |
FAIL |  | dbox_sync_verify_expunge_guid |  | mdbox-sync.c |  | 1 | - |  | 14 | - |
FAIL |  | mdbox_sync_expunge |  | mdbox-sync.c |  | 1 | - |  | 6 | - |
FAIL |  | mdbox_sync_rec |  | mdbox-sync.c |  | 1 | - |  | 8 | - |
FAIL |  | dbox_sync_mark_expunges |  | mdbox-sync.c |  | 1 | - |  | 21 | - |
FAIL |  | mdbox_sync_index |  | mdbox-sync.c |  | 1 | - |  | 6 | - |
FAIL |  | mdbox_refresh_header |  | mdbox-sync.c |  | 1 | - |  | 6 | - |
FAIL |  | mdbox_sync_begin |  | mdbox-sync.c |  | 1 | - |  | 9 | - |
Pass |  | mdbox_sync_finish |  | mdbox-sync.c |  | 0 |  | 0 |
FAIL |  | mdbox_sync |  | mdbox-sync.c |  | 1 | - |  | 17 | - |
Pass |  | mdbox_storage_sync_init |  | mdbox-sync.c |  | 0 |  | 0 |
Pass |  | raw_mail_stat |  | raw-mail.c |  | 0 |  | 0 |
Pass |  | raw_mail_get_received_date |  | raw-mail.c |  | 0 |  | 0 |
Pass |  | raw_mail_get_save_date |  | raw-mail.c |  | 0 |  | 0 |
Pass |  | raw_mail_get_physical_size |  | raw-mail.c |  | 0 |  | 0 |
Pass |  | raw_mail_get_stream |  | raw-mail.c |  | 0 |  | 0 |
Pass |  | raw_mail_get_special |  | raw-mail.c |  | 0 |  | 0 |
FAIL |  | raw_storage_alloc |  | raw-storage.c |  | 1 | - |  | 25 | - |
Pass |  | raw_storage_get_list_settings |  | raw-storage.c |  | 0 |  | 0 |
FAIL |  | raw_mailbox_alloc |  | raw-storage.c |  | 1 | - |  | 19 | - |
Pass |  | raw_mailbox_open |  | raw-storage.c |  | 0 |  | 0 |
Pass |  | raw_mailbox_create |  | raw-storage.c |  | 0 |  | 0 |
Pass |  | raw_mailbox_update |  | raw-storage.c |  | 0 |  | 0 |
Pass |  | raw_notify_changes |  | raw-storage.c |  | 0 |  | 0 |
FAIL |  | raw_sync |  | raw-sync.c |  | 1 | - |  | 11 | - |
Pass |  | raw_storage_sync_init |  | raw-sync.c |  | 0 |  | 0 |
FAIL |  | sdbox_copy_hardlink |  | sdbox-copy.c |  | 1 | - |  | 6 | - |
Pass |  | sdbox_compatible_file_modes |  | sdbox-copy.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | sdbox_copy |  | sdbox-copy.c |  | 0 |  | 0 |
FAIL |  | sdbox_file_init_paths |  | sdbox-file.c |  | 1 | - |  | 26 | - |
FAIL |  | sdbox_file_init |  | sdbox-file.c |  | 1 | - |  | 10 | - |
FAIL |  | sdbox_file_create |  | sdbox-file.c |  | 1 | - |  | 29 | - |
FAIL |  | sdbox_file_assign_uid |  | sdbox-file.c |  | 1 | - |  | 11 | - |
FAIL |  | sdbox_file_create_fd |  | sdbox-file.c |  | 1 | - |  | 4 | - |
Pass |  | sdbox_mail_set_expunged |  | sdbox-mail.c |  | 0 |  | 0 |
Pass |  | sdbox_mail_file_set |  | sdbox-mail.c |  | 0 |  | 0 |
Pass |  | sdbox_mail_open |  | sdbox-mail.c |  | 0 |  | 0 |
Pass |  | sdbox_save_file_get_file |  | sdbox-save.c |  | 0 |  | 0 |
FAIL |  | sdbox_save_alloc |  | sdbox-save.c |  | 1 | - |  | 3 | - |
Pass |  | sdbox_save_add_file |  | sdbox-save.c |  | 0 |  | 0 |
FAIL |  | sdbox_save_begin |  | sdbox-save.c |  | 1 | - |  | 5 | - |
FAIL |  | dbox_save_mail_write_metadata |  | sdbox-save.c |  | 1 | - |  | 13 | - |
FAIL |  | dbox_save_finish_write |  | sdbox-save.c |  | 1 | - |  | 3 | - |
Pass |  | sdbox_save_finish |  | sdbox-save.c |  | 0 |  | 0 |
Pass |  | sdbox_save_cancel |  | sdbox-save.c |  | 0 |  | 0 |
FAIL |  | dbox_save_assign_uids |  | sdbox-save.c |  | 1 | - |  | 10 | - |
FAIL |  | dbox_save_unref_files |  | sdbox-save.c |  | 1 | - |  | 3 | - |
FAIL |  | sdbox_transaction_save_commit_pre |  | sdbox-save.c |  | 1 | - |  | 4 | - |
Pass |  | sdbox_transacti n_save_commit_post |  | sdbox-save.c |  | 0 |  | 0 |
FAIL |  | sdbox_transaction_save_rollback |  | sdbox-save.c |  | 1 | - |  | 3 | - |
FAIL |  | sdbox_storage_alloc |  | sdbox-storage.c |  | 1 | - |  | 22 | - |
Pass |  | sdbox_storage_create |  | sdbox-storage.c |  | 0 |  | 0 |
FAIL |  | sdbox_mailbox_alloc |  | sdbox-storage.c |  | 1 | - |  | 14 | - |
FAIL |  | sdbox_read_header |  | sdbox-storage.c |  | 1 | - |  | 8 | - |
FAIL |  | sdbox_update_header |  | sdbox-storage.c |  | 1 | - |  | 8 | - |
FAIL |  | sdbox_write_index_header |  | sdbox-storage.c |  | 1 | - |  | 4 | - |
Pass |  | sdbox_mailbox_create_indexes |  | sdbox-storage.c |  | 0 |  | 0 |
Pass |  | sdbox_set_file_corrupted |  | sdbox-storage.c |  | 0 |  | 0 |
FAIL |  | sdbox_mailbox_get_guid |  | sdbox-storage.c |  | 1 | - |  | 12 | - |
FAIL |  | dbox_mailbox_update |  | sdbox-storage.c |  | 1 | - |  | 4 | - |
Pass |  | dbox_sync_file_move_if_needed |  | sdbox-sync-file.c |  | 0 |  | 0 |
FAIL |  | dbox_sync_mark_single_file_expunged |  | sdbox-sync-file.c |  | 1 | - |  | 18 | - |
FAIL |  | sdbox_sync_file |  | sdbox-sync-file.c |  | 1 | - |  | 7 | - |
Pass |  | sdbox_sync_set_uidvalidity |  | sdbox-sync-rebuild.c |  | 0 |  | 0 |
FAIL |  | sdbox_sync_add_file_index |  | sdbox-sync-rebuild.c |  | 1 | - |  | 7 | - |
FAIL |  | sdbox_sync_add_file |  | sdbox-sync-rebuild.c |  | 1 | - |  | 14 | - |
Pass |  | sdbox_sync_index_rebuild_dir |  | sdbox-sync-rebuild.c |  | 0 |  | 0 |
FAIL |  | sdbox_sync_update_header |  | sdbox-sync-rebuild.c |  | 1 | - |  | 18 | - |
FAIL |  | sdbox_sync_index_rebuild_singles |  | sdbox-sync-rebuild.c |  | 1 | - |  | 3 | - |
FAIL |  | sdbox_sync_index_rebuild |  | sdbox-sync-rebuild.c |  | 1 | - |  | 18 | - |
Pass |  | sdbox_sync_file_entry_hash |  | sdbox-sync.c |  | 0 |  | 0 |
Pass |  | sdbox_sync_file_entry_cmp |  | sdbox-sync.c |  | 0 |  | 0 |
FAIL |  | sdbox_sync_add_seq |  | sdbox-sync.c |  | 1 | - |  | 2 | - |
FAIL |  | sdbox_sync_add |  | sdbox-sync.c |  | 1 | - |  | 5 | - |
FAIL |  | sdbox_sync_index |  | sdbox-sync.c |  | 1 | - |  | 9 | - |
FAIL |  | sdbox_refresh_header |  | sdbox-sync.c |  | 1 | - |  | 5 | - |
FAIL |  | sdbox_sync_begin |  | sdbox-sync.c |  | 1 | - |  | 9 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | sdbox_sync_finish |  | sdbox-sync.c |  | 0 |  | 0 |
FAIL |  | sdbox_sync |  | sdbox-sync.c |  | 1 | - |  | 17 | - |
Pass |  | sdbox_storage_sync_init |  | sdbox-sync.c |  | 0 |  | 0 |
FAIL |  | shared_list_alloc |  | shared-list.c |  | 1 | - |  | 38 | - |
Pass |  | shared_list_deinit |  | shared-list.c |  | 0 |  | 0 |
FAIL |  | shared_list_copy_error |  | shared-list.c |  | 1 | - |  | 75 | - |
Pass |  | shared_get_storage |  | shared-list.c |  | 0 |  | 0 |
Pass |  | shared_is_valid_pattern |  | shared-list.c |  | 0 |  | 0 |
Pass |  | shared_is_valid_existing_name |  | shared-list.c |  | 0 |  | 0 |
Pass |  | shared_is_valid_create_name |  | shared-list.c |  | 0 |  | 0 |
Pass |  | shared_list_get_path |  | shared-list.c |  | 0 |  | 0 |
Pass |  | shared_list_get mailbox_name_status |  | shared-list.c |  | 0 |  | 0 |
Pass |  | shared_list_get_temp_prefix |  | shared-list.c |  | 0 |  | 0 |
FAIL |  | shared_list_join_refpattern |  | shared-list.c |  | 1 | - |  | 6 | - |
FAIL |  | shared_list_iter_init |  | shared-list.c |  | 1 | - |  | 18 | - |
Pass |  | shared_list_iter_next |  | shared-list.c |  | 0 |  | 0 |
FAIL |  | shared_list_iter_deinit |  | shared-list.c |  | 1 | - |  | 13 | - |
Pass |  | shared_list_set_subscribed |  | shared-list.c |  | 0 |  | 0 |
Pass |  | shared_list_create_mailbox_dir |  | shared-list.c |  | 0 |  | 0 |
Pass |  | shared_list_delete_mailbox |  | shared-list.c |  | 0 |  | 0 |
Pass |  | shared_list_delete_dir |  | shared-list.c |  | 0 |  | 0 |
Pass |  | shared_list_rename_get_ns |  | shared-list.c |  | 0 |  | 0 |
FAIL |  | shared_list_rename_mailbox |  | shared-list.c |  | 1 | - |  | 5 | - |
FAIL |  | shared_storage_alloc |  | shared-storage.c |  | 1 | - |  | 25 | - |
FAIL |  | shared_storage_create |  | shared-storage.c |  | 1 | - |  | 2 | - |
Pass |  | shared_storage_ et_list_settings |  | shared-storage.c |  | 0 |  | 0 |
Pass |  | get_nonexisting_user_location |  | shared-storage.c |  | 0 |  | 0 |
FAIL |  | shared_storage_get_namespace |  | shared-storage.c |  | 1 | - |  | 8 | - |
Pass |  | subsread_set_syscall_error |  | subscription-file.c |  | 0 |  | 0 |
Pass |  | subswrite_set_syscall_error |  | subscription-file.c |  | 0 |  | 0 |
Pass |  | next_line |  | subscription-file.c |  | 0 |  | 0 |
FAIL |  | subsfile_set_subscribed |  | subscription-file.c |  | 1 | - |  | 5 | - |
FAIL |  | subsfile_list_init |  | subscription-file.c |  | 1 | - |  | 9 | - |
FAIL |  | subsfile_list_deinit |  | subscription-file.c |  | 1 | - |  | 13 | - |
Pass |  | subsfile_list_next |  | subscription-file.c |  | 0 |  | 0 |
Pass |  | mail_index_lookup_uid |  | test-index-fetch.c |  | 0 |  | 0 |
Pass |  | mail_index_lookup_seq_range |  | test-index-fetch.c |  | 0 |  | 0 |
Pass |  | mail_index_mods q_get_next_log_offset |  | test-index-fetch.c |  | 0 |  | 0 |
Pass |  | mail_transaction_log_view_open |  | test-index-fetch.c |  | 0 |  | 0 |
Pass |  | mail_transaction_log_view_set |  | test-index-fetch.c |  | 0 |  | 0 |
Pass |  | mail_transactio _log_view_close |  | test-index-fetch.c |  | 0 |  | 0 |
Pass |  | mail_transaction_log_get_tail |  | test-index-fetch.c |  | 0 |  | 0 |
Pass |  | mail_transaction_log_view_next |  | test-index-fetch.c |  | 0 |  | 0 |
FAIL |  | test_index_storage_get_expunges |  | test-index-fetch.c |  | 1 | - |  | 3 | - |
Pass |  | main |  | test-index-fetch.c |  | 0 |  | 0 |
FAIL |  | test_storage_alloc |  | test-mail-storage.c |  | 1 | - |  | 263 |
Pass |  | test_storage_get_list_settings |  | test-mail-storage.c |  | 0 |  | 0 |
FAIL |  | test_mail_storage_create |  | test-mail-storage.c |  | 1 | - |  | 20 | - |
FAIL |  | test_mailbox_mail_alloc |  | test-mail.c |  | 1 | - |  | 15 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | test_mail_free |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_set_seq |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_set_uid |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_set_u d_cache_updates |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_flags |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_keywords |  | test-mail.c |  | 0 |  | 0 |
FAIL |  | test_mail_get_keyword_indexes |  | test-mail.c |  | 1 | - |  | 20 | - |
Pass |  | test_mail_get_modseq |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_parts |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_date |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_received_date |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_save_date |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_test_mail_size |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_physical_size |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_first_header |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_headers |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_header_stream |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_stream |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_special |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_get_real_mail |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_update_flags |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_update_keywords |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_update_modseq |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_update_uid |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_expunge |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mail_set_cache_corrupted |  | test-mail.c |  | 0 |  | 0 |
Pass |  | test_mailbox_is_readonly |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_al ow_new_keywords |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_enable |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_open |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_close |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_create |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_update |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_delete |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_rename |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_get_status |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_sync_init |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_sync_next |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_sync_deinit |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_notify_changes |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_transaction_begin |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_tr nsaction_rollback |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_tr nsaction_commit |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_tr nsaction_set_max_modseq |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_keywords_create |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_ke words_create_from_indexes |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_keywords_ref |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_keywords_unref |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_keyword_is_valid |  | test-mailbox.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | test_mailbox_get_seq_range |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_get_uid_range |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_get_expunged_uids |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_he der_lookup_init |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_he der_lookup_deinit |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_search_init |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_search_deinit |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_se rch_next_nonblock |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_se rch_next_update_seq |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_save_alloc |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_save_begin |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_save_continue |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_save_finish |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_save_cancel |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_copy |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_is_inconsistent |  | test-mailbox.c |  | 0 |  | 0 |
Pass |  | test_mailbox_alloc |  | test-mailbox.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\lib-storage\test-mailbox.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\test-mail.c | Thu May 13 03:40:20 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\test-mail-storage.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mailbox-uidvalidity.c | Mon May 31 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mailbox-tree.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mailbox-search-result.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mailbox-list.c | Thu Jun 17 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-user.c | Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-thread.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-storage.c | Wed Jun 23 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-storage-settings.c | Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-storage-service.c | Tue Apr 13 03:35:14 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-storage-hooks.c | Mon Jun 14 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-search.c | Fri Apr 30 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-search-register.c | Tue Apr 13 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-search-register-imap.c | Fri May 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-search-register-human.c | Mon Jun 21 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-search-parser.c | Tue Apr 20 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-search-parser-imap.c | Thu Apr 29 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-search-parser-cmdline.c | Tue Apr 20 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-search-build.c | Wed Jun 23 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-namespace.c | Tue Jun 08 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-error.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\mail-copy.c | Wed May 26 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\list\subscription-file.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\list\mailbox-list-subscriptions.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\list\mailbox-list-none.c | Sun Apr 04 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\list\mailbox-list-maildir.c | Thu Jun 17 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\list\mailbox-list-maildir-iter.c | Thu Jun 17 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\list\mailbox-list-fs.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\list\mailbox-list-fs-iter.c | Thu Jun 17 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\list\mailbox-list-fs-flags.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\list\mailbox-list-delete.c | Fri Apr 16 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\list\index-mailbox-list.c | Wed Jun 23 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\list\index-mailbox-list-sync.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\test-index-fetch.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\shared\shared-storage.c | Thu Jun 24 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\shared\shared-list.c | Tue Jun 22 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\raw\raw-sync.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\raw\raw-storage.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\raw\raw-mail.c | Thu May 13 03:40:20 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\mbox\mbox-sync.c | Sun Apr 04 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\mbox\mbox-sync-update.c | Sun Apr 04 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\mbox\mbox-sync-rewrite.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\mbox\mbox-sync-parse.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\mbox\mbox-storage.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\mbox\mbox-settings.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\mbox\mbox-save.c | Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\mbox\mbox-md5.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\lib-storage\index\mbox\mbox-mail.c | Thu May 13 03:40:20 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\mbox\mbox-lock.c | Wed Jun 23 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\mbox\mbox-file.c | Fri May 14 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\mbox\istream-raw-mbox.c | Sun Apr 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\maildir\maildir-util.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\maildir\maildir-uidlist.c | Mon Aug 09 12:03:10 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\maildir\maildir-sync.c | Sun Apr 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\maildir\maildir-sync-index.c | Tue May 25 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\maildir\maildir-storage.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\maildir\maildir-settings.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\maildir\maildir-save.c | Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\maildir\maildir-mail.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\maildir\maildir-keywords.c | Wed Jun 23 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\maildir\maildir-filename.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\maildir\maildir-copy.c | Fri May 14 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\istream-mail-stats.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-transaction.c | Wed Apr 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-thread.c | Sun Apr 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-thread-links.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-thread-finish.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-sync.c | Tue May 25 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-sync-search.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-sync-changes.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-storage.c | Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-status.c | Thu May 13 03:40:20 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-sort.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-sort-string.c | Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-search.c | Wed Jun 16 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-search-result.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-mailbox-check.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-mail.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-mail-headers.c | Wed Jun 23 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\index-fetch.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-single\sdbox-sync.c | Tue Apr 20 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-single\sdbox-sync-rebuild.c | Tue Apr 06 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-single\sdbox-sync-file.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-single\sdbox-storage.c | Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-single\sdbox-save.c | Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-single\sdbox-mail.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-single\sdbox-file.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-single\sdbox-copy.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-multi\mdbox-sync.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-multi\mdbox-storage.c | Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-multi\mdbox-storage-rebuild.c | Wed Jun 23 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-multi\mdbox-settings.c | Tue Apr 20 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-multi\mdbox-save.c | Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-multi\mdbox-purge.c | Tue Jun 22 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-multi\mdbox-map.c | Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-multi\mdbox-mail.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-multi\mdbox-file.c | Fri Jun 04 19:00:04 2010

Name | Last Modification Date
--- | ---
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-common\dbox-sync-rebuild.c | Wed Jun 23 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-common\dbox-storage.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-common\dbox-save.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-common\dbox-mail.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-common\dbox-file.c | Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\dbox-common\dbox-file-fix.c | Sun Apr 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\cydir\cydir-sync.c | Sun Apr 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\cydir\cydir-storage.c | Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\cydir\cydir-save.c | Fri Jun 25 08:22:16 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\lib-storage\index\cydir\cydir-mail.c | Thu May 13 03:40:20 2010

#### Global Basic Information

Number of procedures: | 1780
Number of locally uncalled procedures: | 8
Maximum loop depth: | 3
Total Cyclomatic Complexity: | 7463
Number of reformatted executable lines: | 75099
Number of lines of comments: | 81916

## 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 | 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

Code | File: Src Line | Violation | Standard
--- | --- | --- | ---
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
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: 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 | 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
M | ioloop.h: 56 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C

Code | File: Src Line | Violation | Standard
--- | --- | --- | ---
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 | 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 | hex-dec.h: 5 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | hex-dec.h: 5 | Macro replacement list needs parentheses. | CERT PRE02-C
M | index-storage.h: 64 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | index-storage.h: 64 | Macro replacement list needs parentheses. | CERT PRE02-C
M | index-mail.h: 137 | Macro parameter not in brackets. | CERT PRE01-C,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 | 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 | index-mailbox-list.h: 10 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | index-mailbox-list.h: 10 | Macro replacement list needs parentheses. | CERT PRE02-C
M | index-mailbox-list-sync.c: 13 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | index-mailbox-list-sync.c: 13 | Macro replacement list needs parentheses. | CERT PRE02-C
M | index-mailbox-list-sync.c: 33 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | index-mailbox-list-sync.c: 33 | Macro replacement list needs parentheses. | CERT PRE02-C
M | index-sort-string.c: 48 | Global not initialised at declaration. : expunged_msg | CERT EXP33-C
M | index-sort-string.c: 49 | Global not initialised at declaration. : static_zero_cmp_context | CERT EXP33-C
M | index-sort.c: 39 | Global not initialised at declaration. : static_node_cmp_context | CERT EXP33-C
M | bsearch-insert-pos.h: 5 | Macro replacement list needs parentheses. | CERT PRE02-C
M | bsearch-insert-pos.h: 34 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | index-thread.c: 20 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | index-thread.c: 20 | 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 | 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-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 | 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

Code | File: Src Line | Violation | Standard
--- | --- | --- | ---
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 | mail-search-register-human.c: 80 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-search-register-human.c: 80 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-search-register-human.c: 17 | Global not initialised at declaration. : mail_search_register_human | CERT EXP33-C
M | mail-search-register-imap.c: 72 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-search-register-imap.c: 72 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-search-register-imap.c: 107 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-search-register-imap.c: 107 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-search-register-imap.c: 174 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-search-register-imap.c: 174 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-search-register-imap.c: 238 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-search-register-imap.c: 238 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-search-register-imap.c: 262 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-search-register-imap.c: 262 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-search-register-imap.c: 15 | Global not initialised at declaration. : mail_search_register_imap | CERT EXP33-C
M | mail-storage-settings.c: 20 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-storage-settings.c: 20 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-storage-settings.c: 85 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-storage-settings.c: 85 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-storage-settings.c: 135 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-storage-settings.c: 135 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-storage-settings.c: 137 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-storage-settings.c: 137 | 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 | sha1.h: 71 | Macro replacement list needs parentheses. | CERT PRE02-C
M | sha1.h: 72 | Macro replacement list needs parentheses. | CERT PRE02-C
M | sha1.h: 73 | Macro replacement list needs parentheses. | CERT PRE02-C
M | maildir-storage.h: 100 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | maildir-settings.c: 11 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | maildir-settings.c: 11 | Macro replacement list needs parentheses. | CERT PRE02-C
M | maildir-storage.c: 18 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | maildir-storage.c: 18 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mbox-settings.c: 11 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mbox-settings.c: 11 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mbox-storage.c: 28 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mbox-storage.c: 28 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mbox-storage.c: 49 | Sizeof argument is a pointer. | CERT EXP01-C
M | mbox-storage.c: 63 | Sizeof argument is a pointer. | CERT EXP01-C

Code | File: Src Line | Violation | Standard
--- | --- | --- | ---
M | mdbox-settings.c: 11 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mdbox-settings.c: 11 | Macro replacement list needs parentheses. | CERT PRE02-C
M | test-common.h: 11 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | test-common.h: 11 | Macro replacement list needs parentheses. | CERT PRE02-C
M | test-index-fetch.c: 10 | Global not initialised at declaration. : mail_guids | CERT EXP33-C
M | test-index-fetch.c: 11 | Global not initialised at declaration. : expunge_idx | CERT EXP33-C
M | test-index-fetch.c: 12 | Global not initialised at declaration. : nonexternal_idx | CERT EXP33-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_mail_get_path (12 to 19 cydir-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 18 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 16 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_mail_stat (21 to 41 cydir-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 31 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 30 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_mail_get_stream (94 to 121 cydir-mail.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

array_create_i (93 to 101 array.h analysed in cydir-save.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 | ]

cydir_generate_tmp_filename (38 to 46 cydir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 43 | Pointer not checked for null before use : my_pid | CERT EXP08-C,EXP34-C
| Ref. Line -2073 (Module 513) |  |
M | 45 | Pointer not checked for null before use : my_hostname | CERT EXP08-C,EXP34-C
| Ref. Line -2070 (Module 513) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_get_save_path (48 to 56 cydir-save.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_save_alloc (58 to 75 cydir-save.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_save_begin (77 to 130 cydir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 90 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 89 |  |
M | 127 | Pointer not checked for null before use : crlf_input | CERT EXP08-C,EXP34-C
| 126 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_save_finish (159 to 225 cydir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 169 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 163 |  |
M | 195 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 163 |  |
M | 213 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 163 |  |
M | 184 | User input not checked before use. : st | CERT FIO30-C
| 183 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_transaction_save_commit_pre (235 to 291 cydir-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 255 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 254 |  |
M | 263 | Pointer not checked for null before use : src_path | CERT EXP08-C,EXP34-C
| 262 |  |
M | 263 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 259 |  |
M | 267 | Pointer not checked for null before use : dest_path | CERT EXP08-C,EXP34-C
| 266 |  |
M | 240 | Procedure contains UR data flow anomalies. : iter | CERT EXP33-C
| 271 |  |
M | 241 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 272 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
cydir-save.c | 240 | cydir-save.c | 271 | iter
cydir-save.c | 241 | cydir-save.c | 272 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_transaction_save_rollback (307 to 321 cydir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 320 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 319 |  |
M | 320 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 320 | Pointer not checked for null before use : (ctx)->tmp_basename | CERT EXP08-C,EXP34-C
| 319 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_storage_alloc (15 to 25 cydir-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 21 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 20 |  |
M | 22 | Pointer not checked for null before use : storage | CERT EXP08-C,EXP34-C
| 21 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_mailbox_alloc (37 to 70 cydir-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 49 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 48 |  |
M | 50 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 49 |  |
M | 64 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 63 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_get_path_prefix (19 to 29 cydir-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 26 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 21 |  |
M | 26 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 24 |  |
M | 21 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 515) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_sync_expunge (31 to 59 cydir-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 35 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 43 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
cydir-sync.c | 35 | cydir-sync.c | 43 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_sync_index (61 to 107 cydir-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 69 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 68 |  |
M | 66 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 75 |  |
M | 66 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 75 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
cydir-sync.c | 66 | cydir-sync.c | 75 | seq1
cydir-sync.c | 66 | cydir-sync.c | 75 | seq2

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_sync_begin (109 to 138 cydir-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 136 | Attempt to use already freed object. | CERT MEM31-C
M | 117 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 116 |  |
M | 116 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 515) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

cydir_sync (160 to 169 cydir-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 168 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 164 |  |
M | 162 | Procedure contains UR data flow anomalies. : sync_ctx | CERT EXP33-C
| 164 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
cydir-sync.c | 162 | cydir-sync.c | 164 | sync_ctx

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_find_next_magic (16 to 79 dbox-file-fix.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 : pre_ctx | CERT EXP08-C,EXP34-C
| 28 |  |
M | 29 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 516) |  |
M | 77 | Pointer not checked for null before use : post_ctx | CERT EXP08-C,EXP34-C
| 29 |  |
M | 22 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 37 |  |
M | 23 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 37 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-file-fix.c | 22 | dbox-file-fix.c | 37 | data
dbox-file-fix.c | 23 | dbox-file-fix.c | 37 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

stream_copy (81 to 106 dbox-file-fix.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_skip_broken_header (108 to 129 dbox-file-fix.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-file-fix.c | 112 | dbox-file-fix.c | 116 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_fix_write_stream (160 to 289 dbox-file-fix.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 252 | Pointer not checked for null before use : body_input | CERT EXP08-C,EXP34-C
| 251 |  |
M | 167 | Procedure contains UR data flow anomalies. : body.lines | CERT EXP33-C
| 252 |  |
M | 167 | Procedure contains UR data flow anomalies. : body.physical_size | CERT EXP33-C
| 252 |  |
M | 167 | Procedure contains UR data flow anomalies. : body.virtual_size | CERT EXP33-C
| 252 |  |
M | 169 | Procedure contains UR data flow anomalies. : guid_128 | CERT EXP33-C
| 272 |  |
M | 164 | Procedure contains UR data flow anomalies. : msg_hdr.magic_pre | CERT EXP33-C
| 240 |  |
M | 164 | Procedure contains UR data flow anomalies. : msg_hdr.message_size_hex | CERT EXP33-C
| 240 |  |
M | 164 | Procedure contains UR data flow anomalies. : msg_hdr.oldv1_uid_hex | CERT EXP33-C
| 240 |  |
M | 164 | Procedure contains UR data flow anomalies. : msg_hdr.save_lf | CERT EXP33-C
| 240 |  |
M | 164 | Procedure contains UR data flow anomalies. : msg_hdr.space1 | CERT EXP33-C
| 240 |  |
M | 164 | Procedure contains UR data flow anomalies. : msg_hdr.space2 | CERT EXP33-C
| 240 |  |
M | 164 | Procedure contains UR data flow anomalies. : msg_hdr.type | CERT EXP33-C
| 240 |  |
M | 165 | Procedure contains UR data flow anomalies. : offset | CERT EXP33-C
| 186 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-file-fix.c | 167 | dbox-file-fix.c | 252 | body.lines
dbox-file-fix.c | 167 | dbox-file-fix.c | 252 | body.physical_size
dbox-file-fix.c | 167 | dbox-file-fix.c | 252 | body.virtual_size
dbox-file-fix.c | 169 | dbox-file-fix.c | 272 | guid_128
dbox-file-fix.c | 164 | dbox-file-fix.c | 240 | msg_hdr.magic_pre
dbox-file-fix.c | 164 | dbox-file-fix.c | 240 | msg_hdr.message_size_hex
dbox-file-fix.c | 164 | dbox-file-fix.c | 240 | msg_hdr.oldv1_uid_hex
dbox-file-fix.c | 164 | dbox-file-fix.c | 240 | msg_hdr.save_lf
dbox-file-fix.c | 164 | dbox-file-fix.c | 240 | msg_hdr.space1
dbox-file-fix.c | 164 | dbox-file-fix.c | 240 | msg_hdr.space2
dbox-file-fix.c | 164 | dbox-file-fix.c | 240 | msg_hdr.type
dbox-file-fix.c | 165 | dbox-file-fix.c | 186 | offset

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_fix (291 to 352 dbox-file-fix.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 304 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 302 |  |
M | 305 | Pointer not checked for null before use : temp_path | CERT EXP08-C,EXP34-C
| 304 |  |
M | 310 | Pointer not checked for null before use : output | CERT EXP08-C,EXP34-C
| 309 |  |
M | 328 | Pointer not checked for null before use : broken_path | CERT EXP08-C,EXP34-C
| 326 |  |
M | 295 | Procedure contains UR data flow anomalies. : deleted | CERT EXP33-C
| 345 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-file-fix.c | 295 | dbox-file-fix.c | 345 | deleted

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_generate_tmp_filename (35 to 44 dbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 39 | Pointer not checked for null before use : my_pid | CERT EXP08-C,EXP34-C
| Ref. Line -2073 (Module 517) |  |
M | 39 | Pointer not checked for null before use : my_hostname | CERT EXP08-C,EXP34-C
| Ref. Line -2070 (Module 517) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_free (75 to 85 dbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 83 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 82 |  |
M | 83 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 84 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 83 |  |
M | 84 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 84 | Pointer not checked for null before use : (file)->primary_path | CERT EXP08-C,EXP34-C
| 82 |  |
M | 84 | Pointer not checked for null before use : (file)->alt_path | CERT EXP08-C,EXP34-C
| 83 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_parse_header (98 to 137 dbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 115 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C
| 110 |  |
M | 115 | Pointer not checked for null before use : tmp | CERT EXP08-C,EXP34-C
| 115 |  |
M | 123 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 117 |  |
M | 126 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 117 |  |
M | 129 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 117 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_open_fd (166 to 191 dbox-file.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_stat (230 to 264 dbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 246 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 245 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_header_write (266 to 280 dbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 271 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 270 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_read_mail_header (334 to 369 dbox-file.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 337 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 341 |  |
M | 338 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 341 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-file.c | 337 | dbox-file.c | 341 | data
dbox-file.c | 338 | dbox-file.c | 341 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_get_mail_stream (371 to 396 dbox-file.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 374 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 388 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-file.c | 374 | dbox-file.c | 388 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_seek_next (424 to 455 dbox-file.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_append_init (457 to 472 dbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 471 | Local structure returned in function result : ctx |
M | 466 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 465 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_get_append_stream (543 to 581 dbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 577 | User input not checked before use. : st | CERT FIO30-C
| 573 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_metadata_skip_header (583 to 612 dbox-file.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 586 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 590 |  |
M | 587 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 590 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-file.c | 586 | dbox-file.c | 590 | data
dbox-file.c | 587 | dbox-file.c | 590 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_metadata_read_at (614 to 645 dbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 640 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C
| 639 |  |
M | 640 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 626 |  |
M | 640 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 626 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_metadata_get (667 to 679 dbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 675 | Pointer not checked for null before use : metadata | CERT EXP08-C,EXP34-C
| 673 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_move (681 to 790 dbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 706 | Pointer not checked for null before use : dest_dir | CERT EXP08-C,EXP34-C
| 705 |  |
M | 711 | Pointer not checked for null before use : temp_path | CERT EXP08-C,EXP34-C
| 706 |  |
M | 784 | Pointer not checked for null before use : file.fd | CERT EXP08-C,EXP34-C
| 783 |  |
M | 717 | Pointer not checked for null before use : output | CERT EXP08-C,EXP34-C
| 715 |  |
M | 703 | Pointer not checked for null before use : dest_path | CERT EXP08-C,EXP34-C
| 702 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_msg_header_fill (792 to 802 dbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 796 | Sizeof argument is a pointer. | CERT EXP01-C
M | 799 | Sizeof argument is a pointer. | CERT EXP01-C
M | 796 | Pointer not checked for null before use : dbox_msg_hdr | CERT EXP08-C,EXP34-C
| 795 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_file_unlink (804 to 828 dbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 810 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 809 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_mail_alloc (14 to 28 dbox-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 23 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 22 |  |
M | 24 | Pointer not checked for null before use : mail | CERT EXP08-C,EXP34-C
| 23 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_mail_metadata_read (39 to 59 dbox-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 48 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 43 | Procedure contains UR data flow anomalies. : offset | CERT EXP33-C
| 45 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-mail.c | 43 | dbox-mail.c | 45 | offset

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_mail_get_virtual_size (99 to 117 dbox-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 103 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 111 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-mail.c | 103 | dbox-mail.c | 111 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_mail_get_received_date (119 to 135 dbox-mail.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-mail.c | 123 | dbox-mail.c | 132 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_mail_get_save_date (137 to 161 dbox-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 145 | Procedure contains UR data flow anomalies. : offset | CERT EXP33-C
| 150 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-mail.c | 145 | dbox-mail.c | 150 | offset

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_get_cached_metadata (163 to 191 dbox-mail.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 : ibox | CERT EXP08-C,EXP34-C
| 169 |  |
M | 171 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 185 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-mail.c | 171 | dbox-mail.c | 185 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_mail_get_stream (215 to 246 dbox-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 223 | Procedure contains UR data flow anomalies. : input | CERT EXP33-C
| 231 |  |
M | 224 | Procedure contains UR data flow anomalies. : offset | CERT EXP33-C
| 228 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-mail.c | 223 | dbox-mail.c | 231 | input
dbox-mail.c | 224 | dbox-mail.c | 228 | offset

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_save_begin (31 to 65 dbox-save.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_save_write_metadata (107 to 164 dbox-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 150 | Pointer not checked for null before use : guid | CERT EXP08-C,EXP34-C
| 148 |  |
M | 129 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 123 |  |
M | 132 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 123 |  |
M | 116 | Procedure contains UR data flow anomalies. : vsize | CERT EXP33-C
| 134 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-save.c | 116 | dbox-save.c | 134 | vsize

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_get_uidvalidity_next (27 to 35 dbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 33 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 31 |  |
M | 34 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 33 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_notify_changes (37 to 49 dbox-storage.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_cleanup_if_exists (51 to 72 dbox-storage.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_mailbox_create (93 to 126 dbox-storage.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. : sync_ctx | CERT EXP33-C
| 110 |  |
M | 99 | Procedure contains UR data flow anomalies. : trans | CERT EXP33-C
| 110 |  |
M | 98 | Procedure contains UR data flow anomalies. : view | CERT EXP33-C
| 110 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-storage.c | 97 | dbox-storage.c | 110 | sync_ctx
dbox-storage.c | 99 | dbox-storage.c | 110 | trans
dbox-storage.c | 98 | dbox-storage.c | 110 | view

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_sync_index_copy_cache (10 to 43 dbox-sync-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 16 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 23 |  |
M | 18 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 23 |  |
M | 15 | Procedure contains UR data flow anomalies. : map | CERT EXP33-C
| 23 |  |
M | 17 | Procedure contains UR data flow anomalies. : reset_id | CERT EXP33-C
| 28 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-sync-rebuild.c | 16 | dbox-sync-rebuild.c | 23 | data
dbox-sync-rebuild.c | 18 | dbox-sync-rebuild.c | 23 | expunged
dbox-sync-rebuild.c | 15 | dbox-sync-rebuild.c | 23 | map
dbox-sync-rebuild.c | 17 | dbox-sync-rebuild.c | 28 | reset_id

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_sync_index_copy_from_old (45 to 73 dbox-sync-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 59 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 57 |  |
M | 64 | Pointer not checked for null before use : index | CERT EXP08-C,EXP34-C
| 50 |  |
M | 65 | Pointer not checked for null before use : kw | CERT EXP08-C,EXP34-C
| 64 |  |
M | 52 | Procedure contains UR data flow anomalies. : old_keywords | CERT EXP33-C
| 63 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-sync-rebuild.c | 52 | dbox-sync-rebuild.c | 63 | old_keywords

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_sync_rebuild_index_metadata (75 to 90 dbox-sync-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 78 | Procedure contains UR data flow anomalies. : old_seq | CERT EXP33-C
| 80 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
dbox-sync-rebuild.c | 78 | dbox-sync-rebuild.c | 80 | old_seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_sync_rebuild_header (92 to 142 dbox-sync-rebuild.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 105 | Pointer not checked for null before use : trans_view | CERT EXP08-C,EXP34-C
| 104 |  |
M | 125 | Pointer not checked for null before use : trans_hdr | CERT EXP08-C,EXP34-C
| 105 |  |
M | 108 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 101 |  |
M | 139 | Pointer not checked for null before use : index | CERT EXP08-C,EXP34-C
| 95 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_sync_index_rebuild_init (144 to 178 dbox-sync-rebuild.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 177 | Local structure returned in function result : ctx |
M | 154 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 153 |  |
M | 164 | Pointer not checked for null before use : index_dir | CERT EXP08-C,EXP34-C
| 162 |  |
M | 153 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 521) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_get_uid_range (16 to 37 index-fetch.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 22 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 28 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-fetch.c | 22 | index-fetch.c | 28 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

add_expunges (39 to 57 index-fetch.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 53 | Pointer not checked for null before use : expunge | CERT EXP08-C,EXP34-C
| 52 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

add_guid_expunges (59 to 76 index-fetch.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 72 | Sizeof argument is a pointer. | CERT EXP01-C
M | 71 | Pointer not checked for null before use : expunge | CERT EXP08-C,EXP34-C
| 70 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_get_expunges (78 to 138 index-fetch.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 101 | Pointer not checked for null before use : log_view | CERT EXP08-C,EXP34-C
| 100 |  |
M | 86 | Procedure contains UR data flow anomalies. : log_offset | CERT EXP33-C
| 90 |  |
M | 85 | Procedure contains UR data flow anomalies. : log_seq | CERT EXP33-C
| 90 |  |
M | 87 | Procedure contains UR data flow anomalies. : reset | CERT EXP33-C
| 101 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-fetch.c | 86 | index-fetch.c | 90 | log_offset
index-fetch.c | 85 | index-fetch.c | 90 | log_seq
index-fetch.c | 87 | index-fetch.c | 101 | reset

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_parse_header_finish (45 to 146 index-mail-headers.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 101 | Sizeof argument is a pointer. | CERT EXP01-C
M | 111 | Sizeof argument is a pointer. | CERT EXP01-C
M | 61 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 129 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 128 |  |
M | 124 | Pointer not checked for null before use : header | CERT EXP08-C,EXP34-C
| 61 |  |
M | 100 | Pointer not checked for null before use : buf | CERT EXP08-C,EXP34-C
| 62 |  |
M | 51 | Procedure contains UR data flow anomalies. : data_size | CERT EXP33-C
| 128 |  |
M | 52 | Procedure contains UR data flow anomalies. : match_count | CERT EXP33-C
| 133 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail-headers.c | 51 | index-mail-headers.c | 128 | data_size
index-mail-headers.c | 52 | index-mail-headers.c | 133 | match_count

[ | Top of Report | | | Procedure Table | | | Contents | ]

get_header_field_idx (148 to 163 index-mail-headers.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 162 | Local structure returned in function result : header_field |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_parse_header_init (197 to 264 index-mail-headers.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 236 | Pointer not checked for null before use : headers | CERT EXP08-C,EXP34-C
| 235 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_parse_finish_imap_envelope (266 to 281 index-mail-headers.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 273 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 272 |  |
M | 272 | Pointer not checked for null before use : *((mail)->data_pool) | CERT EXP08-C,EXP34-C
| Ref. Line 0 (Module 540) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_parse_header (283 to 353 index-mail-headers.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 322 | Pointer not checked for null before use : cache_field_name | CERT EXP08-C,EXP34-C
| 320 |  |
M | 344 | Pointer not checked for null before use : match | CERT EXP08-C,EXP34-C
| 328 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_cache_parse_init (370 to 395 index-mail-headers.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_init_parser (397 to 417 index-mail-headers.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 400 | Procedure contains UR data flow anomalies. : parts | CERT EXP33-C
| 403 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail-headers.c | 400 | index-mail-headers.c | 403 | parts

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_parse_headers (419 to 451 index-mail-headers.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 442 | Pointer not checked for null before use : mail.parse_line_num | CERT EXP08-C,EXP34-C
| 442 |  |
M | 423 | Procedure contains UR data flow anomalies. : input | CERT EXP33-C
| 428 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail-headers.c | 423 | index-mail-headers.c | 428 | input

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_envelope_parse_callback (453 to 462 index-mail-headers.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 457 | Pointer not checked for null before use : *((mail)->data_pool) | CERT EXP08-C,EXP34-C
| Ref. Line 0 (Module 540) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_headers_get_envelope (464 to 504 index-mail-headers.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 473 | Pointer not checked for null before use : *((mail)->data_pool) | CERT EXP08-C,EXP34-C
| Ref. Line 0 (Module 540) |  |
M | 469 | Procedure contains UR data flow anomalies. : stream | CERT EXP33-C
| 487 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail-headers.c | 469 | index-mail-headers.c | 487 | stream

[ | Top of Report | | | Procedure Table | | | Contents | ]

get_header_size (506 to 522 index-mail-headers.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 509 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 511 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail-headers.c | 509 | index-mail-headers.c | 511 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_parsed_header (557 to 593 index-mail-headers.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 583 | Array Bound exceeded. | CERT ARR30-C
M | 568 | Pointer not checked for null before use : line_idx | CERT EXP08-C,EXP34-C
| 567 |  |
M | 572 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 582 | Pointer not checked for null before use : value_start | CERT EXP08-C,EXP34-C
| 580 |  |
M | 587 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 585 |  |
M | 580 | Pointer not checked for null before use : header | CERT EXP08-C,EXP34-C
| 572 |  |
M | 585 | Pointer not checked for null before use : value_end | CERT EXP08-C,EXP34-C
| 584 |  |
M | 587 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 571 |  |
M | 587 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 571 |  |
M | 560 | Procedure contains UR data flow anomalies. : header_values.arr.buffer | CERT EXP33-C
| 591 |  |
M | 560 | Procedure contains UR data flow anomalies. : header_values.arr.element_size | CERT EXP33-C
| 591 |  |
M | 565 | Procedure contains UR data flow anomalies. : lines_count | CERT EXP33-C
| 575 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail-headers.c | 560 | index-mail-headers.c | 591 | header_values.arr.buffer
index-mail-headers.c | 560 | index-mail-headers.c | 591 | header_values.arr.element_size
index-mail-headers.c | 565 | index-mail-headers.c | 575 | lines_count

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_raw_headers (595 to 669 index-mail-headers.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 641 | Attempt to use already freed object. | CERT MEM31-C
M | 657 | Attempt to use already freed object. | CERT MEM31-C
M | 623 | Pointer not checked for null before use : headers | CERT EXP08-C,EXP34-C
| 622 |  |
M | 625 | Pointer not checked for null before use : headers_ctx | CERT EXP08-C,EXP34-C
| 623 |  |
M | 662 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 659 |  |
M | 637 | Pointer not checked for null before use : (mail)->data_pool | CERT EXP08-C,EXP34-C
| 617 |  |
M | 625 | Attempt to read from freed memory. : *((mail)->data_pool) | CERT MEM30-C
M | 637 | Attempt to read from freed memory. : *((mail)->data_pool) | CERT MEM30-C
M | 662 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 649 |  |
M | 662 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 649 |  |
M | 606 | Procedure contains UR data flow anomalies. : header_values.arr.buffer | CERT EXP33-C
| 666 |  |
M | 606 | Procedure contains UR data flow anomalies. : header_values.arr.element_size | CERT EXP33-C
| 666 |  |
M | 604 | Procedure contains UR data flow anomalies. : len | CERT EXP33-C
| 641 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail-headers.c | 606 | index-mail-headers.c | 666 | header_values.arr.buffer
index-mail-headers.c | 606 | index-mail-headers.c | 666 | header_values.arr.element_size
index-mail-headers.c | 604 | index-mail-headers.c | 641 | len

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_headers_decode (707 to 737 index-mail-headers.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 726 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 724 |  |
M | 735 | Pointer not checked for null before use : decoded_list | CERT EXP08-C,EXP34-C
| 719 |  |
M | 730 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 726 |  |
M | 733 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 732 |  |
M | 723 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 721 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_headers (739 to 762 index-mail-headers.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_first_header (764 to 791 index-mail-headers.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 789 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 780 |  |
M | 780 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 772 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

header_cache_callback (793 to 800 index-mail-headers.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_header_stream (802 to 851 index-mail-headers.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 844 | Attempt to read from freed memory. : *((mail)->data_pool) | CERT MEM30-C
M | 844 | Attempt to read from freed memory. : *((mail)->data_pool) | CERT MEM30-C
M | 809 | Procedure contains UR data flow anomalies. : input | CERT EXP33-C
| 836 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail-headers.c | 809 | index-mail-headers.c | 836 | input

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_header_lookup_init_real (853 to 902 index-mail-headers.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 875 | Pointer not checked for null before use : sorted_headers | CERT EXP08-C,EXP34-C
| 874 |  |
M | 886 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 885 |  |
M | 887 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 886 |  |
M | 883 | Pointer not checked for null before use : fields | CERT EXP08-C,EXP34-C
| 878 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

get_unserialized_parts (55 to 76 index-mail.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 : part_buf | CERT EXP08-C,EXP34-C
| 64 |  |
M | 61 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 69 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 61 | index-mail.c | 69 | error

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_fixed_field (101 to 117 index-mail.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. : buf.data | CERT EXP33-C
| 109 |  |
M | 106 | Procedure contains UR data flow anomalies. : buf.priv | CERT EXP33-C
| 109 |  |
M | 106 | Procedure contains UR data flow anomalies. : buf.used | CERT EXP33-C
| 109 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 106 | index-mail.c | 109 | buf.data
index-mail.c | 106 | index-mail.c | 109 | buf.priv
index-mail.c | 106 | index-mail.c | 109 | buf.used

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_flags (127 to 140 index-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 133 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 132 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_keywords (155 to 182 index-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 176 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 175 |  |
M | 175 | Pointer not checked for null before use : names | CERT EXP08-C,EXP34-C
| 169 |  |
M | 161 | Procedure contains UR data flow anomalies. : names_count | CERT EXP33-C
| 173 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 161 | index-mail.c | 173 | names_count

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_parts (199 to 221 index-mail.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_received_date (223 to 239 index-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 230 | Procedure contains UR data flow anomalies. : t | CERT EXP33-C
| 232 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 230 | index-mail.c | 232 | t

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_save_date (241 to 257 index-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 248 | Procedure contains UR data flow anomalies. : t | CERT EXP33-C
| 250 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 248 | index-mail.c | 250 | t

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_cache_sent_date (259 to 284 index-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 281 | Sizeof argument is a pointer. | CERT EXP01-C
M | 262 | Procedure contains UR data flow anomalies. : str | CERT EXP33-C
| 269 |  |
M | 263 | Procedure contains UR data flow anomalies. : t | CERT EXP33-C
| 274 |  |
M | 264 | Procedure contains UR data flow anomalies. : tz | CERT EXP33-C
| 274 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 262 | index-mail.c | 269 | str
index-mail.c | 263 | index-mail.c | 274 | t
index-mail.c | 264 | index-mail.c | 274 | tz

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_date (286 to 308 index-mail.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_cached_body_size (355 to 375 index-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 373 | Pointer not checked for null before use : mail.cache_fetch_fields | CERT EXP08-C,EXP34-C
| 366 |  |
M | 373 | Pointer not checked for null before use : mail.virtual_size | CERT EXP08-C,EXP34-C
| 366 |  |
M | 373 | Pointer not checked for null before use : mail.body_size | CERT EXP08-C,EXP34-C
| 366 |  |
M | 358 | Procedure contains UR data flow anomalies. : tmp | CERT EXP33-C
| 370 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 358 | index-mail.c | 370 | tmp

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_virtual_size (377 to 396 index-mail.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. : input | CERT EXP33-C
| 389 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 382 | index-mail.c | 389 | input

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_cache_add_idx (421 to 441 index-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 432 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 431 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_body_parsed_cache_message_parts (514 to 551 index-mail.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_body_parsed_cache_bodystructure (553 to 637 index-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 599 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 598 |  |
M | 631 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 630 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_want_cache (639 to 676 index-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 642 | Procedure contains UR data flow anomalies. : fetch_field | CERT EXP33-C
| 665 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 642 | index-mail.c | 665 | fetch_field

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_init_stream (816 to 894 index-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 829 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 826 |  |
M | 849 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_parse_bodystructure (896 to 943 index-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 913 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 928 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 927 |  |
M | 935 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 934 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_get_special (956 to 1067 index-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 986 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 982 |  |
M | 1030 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 1026 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_alloc (1074 to 1088 index-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1083 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 1082 |  |
M | 1084 | Pointer not checked for null before use : mail | CERT EXP08-C,EXP34-C
| 1083 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_init (1090 to 1122 index-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1111 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 1110 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_close (1124 to 1152 index-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1127 | Procedure contains UR data flow anomalies. : parts | CERT EXP33-C
| 1140 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 1127 | index-mail.c | 1140 | parts

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_reset (1154 to 1176 index-mail.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_set_seq (1208 to 1326 index-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1236 | Sizeof argument is a pointer. | CERT EXP01-C
M | 1323 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 1322 |  |
M | 1215 | Procedure contains UR data flow anomalies. : input | CERT EXP33-C
| 1324 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 1215 | index-mail.c | 1324 | input

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_set_uid (1328 to 1342 index-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1331 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 1333 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 1331 | index-mail.c | 1333 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_cache_parse_continue (1377 to 1396 index-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1380 | Procedure contains UR data flow anomalies. : block.data | CERT EXP33-C
| 1382 |  |
M | 1380 | Procedure contains UR data flow anomalies. : block.hdr | CERT EXP33-C
| 1382 |  |
M | 1380 | Procedure contains UR data flow anomalies. : block.part | CERT EXP33-C
| 1382 |  |
M | 1380 | Procedure contains UR data flow anomalies. : block.size | CERT EXP33-C
| 1382 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 1380 | index-mail.c | 1382 | block.data
index-mail.c | 1380 | index-mail.c | 1382 | block.hdr
index-mail.c | 1380 | index-mail.c | 1382 | block.part
index-mail.c | 1380 | index-mail.c | 1382 | block.size

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_drop_recent_flag (1427 to 1438 index-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1433 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 1432 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_update_keywords (1452 to 1471 index-mail.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_expunge (1484 to 1496 index-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1487 | Procedure contains UR data flow anomalies. : guid_128 | CERT EXP33-C
| 1492 |  |
M | 1486 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 1489 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mail.c | 1487 | index-mail.c | 1492 | guid_128
index-mail.c | 1486 | index-mail.c | 1489 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mail_set_cache_corrupted (1498 to 1539 index-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1536 | Pointer not checked for null before use : field_name | CERT EXP08-C,EXP34-C
| 1529 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

notify_delay_callback (26 to 33 index-mailbox-check.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

check_timeout (35 to 52 index-mailbox-check.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 42 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 37 |  |
M | 45 | User input not checked before use. : st | CERT FIO30-C
| 43 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

notify_callback (54 to 65 index-mailbox-check.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_check_add (67 to 98 index-mailbox-check.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 78 | Pointer not checked for null before use : aio | CERT EXP08-C,EXP34-C
| 77 |  |
M | 84 | Pointer not checked for null before use : file | CERT EXP08-C,EXP34-C
| 83 |  |
M | 85 | User input not checked before use. : st | CERT FIO30-C
| 85 |  |
M | 79 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 69 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_check_remove_all (100 to 126 index-mailbox-check.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 108 | Pointer not checked for null before use : file | CERT EXP08-C,EXP34-C
| 107 |  |
M | 111 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 110 |  |
M | 111 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 111 | Pointer not checked for null before use : (file)->path | CERT EXP08-C,EXP34-C
| 110 |  |
M | 116 | Pointer not checked for null before use : aio | CERT EXP08-C,EXP34-C
| 115 |  |
M | 106 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 102 |  |
M | 110 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 111 |  |
M | 110 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 119 | Attempt to read from freed memory. : default_pool | CERT MEM30-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_list_box_close (48 to 53 index-mailbox-list-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 52 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 50 |  |
M | 50 | Pointer not checked for null before use : index_list_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 45 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_list_update_mail_index (55 to 80 index-mailbox-list-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 : ibox | CERT EXP08-C,EXP34-C
| 58 |  |
M | 58 | Pointer not checked for null before use : index_list_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 45 |  |
M | 59 | Procedure contains UR data flow anomalies. : mail_sync_ctx | CERT EXP33-C
| 68 |  |
M | 62 | Procedure contains UR data flow anomalies. : sync_rec | CERT EXP33-C
| 76 |  |
M | 61 | Procedure contains UR data flow anomalies. : trans | CERT EXP33-C
| 68 |  |
M | 60 | Procedure contains UR data flow anomalies. : view | CERT EXP33-C
| 68 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mailbox-list-sync.c | 59 | index-mailbox-list-sync.c | 68 | mail_sync_ctx
index-mailbox-list-sync.c | 62 | index-mailbox-list-sync.c | 76 | sync_rec
index-mailbox-list-sync.c | 61 | index-mailbox-list-sync.c | 68 | trans
index-mailbox-list-sync.c | 60 | index-mailbox-list-sync.c | 68 | view

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_list_mailbox_open_unchanged_view (82 to 126 index-mailbox-list-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 109 | Pointer not checked for null before use : view | CERT EXP08-C,EXP34-C
| 108 |  |
M | 92 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 51 (index-mailbox-list.h) |  |
M | 89 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 109 |  |
M | 89 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 99 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mailbox-list-sync.c | 89 | index-mailbox-list-sync.c | 109 | seq
index-mailbox-list-sync.c | 89 | index-mailbox-list-sync.c | 99 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_list_get_cached_status (128 to 160 index-mailbox-list-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 148 | Pointer not checked for null before use : ext_id_p | CERT EXP08-C,EXP34-C
| 147 |  |
M | 155 | Pointer not checked for null before use : counter_p | CERT EXP08-C,EXP34-C
| 154 |  |
M | 141 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 51 (index-mailbox-list.h) |  |
M | 154 | Pointer not checked for null before use : status | CERT EXP08-C,EXP34-C
| 139 |  |
M | 147 | Pointer not checked for null before use : ilist | CERT EXP08-C,EXP34-C
| 145 |  |
M | 133 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 148 |  |
M | 136 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 148 |  |
M | 134 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 148 |  |
M | 132 | Procedure contains UR data flow anomalies. : view | CERT EXP33-C
| 141 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mailbox-list-sync.c | 133 | index-mailbox-list-sync.c | 148 | data
index-mailbox-list-sync.c | 136 | index-mailbox-list-sync.c | 148 | expunged
index-mailbox-list-sync.c | 134 | index-mailbox-list-sync.c | 148 | seq
index-mailbox-list-sync.c | 132 | index-mailbox-list-sync.c | 141 | view

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_list_get_status (162 to 175 index-mailbox-list-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 166 | Pointer not checked for null before use : index_list_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 45 |  |
M | 174 | Pointer not checked for null before use : status | CERT EXP08-C,EXP34-C
| 169 |  |
M | 174 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 166 |  |
M | 169 | Pointer not checked for null before use : index_list_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 166 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_list_update (213 to 262 index-mailbox-list-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 234 | Pointer not checked for null before use : ext_id_p | CERT EXP08-C,EXP34-C
| 233 |  |
M | 218 | Pointer not checked for null before use : index_list_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 45 |  |
M | 259 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 218 |  |
M | 249 | Pointer not checked for null before use : trans | CERT EXP08-C,EXP34-C
| 229 |  |
M | 244 | Pointer not checked for null before use : counter_p | CERT EXP08-C,EXP34-C
| 240 |  |
M | 221 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 234 |  |
M | 225 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 234 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mailbox-list-sync.c | 221 | index-mailbox-list-sync.c | 234 | data
index-mailbox-list-sync.c | 225 | index-mailbox-list-sync.c | 234 | expunged

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_list_sync_init (264 to 295 index-mailbox-list-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 290 | Local structure returned in function result : ctx |
M | 271 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 267 |  |
M | 284 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 283 |  |
M | 267 | Pointer not checked for null before use : index_list_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 45 |  |
M | 281 | Pointer not checked for null before use : index_list_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 267 |  |
M | 277 | Procedure contains UR data flow anomalies. : view | CERT EXP33-C
| 281 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mailbox-list-sync.c | 277 | index-mailbox-list-sync.c | 281 | view

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_list_sync_next (297 to 306 index-mailbox-list-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 300 | Pointer not checked for null before use : index_list_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 45 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_list_sync_deinit (308 to 348 index-mailbox-list-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 328 | Attempt to use already freed object. | CERT MEM31-C
M | 331 | Attempt to use already freed object. | CERT MEM31-C
M | 342 | Pointer not checked for null before use : view | CERT EXP08-C,EXP34-C
| 341 |  |
M | 312 | Pointer not checked for null before use : index_list_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 45 |  |
M | 344 | Pointer not checked for null before use : index_list_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 336 |  |
M | 336 | Pointer not checked for null before use : index_list_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 312 |  |
M | 316 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 342 |  |
M | 315 | Procedure contains UR data flow anomalies. : status | CERT EXP33-C
| 343 |  |
M | 316 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 336 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mailbox-list-sync.c | 316 | index-mailbox-list-sync.c | 342 | seq
index-mailbox-list-sync.c | 315 | index-mailbox-list-sync.c | 343 | status
index-mailbox-list-sync.c | 316 | index-mailbox-list-sync.c | 336 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_list_mail_mailbox_allocated (350 to 368 index-mailbox-list-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 360 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 359 |  |
M | 367 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 367 |  |
M | 353 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 51 (index-mailbox-list.h) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_list_sync_init_list (370 to 382 index-mailbox-list-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 378 | Pointer not checked for null before use : ext_id_p | CERT EXP08-C,EXP34-C
| 377 |  |
M | 372 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 51 (index-mailbox-list.h) |  |
M | 377 | Pointer not checked for null before use : ilist | CERT EXP08-C,EXP34-C
| 372 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_list_is_synced (60 to 98 index-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 90 | User input not checked before use. : st | CERT FIO30-C
| 73 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

pattern_parse (100 to 127 index-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 124 | Pointer not checked for null before use : prefix_start | CERT EXP08-C,EXP34-C
| 108 |  |
M | 124 | Pointer not checked for null before use : prefix_end | CERT EXP08-C,EXP34-C
| 108 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_list_sync (129 to 179 index-mailbox-list.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 | 147 | Pointer not checked for null before use : ilist | CERT EXP08-C,EXP34-C
| 133 |  |
M | 133 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 30 (module-context.h) |  |
M | 153 | Pointer not checked for null before use : patterns | CERT EXP08-C,EXP34-C
| 145 |  |
M | 140 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 156 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mailbox-list.c | 140 | index-mailbox-list.c | 156 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_list_iter_init_try (181 to 268 index-mailbox-list.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 253 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 187 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 30 (module-context.h) |  |
M | 215 | Pointer not checked for null before use : ilist | CERT EXP08-C,EXP34-C
| 187 |  |
M | 237 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 187 |  |
M | 227 | Pointer not checked for null before use : cur_prefix | CERT EXP08-C,EXP34-C
| 226 |  |
M | 224 | Procedure contains UR data flow anomalies. : prefix | CERT EXP33-C
| 188 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mailbox-list.c | 224 | index-mailbox-list.c | 227 | prefix

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_list_iter_init (270 to 290 index-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 279 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 278 |  |
M | 284 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 275 |  |
M | 275 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 30 (module-context.h) |  |
M | 278 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 587) |  |
M | 286 | Pointer not checked for null before use : ilist | CERT EXP08-C,EXP34-C
| 275 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

list_index_get_info_flags (292 to 310 index-mailbox-list.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 308 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 307 |  |
M | 296 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 30 (module-context.h) |  |
M | 303 | Pointer not checked for null before use : ilist | CERT EXP08-C,EXP34-C
| 296 |  |
M | 298 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 300 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mailbox-list.c | 298 | index-mailbox-list.c | 300 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

list_index_iter_next (312 to 367 index-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 315 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 30 (module-context.h) |  |
M | 344 | Pointer not checked for null before use : ilist | CERT EXP08-C,EXP34-C
| 315 |  |
M | 335 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 315 |  |
M | 325 | Procedure contains UR data flow anomalies. : info | CERT EXP33-C
| 375 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_list_iter_next (369 to 411 index-mailbox-list.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 374 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 30 (module-context.h) |  |
M | 382 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 374 |  |
M | 403 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 374 |  |
M | 402 | Pointer not checked for null before use : index_name | CERT EXP08-C,EXP34-C
| 400 |  |
M | 375 | Procedure contains UR data flow anomalies. : info | CERT EXP33-C
| 382 |  |
M | 378 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 402 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-mailbox-list.c | 375 | index-mailbox-list.c | 382 | info
index-mailbox-list.c | 325 | index-mailbox-list.c | 386 | info
index-mailbox-list.c | 378 | index-mailbox-list.c | 402 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_list_iter_deinit (413 to 441 index-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 439 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 438 |  |
M | 439 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 439 | Pointer not checked for null before use : (ctx)->prefix | CERT EXP08-C,EXP34-C
| 438 |  |
M | 418 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 30 (module-context.h) |  |
M | 434 | Pointer not checked for null before use : ilist | CERT EXP08-C,EXP34-C
| 418 |  |
M | 438 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 422 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_list_deinit (443 to 452 index-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 447 | Pointer not checked for null before use : ilist | CERT EXP08-C,EXP34-C
| 445 |  |
M | 445 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 30 (module-context.h) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_list_open_indexes (454 to 495 index-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 464 | Pointer not checked for null before use : ilist | CERT EXP08-C,EXP34-C
| 457 |  |
M | 482 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 481 |  |
M | 457 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 30 (module-context.h) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_list_created (497 to 533 index-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 504 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 503 |  |
M | 508 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 508 |  |
M | 513 | Pointer not checked for null before use : ilist | CERT EXP08-C,EXP34-C
| 512 |  |
M | 519 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 519 |  |
M | 526 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 519 |  |
M | 528 | Pointer not checked for null before use : index_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 526 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_result_update_search (52 to 115 index-search-result.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 72 | Pointer not checked for null before use : t | CERT EXP08-C,EXP34-C
| 71 |  |
M | 75 | Pointer not checked for null before use : search_ctx | CERT EXP08-C,EXP34-C
| 72 |  |
M | 66 | Pointer not checked for null before use : changed_uids | CERT EXP08-C,EXP34-C
| 64 |  |
M | 60 | Procedure contains UR data flow anomalies. : changed_count | CERT EXP33-C
| 65 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-search-result.c | 60 | index-search-result.c | 65 | changed_count

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_search_result_update_appends (139 to 181 index-search-result.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 167 | Pointer not checked for null before use : t | CERT EXP08-C,EXP34-C
| 166 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_search_results_update_expunges (183 to 198 index-search-result.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 187 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 194 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-search-result.c | 187 | index-search-result.c | 194 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_init_arg (88 to 133 index-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 91 | Procedure contains UR data flow anomalies. : guid | CERT EXP33-C
| 108 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-search.c | 91 | index-search.c | 108 | guid

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_arg_match_mailbox (235 to 257 index-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 238 | Procedure contains UR data flow anomalies. : str | CERT EXP33-C
| 242 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-search.c | 238 | index-search.c | 242 | str

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_arg_match_cached (276 to 348 index-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 312 | Pointer not checked for null before use : tm | CERT EXP08-C,EXP34-C
| 311 |  |
M | 279 | Procedure contains UR data flow anomalies. : str | CERT EXP33-C
| 342 |  |
M | 281 | Procedure contains UR data flow anomalies. : virtual_size | CERT EXP33-C
| 333 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-search.c | 279 | index-search.c | 342 | str
index-search.c | 281 | index-search.c | 333 | virtual_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_sent (366 to 393 index-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 369 | Procedure contains UR data flow anomalies. : sent_time | CERT EXP33-C
| 377 |  |
M | 370 | Procedure contains UR data flow anomalies. : timezone_offset | CERT EXP33-C
| 377 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-search.c | 369 | index-search.c | 377 | sent_time
index-search.c | 370 | index-search.c | 377 | timezone_offset

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_header_arg (442 to 542 index-search.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 522 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 521 |  |
M | 522 | Pointer not checked for null before use : addr | CERT EXP08-C,EXP34-C
| 517 |  |
M | 529 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 528 |  |
M | 536 | Pointer not checked for null before use : block.data | CERT EXP08-C,EXP34-C
| 494 |  |
M | 536 | Pointer not checked for null before use : block.part | CERT EXP08-C,EXP34-C
| 494 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_header (570 to 591 index-search.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_arg_match_text (633 to 721 index-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 704 | Pointer not checked for null before use : body_ctx.part | CERT EXP08-C,EXP34-C
| 701 |  |
M | 706 | Pointer not checked for null before use : body_ctx.input | CERT EXP08-C,EXP34-C
| 703 |  |
M | 706 | Pointer not checked for null before use : body_ctx.index_ctx | CERT EXP08-C,EXP34-C
| 702 |  |
M | 681 | Pointer not checked for null before use : headers_ctx | CERT EXP08-C,EXP34-C
| 658 |  |
M | 682 | Pointer not checked for null before use : hdr_ctx.hdr | CERT EXP08-C,EXP34-C
| 682 |  |
M | 682 | Pointer not checked for null before use : hdr_ctx.args | CERT EXP08-C,EXP34-C
| 676 |  |
M | 682 | Pointer not checked for null before use : hdr_ctx.args | CERT EXP08-C,EXP34-C
| 676 |  |
M | 682 | Pointer not checked for null before use : hdr_ctx.index_context | CERT EXP08-C,EXP34-C
| 674 |  |
M | 682 | Pointer not checked for null before use : hdr_ctx.index_context | CERT EXP08-C,EXP34-C
| 674 |  |
M | 640 | Procedure contains UR data flow anomalies. : have_body | CERT EXP33-C
| 643 |  |
M | 640 | Procedure contains UR data flow anomalies. : have_headers | CERT EXP33-C
| 643 |  |
M | 687 | Procedure contains UR data flow anomalies. : hdr_size.physical_size | CERT EXP33-C
| 692 |  |
M | 658 | Procedure contains UR data flow anomalies. : headers_ctx | CERT EXP33-C
| 637 |  |
M | 636 | Procedure contains UR data flow anomalies. : input | CERT EXP33-C
| 689 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-search.c | 640 | index-search.c | 643 | have_body
index-search.c | 640 | index-search.c | 643 | have_headers
index-search.c | 687 | index-search.c | 692 | hdr_size.physical_size
index-search.c | 658 | index-search.c | 681 | headers_ctx
index-search.c | 636 | index-search.c | 689 | input

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_msgset_fix (753 to 786 index-search.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 769 | Pointer not checked for null before use : range | CERT EXP08-C,EXP34-C
| 767 |  |
M | 772 | Pointer not checked for null before use : range | CERT EXP08-C,EXP34-C
| 767 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_limit_lowwater (866 to 878 index-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 869 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 874 |  |
M | 869 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 874 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-search.c | 869 | index-search.c | 874 | seq1
index-search.c | 869 | index-search.c | 874 | seq2

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_limit_by_flags (880 to 935 index-search.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 897 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 886 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_build_subthread (971 to 988 index-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 974 | Procedure contains UR data flow anomalies. : child_iter | CERT EXP33-C
| 978 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-search.c | 974 | index-search.c | 978 | child_iter

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_build_inthread_result (990 to 1039 index-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1034 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 1020 |  |
M | 1015 | Pointer not checked for null before use : search_uids | CERT EXP08-C,EXP34-C
| 1014 |  |
M | 993 | Procedure contains UR data flow anomalies. : child_iter | CERT EXP33-C
| 1023 |  |
M | 996 | Procedure contains UR data flow anomalies. : thread_uids | CERT EXP33-C
| 1024 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-search.c | 993 | index-search.c | 1023 | child_iter
index-search.c | 996 | index-search.c | 1024 | thread_uids

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_search_init (1064 to 1103 index-search.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1073 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 1072 |  |
M | 1072 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 544) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_search_notify (1175 to 1205 index-search.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1199 | Pointer not checked for null before use : text | CERT EXP08-C,EXP34-C
| 1196 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

search_would_block (1279 to 1322 index-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1281 | Procedure contains UR data flow anomalies. : now | CERT EXP33-C
| 1289 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-search.c | 1281 | index-search.c | 1289 | now

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_search_next_update_seq (1413 to 1468 index-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1416 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 1459 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-search.c | 1416 | index-search.c | 1459 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_list_init_string (55 to 92 index-sort-string.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 : ctx | CERT EXP08-C,EXP34-C
| 83 |  |
M | 58 | Procedure contains UR data flow anomalies. : name | CERT EXP33-C
| 86 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sort-string.c | 58 | index-sort-string.c | 86 | name

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_generate_seqs (105 to 134 index-sort-string.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 128 | Pointer not checked for null before use : nodes2 | CERT EXP08-C,EXP34-C
| 112 |  |
M | 126 | Pointer not checked for null before use : nodes | CERT EXP08-C,EXP34-C
| 111 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_reget_sort_ids (136 to 157 index-sort-string.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_node_add (159 to 223 index-sort-string.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 163 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 167 |  |
M | 165 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 167 |  |
M | 162 | Procedure contains UR data flow anomalies. : map | CERT EXP33-C
| 167 |  |
M | 164 | Procedure contains UR data flow anomalies. : reset_id | CERT EXP33-C
| 197 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sort-string.c | 163 | index-sort-string.c | 167 | data
index-sort-string.c | 165 | index-sort-string.c | 167 | expunged
index-sort-string.c | 162 | index-sort-string.c | 167 | map
index-sort-string.c | 164 | index-sort-string.c | 197 | reset_id

[ | Top of Report | | | Procedure Table | | | Contents | ]

sort_node_zero_string_cmp (242 to 255 index-sort-string.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 248 | Pointer not checked for null before use : static_zero_cmp_context | CERT EXP08-C,EXP34-C
| 49 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_zeroes (257 to 290 index-sort-string.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 272 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 545) |  |
M | 285 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 272 |  |
M | 278 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 272 |  |
M | 282 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 270 |  |
M | 289 | Pointer not checked for null before use : static_zero_cmp_context | CERT EXP08-C,EXP34-C
| 288 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_get_expunged_string (292 to 346 index-sort-string.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 311 | Array Bound exceeded. | CERT ARR30-C
M | 307 | Pointer not checked for null before use : nodes | CERT EXP08-C,EXP34-C
| 306 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_get_string (348 to 373 index-sort-string.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_bsearch (375 to 434 index-sort-string.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 389 | Pointer not checked for null before use : nodes | CERT EXP08-C,EXP34-C
| 385 |  |
M | 415 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 403 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_merge (436 to 504 index-sort-string.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 445 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 445 |  |
M | 445 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 445 |  |
M | 445 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 545) |  |
M | 454 | Pointer not checked for null before use : nznodes | CERT EXP08-C,EXP34-C
| 449 |  |
M | 453 | Pointer not checked for null before use : znodes | CERT EXP08-C,EXP34-C
| 448 |  |
M | 496 | Pointer not checked for null before use : znodes | CERT EXP08-C,EXP34-C
| 448 |  |
M | 457 | Pointer not checked for null before use : zstr | CERT EXP08-C,EXP34-C
| 453 |  |
M | 458 | Pointer not checked for null before use : zstr | CERT EXP08-C,EXP34-C
| 453 |  |
M | 485 | Pointer not checked for null before use : zstr | CERT EXP08-C,EXP34-C
| 453 |  |
M | 451 | Procedure contains UR data flow anomalies. : prev_str | CERT EXP33-C
| 439 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sort-string.c | 451 | index-sort-string.c | 458 | prev_str

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_add_ids_range (506 to 659 index-sort-string.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 522 | Pointer not checked for null before use : nodes | CERT EXP08-C,EXP34-C
| 518 |  |
M | 624 | Pointer not checked for null before use : left_str | CERT EXP08-C,EXP34-C
| 650 |  |
M | 594 | Procedure contains UR data flow anomalies. : left_str | CERT EXP33-C
| 513 |  |
M | 603 | Procedure contains UR data flow anomalies. : right_str | CERT EXP33-C
| 513 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sort-string.c | 594 | index-sort-string.c | 624 | left_str
index-sort-string.c | 603 | index-sort-string.c | 656 | right_str
index-sort-string.c | 603 | index-sort-string.c | 631 | right_str

[ | Top of Report | | | Procedure Table | | | Contents | ]

sort_node_cmp (715 to 728 index-sort-string.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 718 | Pointer not checked for null before use : static_zero_cmp_context | CERT EXP08-C,EXP34-C
| 49 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_list_finish_string (779 to 867 index-sort-string.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 865 | Pointer not checked for null before use : (ctx)->sort_strings | CERT EXP08-C,EXP34-C
| 858 |  |
M | 834 | Pointer not checked for null before use : (ctx)->sort_strings | CERT EXP08-C,EXP34-C
| 819 |  |
M | 842 | Pointer not checked for null before use : ctx.highest_reset_id | CERT EXP08-C,EXP34-C
| 814 |  |
M | 819 | Pointer not checked for null before use : ctx.last_seq | CERT EXP08-C,EXP34-C
| 814 |  |
M | 798 | Pointer not checked for null before use : nodes | CERT EXP08-C,EXP34-C
| 791 |  |
M | 789 | Pointer not checked for null before use : static_zero_cmp_context | CERT EXP08-C,EXP34-C
| 786 |  |
M | 816 | Pointer not checked for null before use : static_zero_cmp_context | CERT EXP08-C,EXP34-C
| 786 |  |
M | 865 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 858 |  |
M | 865 | Attempt to read from freed memory. : default_pool | CERT MEM30-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_list_add_arrival (41 to 52 index-sort.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_list_add_date (54 to 69 index-sort.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_list_add_size (71 to 82 index-sort.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 79 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 78 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_get_score (84 to 92 index-sort.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sort.c | 86 | index-sort.c | 88 | str

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_list_add_score (94 to 104 index-sort.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 102 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 101 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_list_finish_date (129 to 138 index-sort.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_list_finish_size (155 to 164 index-sort.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_list_finish_float (181 to 190 index-sort.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_list_next (203 to 214 index-sort.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_program_init (216 to 290 index-sort.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 289 | Local structure returned in function result : program |
M | 228 | Pointer not checked for null before use : program | CERT EXP08-C,EXP34-C
| 227 |  |
M | 245 | Pointer not checked for null before use : nodes | CERT EXP08-C,EXP34-C
| 244 |  |
M | 260 | Pointer not checked for null before use : nodes | CERT EXP08-C,EXP34-C
| 259 |  |
M | 280 | Pointer not checked for null before use : nodes | CERT EXP08-C,EXP34-C
| 279 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

get_first_addr (305 to 321 index-sort.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 309 | Procedure contains UR data flow anomalies. : str | CERT EXP33-C
| 312 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sort.c | 309 | index-sort.c | 312 | str

[ | Top of Report | | | Procedure Table | | | Contents | ]

get_display_name (336 to 365 index-sort.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_header_get (367 to 405 index-sort.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 380 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 380 |  |
M | 403 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 385 |  |
M | 371 | Procedure contains UR data flow anomalies. : ret | CERT EXP33-C
| 404 |  |
M | 370 | Procedure contains UR data flow anomalies. : str | CERT EXP33-C
| 378 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sort.c | 371 | index-sort.c | 404 | ret
index-sort.c | 370 | index-sort.c | 378 | str

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sort_node_cmp_type (407 to 505 index-sort.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 430 | Pointer not checked for null before use : str1 | CERT EXP08-C,EXP34-C
| 428 |  |
M | 431 | Pointer not checked for null before use : str2 | CERT EXP08-C,EXP34-C
| 429 |  |
M | 413 | Procedure contains UR data flow anomalies. : size1 | CERT EXP33-C
| 470 |  |
M | 413 | Procedure contains UR data flow anomalies. : size2 | CERT EXP33-C
| 474 |  |
M | 412 | Procedure contains UR data flow anomalies. : time1 | CERT EXP33-C
| 438 |  |
M | 412 | Procedure contains UR data flow anomalies. : time2 | CERT EXP33-C
| 442 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sort.c | 413 | index-sort.c | 470 | size1
index-sort.c | 413 | index-sort.c | 474 | size2
index-sort.c | 412 | index-sort.c | 438 | time1
index-sort.c | 412 | index-sort.c | 442 | time2

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_get_status_cache_fields (10 to 32 index-status.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 25 | Pointer not checked for null before use : cache_fields | CERT EXP08-C,EXP34-C
| 24 |  |
M | 27 | Pointer not checked for null before use : fields | CERT EXP08-C,EXP34-C
| 19 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_virtual_size_add_new (34 to 98 index-status.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 69 | Pointer not checked for null before use : search_args | CERT EXP08-C,EXP34-C
| 68 |  |
M | 73 | Pointer not checked for null before use : trans | CERT EXP08-C,EXP34-C
| 72 |  |
M | 80 | Pointer not checked for null before use : vsize_hdr | CERT EXP08-C,EXP34-C
| 64 |  |
M | 94 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 38 |  |
M | 69 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 48 |  |
M | 44 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 51 |  |
M | 44 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 51 |  |
M | 45 | Procedure contains UR data flow anomalies. : vsize | CERT EXP33-C
| 76 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-status.c | 44 | index-status.c | 51 | seq1
index-status.c | 44 | index-status.c | 51 | seq2
index-status.c | 45 | index-status.c | 76 | vsize

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_get_status_virtual_size (100 to 136 index-status.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 109 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 104 |  |
M | 106 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 109 |  |
M | 107 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 109 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-status.c | 106 | index-status.c | 109 | data
index-status.c | 107 | index-status.c | 109 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_get_status (138 to 179 index-status.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 150 | Pointer not checked for null before use : status_r | CERT EXP08-C,EXP34-C
| 146 |  |
M | 150 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 149 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_list_create_missing_index_dir (29 to 62 index-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 41 | Pointer not checked for null before use : index_dir | CERT EXP08-C,EXP34-C
| 39 |  |
M | 57 | Pointer not checked for null before use : parent_dir | CERT EXP08-C,EXP34-C
| 56 |  |
M | 41 | Pointer not checked for null before use : root_dir | CERT EXP08-C,EXP34-C
| 37 |  |
M | 56 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 49 |  |
M | 34 | Procedure contains UR data flow anomalies. : gid | CERT EXP33-C
| 44 |  |
M | 33 | Procedure contains UR data flow anomalies. : mode | CERT EXP33-C
| 44 |  |
M | 32 | Procedure contains UR data flow anomalies. : origin | CERT EXP33-C
| 44 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-storage.c | 34 | index-storage.c | 44 | gid
index-storage.c | 33 | index-storage.c | 44 | mode
index-storage.c | 32 | index-storage.c | 44 | origin

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_alloc (64 to 78 index-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 77 | Pointer not checked for null before use : index_dir | CERT EXP08-C,EXP34-C
| 75 |  |
M | 74 | Pointer not checked for null before use : index_dir | CERT EXP08-C,EXP34-C
| 72 |  |
M | 77 | Pointer not checked for null before use : mailbox_path | CERT EXP08-C,EXP34-C
| 70 |  |
M | 75 | Procedure contains UR data flow anomalies. : index_dir | CERT EXP33-C
| 68 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-storage.c | 75 | index-storage.c | 77 | index_dir

[ | Top of Report | | | Procedure Table | | | Contents | ]

set_cache_decisions (80 to 102 index-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 89 | Pointer not checked for null before use : arr | CERT EXP08-C,EXP34-C
| 89 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_cache_register_defaults (104 to 128 index-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 123 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 106 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_lock_notify (130 to 177 index-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 141 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 134 |  |
M | 164 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 162 |  |
M | 173 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 171 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_lock_notify_reset (179 to 185 index-storage.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_mailbox_open (187 to 251 index-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 195 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 189 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_mailbox_alloc (253 to 295 index-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 265 | Pointer not checked for null before use : vname | CERT EXP08-C,EXP34-C
| 264 |  |
M | 274 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 273 |  |
M | 281 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 279 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_mailbox_close (311 to 332 index-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 315 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 548) |  |
M | 323 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 313 |  |
M | 324 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 315 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_mailbox_update_cache_fields (339 to 382 index-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 342 | Attempt to use already freed object. | CERT MEM31-C
M | 364 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 353 |  |
M | 364 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 353 |  |
M | 346 | Procedure contains UR data flow anomalies. : old_count | CERT EXP33-C
| 350 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-storage.c | 346 | index-storage.c | 350 | old_count

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_mailbox_update (384 to 434 index-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 394 | Attempt to use already freed object. | CERT MEM31-C
M | 400 | Pointer not checked for null before use : view | CERT EXP08-C,EXP34-C
| 399 |  |
M | 405 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 400 |  |
M | 408 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 400 |  |
M | 412 | Pointer not checked for null before use : trans | CERT EXP08-C,EXP34-C
| 402 |  |
M | 426 | Pointer not checked for null before use : trans | CERT EXP08-C,EXP34-C
| 402 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_mailbox_delete_dir (436 to 456 index-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 438 | Procedure contains UR data flow anomalies. : dir_sha128 | CERT EXP33-C
| 452 |  |
M | 439 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 444 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-storage.c | 438 | index-storage.c | 452 | dir_sha128
index-storage.c | 439 | index-storage.c | 444 | error

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_mailbox_delete (458 to 488 index-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 460 | Procedure contains UR data flow anomalies. : mailbox_guid | CERT EXP33-C
| 470 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-storage.c | 460 | index-storage.c | 470 | mailbox_guid

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_storage_mailbox_rename (490 to 507 index-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 493 | Procedure contains UR data flow anomalies. : guid | CERT EXP33-C
| 504 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-storage.c | 493 | index-storage.c | 504 | guid

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_keyword_is_valid (534 to 565 index-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 537 | Procedure contains UR data flow anomalies. : idx | CERT EXP33-C
| 540 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-storage.c | 537 | index-storage.c | 540 | idx

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_keywords_create_skip (567 to 581 index-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 577 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 574 |  |
M | 577 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 574 |  |
M | 572 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 576 |  |
M | 571 | Procedure contains UR data flow anomalies. : valid_keywords.arr.buffer | CERT EXP33-C
| 579 |  |
M | 571 | Procedure contains UR data flow anomalies. : valid_keywords.arr.element_size | CERT EXP33-C
| 579 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-storage.c | 572 | index-storage.c | 576 | error
index-storage.c | 571 | index-storage.c | 579 | valid_keywords.arr.buffer
index-storage.c | 571 | index-storage.c | 579 | valid_keywords.arr.element_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_keywords_create (583 to 608 index-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 586 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 590 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-storage.c | 586 | index-storage.c | 590 | error

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_save_context_free (627 to 632 index-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 629 | free parameter is not heap item. | CERT MEM34-C
M | 631 | free parameter is not heap item. | CERT MEM34-C
M | 630 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 629 |  |
M | 630 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 631 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 630 |  |
M | 631 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 629 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 548) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sync_changes_init (18 to 33 index-sync-changes.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 32 | Local structure returned in function result : ctx |
M | 27 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 26 |  |
M | 26 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 549) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sync_changes_deinit (35 to 42 index-sync-changes.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 41 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 549) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sync_changes_reset (44 to 48 index-sync-changes.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sync_changes_read (90 to 156 index-sync-changes.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 103 | Pointer not checked for null before use : sync_rec | CERT EXP08-C,EXP34-C
| 123 |  |
M | 95 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 135 |  |
M | 95 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 135 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sync-changes.c | 95 | index-sync-changes.c | 135 | seq1
index-sync-changes.c | 95 | index-sync-changes.c | 135 | seq2

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sync_uidify_array (22 to 34 index-sync-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 26 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 30 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sync-search.c | 26 | index-sync-search.c | 30 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sync_uidify (36 to 46 index-sync-search.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 42 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 550) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sync_search_results_uidify (48 to 63 index-sync-search.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_sync_search_results_update (81 to 89 index-sync-search.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 88 | Pointer not checked for null before use : results | CERT EXP08-C,EXP34-C
| 86 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_want_full_sync (20 to 33 index-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 26 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 23 |  |
M | 29 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 23 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_set_recent_uid (35 to 52 index-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 39 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 37 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_set_recent_seq (54 to 64 index-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 58 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 61 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sync.c | 58 | index-sync.c | 61 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_is_recent (66 to 72 index-sync.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_reset_uidvalidity (74 to 83 index-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 79 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 76 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_get_recent_count (85 to 113 index-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 92 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 87 |  |
M | 100 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 95 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_expunge_recent (115 to 129 index-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 121 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 118 |  |
M | 119 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 125 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sync.c | 119 | index-sync.c | 125 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_view_sync_recs_get (131 to 168 index-sync.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 : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 551) |  |
M | 150 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 137 |  |
M | 134 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 141 |  |
M | 134 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 141 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sync.c | 134 | index-sync.c | 141 | seq1
index-sync.c | 134 | index-sync.c | 141 | seq2

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_sync_init (170 to 205 index-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 178 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 177 |  |
M | 177 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 551) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_sync_next_expunge (207 to 229 index-sync.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_sync_next (231 to 263 index-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 245 | Pointer not checked for null before use : range | CERT EXP08-C,EXP34-C
| 242 |  |
M | 255 | Pointer not checked for null before use : range | CERT EXP08-C,EXP34-C
| 252 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_expunge_unseen_recent (265 to 324 index-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 274 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 268 |  |
M | 284 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 281 |  |
M | 291 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 281 |  |
M | 272 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 285 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sync.c | 272 | index-sync.c | 285 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_mailbox_sync_deinit (326 to 384 index-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 358 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 357 |  |
M | 358 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 331 |  |
M | 334 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 359 |  |
M | 334 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 359 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-sync.c | 334 | index-sync.c | 359 | seq1
index-sync.c | 334 | index-sync.c | 359 | seq2

[ | Top of Report | | | Procedure Table | | | Contents | ]

add_base_subject (65 to 113 index-thread-finish.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 75 | Pointer not checked for null before use : subject | CERT EXP08-C,EXP34-C
| 74 |  |
M | 87 | Pointer not checked for null before use : hash_subject | CERT EXP08-C,EXP34-C
| 86 |  |
M | 106 | Pointer not checked for null before use : hash_subject | CERT EXP08-C,EXP34-C
| 89 |  |
M | 72 | Procedure contains UR data flow anomalies. : is_reply_or_forward | CERT EXP33-C
| 75 |  |
M | 71 | Procedure contains UR data flow anomalies. : key | CERT EXP33-C
| 82 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-thread-finish.c | 72 | index-thread-finish.c | 75 | is_reply_or_forward
index-thread-finish.c | 71 | index-thread-finish.c | 82 | key

[ | Top of Report | | | Procedure Table | | | Contents | ]

thread_child_node_fill (147 to 171 index-thread-finish.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 151 | Procedure contains UR data flow anomalies. : tz | CERT EXP33-C
| 164 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-thread-finish.c | 151 | index-thread-finish.c | 164 | tz

[ | Top of Report | | | Procedure Table | | | Contents | ]

thread_sort_children (173 to 204 index-thread-finish.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 186 | Pointer not checked for null before use : shadows | CERT EXP08-C,EXP34-C
| 185 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

gather_base_subjects (206 to 261 index-thread-finish.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 225 | Pointer not checked for null before use : gather_ctx.subject_pool | CERT EXP08-C,EXP34-C
| 222 |  |
M | 259 | Pointer not checked for null before use : gather_ctx.subject_hash | CERT EXP08-C,EXP34-C
| 225 |  |
M | 232 | Pointer not checked for null before use : roots | CERT EXP08-C,EXP34-C
| 219 |  |
M | 210 | Procedure contains UR data flow anomalies. : subject | CERT EXP33-C
| 252 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-thread-finish.c | 210 | index-thread-finish.c | 252 | subject

[ | Top of Report | | | Procedure Table | | | Contents | ]

thread_add_shadow_child (263 to 273 index-thread-finish.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 271 | Pointer not checked for null before use : child_shadow | CERT EXP08-C,EXP34-C
| 269 |  |
M | 271 | Pointer not checked for null before use : parent_shadow | CERT EXP08-C,EXP34-C
| 268 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_root_thread_merge (275 to 349 index-thread-finish.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 291 | Pointer not checked for null before use : root | CERT EXP08-C,EXP34-C
| 288 |  |
M | 291 | Pointer not checked for null before use : roots | CERT EXP08-C,EXP34-C
| 287 |  |
M | 303 | Pointer not checked for null before use : shadows | CERT EXP08-C,EXP34-C
| 295 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sort_root_nodes (370 to 410 index-thread-finish.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 380 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 378 |  |
M | 380 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 378 |  |
M | 378 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 552) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sort_root_nodes_ref2 (421 to 463 index-thread-finish.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 450 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 452 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_create_shadows (465 to 519 index-thread-finish.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 486 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 484 |  |
M | 511 | Pointer not checked for null before use : parent | CERT EXP08-C,EXP34-C
| 510 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_finish (521 to 556 index-thread-finish.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 529 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 552) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

nodes_change_uids_to_seqs (558 to 580 index-thread-finish.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 568 | Pointer not checked for null before use : children | CERT EXP08-C,EXP34-C
| 566 |  |
M | 564 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 575 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-thread-finish.c | 564 | index-thread-finish.c | 575 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_iterate_fill_root (582 to 597 index-thread-finish.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 589 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 552) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_iterate_children (599 to 615 index-thread-finish.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 614 | Local structure returned in function result : child_iter |
M | 606 | Pointer not checked for null before use : child_iter | CERT EXP08-C,EXP34-C
| 605 |  |
M | 605 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 552) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_iterate_init_full (617 to 638 index-thread-finish.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 637 | Local structure returned in function result : iter |
M | 627 | Pointer not checked for null before use : iter | CERT EXP08-C,EXP34-C
| 626 |  |
M | 628 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 627 |  |
M | 626 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 552) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_iterate_next (640 to 659 index-thread-finish.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 658 | Local structure returned in function result : child |
M | 655 | Pointer not checked for null before use : shadow | CERT EXP08-C,EXP34-C
| 654 |  |
M | 652 | Pointer not checked for null before use : children | CERT EXP08-C,EXP34-C
| 648 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_iterate_deinit (666 to 680 index-thread-finish.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 678 | Pointer not checked for null before use : (iter)->ctx | CERT EXP08-C,EXP34-C
| 675 |  |
M | 678 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 675 |  |
M | 678 | Attempt to read from freed memory. : default_pool | CERT MEM30-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

thread_msg_add (9 to 30 index-thread-links.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 18 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 17 |  |
M | 27 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 26 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

thread_link_reference (45 to 120 index-thread-links.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 88 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 87 |  |
M | 64 | Pointer not checked for null before use : child | CERT EXP08-C,EXP34-C
| 60 |  |
M | 85 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 83 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

thread_link_references (122 to 143 index-thread-links.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 136 | Pointer not checked for null before use : msgid_map | CERT EXP08-C,EXP34-C
| 133 |  |
M | 139 | Pointer not checked for null before use : msgid_map_idx | CERT EXP08-C,EXP34-C
| 134 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_add (145 to 172 index-thread-links.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 162 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 161 |  |
M | 171 | Pointer not checked for null before use : msgid_map_idx | CERT EXP08-C,EXP34-C
| 158 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_unref_link (174 to 193 index-thread-links.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 181 | Pointer not checked for null before use : parent | CERT EXP08-C,EXP34-C
| 180 |  |
M | 185 | Pointer not checked for null before use : child | CERT EXP08-C,EXP34-C
| 184 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_remove (195 to 242 index-thread-links.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 215 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 214 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_strmap_rec_get_msgid (56 to 108 index-thread.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 106 | Pointer not checked for null before use : msgid | CERT EXP08-C,EXP34-C
| 97 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_hash_key_cmp (110 to 133 index-thread.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 : msgid | CERT EXP08-C,EXP34-C
| 123 |  |
M | 117 | Procedure contains UR data flow anomalies. : msgid | CERT EXP33-C
| 129 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-thread.c | 117 | index-thread.c | 129 | msgid

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_hash_rec_cmp (135 to 156 index-thread.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 148 | Pointer not checked for null before use : msgid1 | CERT EXP08-C,EXP34-C
| 146 |  |
M | 153 | Pointer not checked for null before use : msgid1 | CERT EXP08-C,EXP34-C
| 148 |  |
M | 153 | Pointer not checked for null before use : msgid2 | CERT EXP08-C,EXP34-C
| 149 |  |
M | 142 | Procedure contains UR data flow anomalies. : msgid1 | CERT EXP33-C
| 148 |  |
M | 142 | Procedure contains UR data flow anomalies. : msgid2 | CERT EXP33-C
| 153 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-thread.c | 142 | index-thread.c | 148 | msgid1
index-thread.c | 142 | index-thread.c | 153 | msgid1
index-thread.c | 142 | index-thread.c | 153 | msgid2

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_strmap_remap (158 to 225 index-thread.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 185 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 182 |  |
M | 185 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 182 |  |
M | 198 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 197 |  |
M | 213 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 212 |  |
M | 198 | Pointer not checked for null before use : old_nodes | CERT EXP08-C,EXP34-C
| 181 |  |
M | 164 | Procedure contains UR data flow anomalies. : new_nodes.arr.buffer | CERT EXP33-C
| 224 |  |
M | 164 | Procedure contains UR data flow anomalies. : new_nodes.arr.element_size | CERT EXP33-C
| 224 |  |
M | 164 | Procedure contains UR data flow anomalies. : new_nodes.v | CERT EXP33-C
| 224 |  |
M | 164 | Procedure contains UR data flow anomalies. : new_nodes.v_modifiable | CERT EXP33-C
| 224 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-thread.c | 164 | index-thread.c | 224 | new_nodes.arr.buffer
index-thread.c | 164 | index-thread.c | 224 | new_nodes.arr.element_size
index-thread.c | 164 | index-thread.c | 224 | new_nodes.v
index-thread.c | 164 | index-thread.c | 224 | new_nodes.v_modifiable

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_map_add_mail (241 to 291 index-thread.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 244 | Procedure contains UR data flow anomalies. : in_reply_to | CERT EXP33-C
| 275 |  |
M | 244 | Procedure contains UR data flow anomalies. : message_id | CERT EXP33-C
| 247 |  |
M | 244 | Procedure contains UR data flow anomalies. : references | CERT EXP33-C
| 248 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-thread.c | 244 | index-thread.c | 275 | in_reply_to
index-thread.c | 244 | index-thread.c | 247 | message_id
index-thread.c | 244 | index-thread.c | 248 | references
index-thread.c | 244 | index-thread.c | 263 | references

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_index_map_build (293 to 356 index-thread.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 307 | Pointer not checked for null before use : tbox | CERT EXP08-C,EXP34-C
| 299 |  |
M | 320 | Pointer not checked for null before use : headers_ctx | CERT EXP08-C,EXP34-C
| 319 |  |
M | 335 | Pointer not checked for null before use : search_args | CERT EXP08-C,EXP34-C
| 334 |  |
M | 304 | Procedure contains UR data flow anomalies. : last_uid | CERT EXP33-C
| 323 |  |
M | 304 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 325 |  |
M | 304 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 325 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-thread.c | 304 | index-thread.c | 323 | last_uid
index-thread.c | 304 | index-thread.c | 325 | seq1
index-thread.c | 304 | index-thread.c | 325 | seq2

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_cache_update_removes (367 to 417 index-thread.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 402 | Array Bound exceeded. | CERT ARR30-C
M | 393 | Pointer not checked for null before use : msgid_map | CERT EXP08-C,EXP34-C
| 389 |  |
M | 374 | Procedure contains UR data flow anomalies. : idx | CERT EXP33-C
| 394 |  |
M | 374 | Procedure contains UR data flow anomalies. : map_count | CERT EXP33-C
| 393 |  |
M | 374 | Procedure contains UR data flow anomalies. : uid_count | CERT EXP33-C
| 383 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-thread.c | 374 | index-thread.c | 394 | idx
index-thread.c | 374 | index-thread.c | 393 | map_count
index-thread.c | 374 | index-thread.c | 383 | uid_count

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_cache_update_adds (419 to 449 index-thread.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 434 | Pointer not checked for null before use : uids | CERT EXP08-C,EXP34-C
| 430 |  |
M | 425 | Procedure contains UR data flow anomalies. : j | CERT EXP33-C
| 434 |  |
M | 425 | Procedure contains UR data flow anomalies. : uid_count | CERT EXP33-C
| 431 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
index-thread.c | 425 | index-thread.c | 434 | j
index-thread.c | 425 | index-thread.c | 431 | uid_count

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_init (543 to 585 index-thread.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 581 | Sizeof argument is a pointer. | CERT EXP01-C
M | 551 | Pointer not checked for null before use : tbox | CERT EXP08-C,EXP34-C
| 546 |  |
M | 557 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C
| 556 |  |
M | 562 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 561 |  |
M | 573 | Pointer not checked for null before use : search_ctx | CERT EXP08-C,EXP34-C
| 566 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_deinit (593 to 604 index-thread.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 602 | Pointer not checked for null before use : tbox | CERT EXP08-C,EXP34-C
| 596 |  |
M | 603 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 554) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_iterate_init (606 to 614 index-thread.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 612 | Pointer not checked for null before use : tbox | CERT EXP08-C,EXP34-C
| 610 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_mailbox_close (616 to 627 index-thread.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 620 | Attempt to use already freed object. | CERT MEM31-C
M | 620 | Pointer not checked for null before use : tbox | CERT EXP08-C,EXP34-C
| 618 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_thread_mailbox_free (629 to 639 index-thread.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 633 | Pointer not checked for null before use : tbox | CERT EXP08-C,EXP34-C
| 631 |  |
M | 638 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 637 |  |
M | 638 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 638 | Pointer not checked for null before use : (tbox)->cache | CERT EXP08-C,EXP34-C
| 637 |  |
M | 637 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 554) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_thread_mailbox_opened (641 to 663 index-thread.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 659 | Attempt to use already freed object. | CERT MEM31-C
M | 651 | Pointer not checked for null before use : tbox | CERT EXP08-C,EXP34-C
| 650 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_transaction_free (8 to 14 index-transaction.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 13 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 555) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_transaction_index_commit (16 to 48 index-transaction.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 22 | Pointer not checked for null before use : it | CERT EXP08-C,EXP34-C
| 20 |  |
M | 27 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 23 |  |
M | 44 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 23 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_transaction_index_rollback (50 to 61 index-transaction.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 53 | Pointer not checked for null before use : it | CERT EXP08-C,EXP34-C
| 52 |  |
M | 57 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 53 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_transaction_begin (98 to 107 index-transaction.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 105 | Pointer not checked for null before use : it | CERT EXP08-C,EXP34-C
| 104 |  |
M | 104 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 555) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

index_transaction_commit (109 to 132 index-transaction.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 118 | Pointer not checked for null before use : changes_r | CERT EXP08-C,EXP34-C
| 117 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

i_stream_create_mail_stats_counter (50 to 68 istream-mail-stats.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 56 | Pointer not checked for null before use : mstream | CERT EXP08-C,EXP34-C
| 55 |  |
M | 55 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 556) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

i_stream_raw_mbox_destroy (27 to 37 istream-raw-mbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 32 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 31 |  |
M | 31 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 568) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_read_from_line (39 to 131 istream-raw-mbox.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 94 | free parameter is not heap item. | CERT MEM34-C
M | 58 | Pointer not checked for null before use : buf | CERT EXP08-C,EXP34-C
| 49 |  |
M | 62 | Pointer not checked for null before use : buf | CERT EXP08-C,EXP34-C
| 64 |  |
M | 80 | Pointer not checked for null before use : buf | CERT EXP08-C,EXP34-C
| 64 |  |
M | 44 | Procedure contains UR data flow anomalies. : pos | CERT EXP33-C
| 49 |  |
M | 43 | Procedure contains UR data flow anomalies. : received_time | CERT EXP33-C
| 84 |  |
M | 42 | Procedure contains UR data flow anomalies. : sender | CERT EXP33-C
| 84 |  |
M | 47 | Procedure contains UR data flow anomalies. : tz | CERT EXP33-C
| 84 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
istream-raw-mbox.c | 44 | istream-raw-mbox.c | 49 | pos
istream-raw-mbox.c | 43 | istream-raw-mbox.c | 84 | received_time
istream-raw-mbox.c | 42 | istream-raw-mbox.c | 84 | sender
istream-raw-mbox.c | 47 | istream-raw-mbox.c | 84 | tz

[ | Top of Report | | | Procedure Table | | | Contents | ]

i_stream_raw_mbox_read (158 to 383 istream-raw-mbox.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 329 | Pointer not checked for null before use : (rstream)->istream.istream.v_offset | CERT EXP08-C,EXP34-C
| 255 |  |
M | 211 | Pointer not checked for null before use : buf | CERT EXP08-C,EXP34-C
| 188 |  |
M | 371 | Pointer not checked for null before use : buf | CERT EXP08-C,EXP34-C
| 270 |  |
M | 350 | Pointer not checked for null before use : fromp | CERT EXP08-C,EXP34-C
| 312 |  |
M | 324 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 255 |  |
M | 272 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 255 |  |
M | 374 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 324 |  |
M | 166 | Procedure contains UR data flow anomalies. : pos | CERT EXP33-C
| 188 |  |
M | 165 | Procedure contains UR data flow anomalies. : received_time | CERT EXP33-C
| 317 |  |
M | 164 | Procedure contains UR data flow anomalies. : sender | CERT EXP33-C
| 317 |  |
M | 168 | Procedure contains UR data flow anomalies. : tz | CERT EXP33-C
| 317 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
istream-raw-mbox.c | 166 | istream-raw-mbox.c | 188 | pos
istream-raw-mbox.c | 165 | istream-raw-mbox.c | 317 | received_time
istream-raw-mbox.c | 164 | istream-raw-mbox.c | 317 | sender
istream-raw-mbox.c | 168 | istream-raw-mbox.c | 317 | tz

[ | Top of Report | | | Procedure Table | | | Contents | ]

i_stream_create_raw_mbox (426 to 451 istream-raw-mbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 434 | Pointer not checked for null before use : rstream | CERT EXP08-C,EXP34-C
| 432 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

istream_raw_mbox_is_valid_from (453 to 493 istream-raw-mbox.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 480 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 471 |  |
M | 455 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 462 |  |
M | 457 | Procedure contains UR data flow anomalies. : received_time | CERT EXP33-C
| 486 |  |
M | 458 | Procedure contains UR data flow anomalies. : sender | CERT EXP33-C
| 486 |  |
M | 456 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 462 |  |
M | 459 | Procedure contains UR data flow anomalies. : tz | CERT EXP33-C
| 486 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
istream-raw-mbox.c | 455 | istream-raw-mbox.c | 462 | data
istream-raw-mbox.c | 457 | istream-raw-mbox.c | 486 | received_time
istream-raw-mbox.c | 458 | istream-raw-mbox.c | 486 | sender
istream-raw-mbox.c | 456 | istream-raw-mbox.c | 462 | size
istream-raw-mbox.c | 459 | istream-raw-mbox.c | 486 | tz

[ | Top of Report | | | Procedure Table | | | Contents | ]

istream_raw_mbox_get_body_offset (525 to 558 istream-raw-mbox.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 530 | Procedure contains UR data flow anomalies. : pos | CERT EXP33-C
| 540 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
istream-raw-mbox.c | 530 | istream-raw-mbox.c | 540 | pos

[ | Top of Report | | | Procedure Table | | | Contents | ]

istream_raw_mbox_get_body_size (560 to 616 istream-raw-mbox.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 597 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 572 |  |
M | 565 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 609 |  |
M | 566 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 609 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
istream-raw-mbox.c | 565 | istream-raw-mbox.c | 609 | data
istream-raw-mbox.c | 566 | istream-raw-mbox.c | 609 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

istream_raw_mbox_next (652 to 679 istream-raw-mbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 664 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 658 |  |
M | 658 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 568) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

istream_raw_mbox_seek (681 to 729 istream-raw-mbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 727 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 714 |  |
M | 714 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 712 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_storage_try_copy (8 to 59 mail-copy.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 14 | Procedure contains UR data flow anomalies. : from_envelope | CERT EXP33-C
| 32 |  |
M | 14 | Procedure contains UR data flow anomalies. : guid | CERT EXP33-C
| 39 |  |
M | 15 | Procedure contains UR data flow anomalies. : received_date | CERT EXP33-C
| 27 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-copy.c | 14 | mail-copy.c | 32 | from_envelope
mail-copy.c | 14 | mail-copy.c | 39 | guid
mail-copy.c | 15 | mail-copy.c | 27 | received_date

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespace_free (47 to 58 mail-namespace.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

namespace_add (60 to 140 mail-namespace.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 71 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 70 |  |
M | 70 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 599) |  |
M | 131 | Pointer not checked for null before use : driver | CERT EXP08-C,EXP34-C
| 128 |  |
M | 128 | Procedure contains UR data flow anomalies. : driver | CERT EXP33-C
| 68 |  |
M | 68 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 131 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-namespace.c | 128 | mail-namespace.c | 131 | driver
mail-namespace.c | 68 | mail-namespace.c | 131 | error

[ | Top of Report | | | Procedure Table | | | Contents | ]

namespaces_check (192 to 252 mail-namespace.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 195 | Procedure contains UR data flow anomalies. : inbox_ns | CERT EXP33-C
| 236 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-namespace.c | 195 | mail-namespace.c | 236 | inbox_ns
mail-namespace.c | 195 | mail-namespace.c | 203 | inbox_ns

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespaces_init (254 to 370 mail-namespace.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 266 | Pointer not checked for null before use : namespaces | CERT EXP08-C,EXP34-C
| 266 |  |
M | 289 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 288 |  |
M | 304 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 303 |  |
M | 310 | Pointer not checked for null before use : inbox_set | CERT EXP08-C,EXP34-C
| 309 |  |
M | 314 | Pointer not checked for null before use : unexpanded_inbox_set | CERT EXP08-C,EXP34-C
| 313 |  |
M | 323 | Pointer not checked for null before use : unexpanded_mail_set | CERT EXP08-C,EXP34-C
| 318 |  |
M | 279 | Pointer not checked for null before use : mail_set | CERT EXP08-C,EXP34-C
| 268 |  |
M | 279 | Pointer not checked for null before use : ns_set | CERT EXP08-C,EXP34-C
| 275 |  |
M | 279 | Pointer not checked for null before use : unexpanded_ns_set | CERT EXP08-C,EXP34-C
| 275 |  |
M | 282 | Pointer not checked for null before use : ns_p | CERT EXP08-C,EXP34-C
| 279 |  |
M | 350 | Pointer not checked for null before use : driver | CERT EXP08-C,EXP34-C
| 316 |  |
M | 316 | Procedure contains UR data flow anomalies. : driver | CERT EXP33-C
| 261 |  |
M | 261 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 350 |  |
M | 266 | Procedure contains UR data flow anomalies. : namespaces | CERT EXP33-C
| 259 |  |
M | 275 | Procedure contains UR data flow anomalies. : unexpanded_ns_set | CERT EXP33-C
| 258 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-namespace.c | 316 | mail-namespace.c | 350 | driver
mail-namespace.c | 261 | mail-namespace.c | 350 | error
mail-namespace.c | 266 | mail-namespace.c | 285 | namespaces
mail-namespace.c | 275 | mail-namespace.c | 279 | unexpanded_ns_set

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespaces_init_empty (372 to 385 mail-namespace.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 384 | Local structure returned in function result : ns |
M | 377 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 376 |  |
M | 376 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 599) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespaces_deinit (387 to 401 mail-namespace.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 396 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 395 |  |
M | 399 | Pointer not checked for null before use : next | CERT EXP08-C,EXP34-C
| 396 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespace_destroy (413 to 426 mail-namespace.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 425 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 420 |  |
M | 418 | Pointer not checked for null before use : nsp | CERT EXP08-C,EXP34-C
| 418 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespace_fix_sep (428 to 447 mail-namespace.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 442 | Pointer not checked for null before use : ret | CERT EXP08-C,EXP34-C
| 441 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespace_get_storage_name (449 to 462 mail-namespace.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 461 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 456 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespaces_get_root_sep (489 to 494 mail-namespace.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 491 | Pointer not checked for null before use : namespaces | CERT EXP08-C,EXP34-C
| 492 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespace_find_mask (521 to 566 mail-namespace.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 563 | Pointer not checked for null before use : mailbox | CERT EXP08-C,EXP34-C
| 561 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespace_find (580 to 593 mail-namespace.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 592 | Local structure returned in function result : ns |
M | 589 | Pointer not checked for null before use : mailbox | CERT EXP08-C,EXP34-C
| 585 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespace_find_inbox (620 to 626 mail-namespace.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 623 | Pointer not checked for null before use : namespaces | CERT EXP08-C,EXP34-C
| 624 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespace_update_name (628 to 636 mail-namespace.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 635 | Pointer not checked for null before use : tmp_ns.next | CERT EXP08-C,EXP34-C
| 634 |  |
M | 634 | Procedure contains UR data flow anomalies. : tmp_ns.next | CERT EXP33-C
| 631 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-namespace.c | 634 | mail-namespace.c | 635 | tmp_ns.next

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespace_find_prefix (638 to 651 mail-namespace.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 648 | Local structure returned in function result : ns |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_namespace_find_prefix_nosep (653 to 667 mail-namespace.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 664 | Local structure returned in function result : ns |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_build_new (14 to 23 mail-search-build.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 22 | Local structure returned in function result : arg |
M | 21 | Pointer not checked for null before use : arg | CERT EXP08-C,EXP34-C
| 20 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_build_str (25 to 37 mail-search-build.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 36 | Local structure returned in function result : sarg |
M | 35 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 32 |  |
M | 30 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 33 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-build.c | 30 | mail-search-build.c | 33 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_build_key_int (39 to 80 mail-search-build.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 79 | Local structure returned in function result : sarg |
M | 59 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 57 |  |
M | 78 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 68 |  |
M | 66 | Pointer not checked for null before use : key | CERT EXP08-C,EXP34-C
| 64 |  |
M | 46 | Procedure contains UR data flow anomalies. : key | CERT EXP33-C
| 53 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-build.c | 46 | mail-search-build.c | 53 | key

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_build_list (97 to 128 mail-search-build.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 120 | Pointer not checked for null before use : subargs | CERT EXP08-C,EXP34-C
| 108 |  |
M | 105 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 104 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_build (130 to 165 mail-search-build.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 150 | Pointer not checked for null before use : ctx._error | CERT EXP08-C,EXP34-C
| 149 |  |
M | 156 | Pointer not checked for null before use : root | CERT EXP08-C,EXP34-C
| 149 |  |
M | 142 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C
| 141 |  |
M | 149 | Pointer not checked for null before use : ctx.parent | CERT EXP08-C,EXP34-C
| 144 |  |
M | 149 | Pointer not checked for null before use : ctx.parser | CERT EXP08-C,EXP34-C
| 147 |  |
M | 149 | Pointer not checked for null before use : ctx.reg | CERT EXP08-C,EXP34-C
| 146 |  |
M | 149 | Pointer not checked for null before use : ctx.pool | CERT EXP08-C,EXP34-C
| 145 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_build_init (167 to 177 mail-search-build.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 176 | Local structure returned in function result : args |
M | 173 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 172 |  |
M | 174 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C
| 173 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_build_add (179 to 191 mail-search-build.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 190 | Local structure returned in function result : arg |
M | 186 | Pointer not checked for null before use : arg | CERT EXP08-C,EXP34-C
| 185 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_build_add_seqset (198 to 207 mail-search-build.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_parser_init_cmdline (86 to 98 mail-search-parser-cmdline.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 93 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 92 |  |
M | 94 | Pointer not checked for null before use : parser | CERT EXP08-C,EXP34-C
| 93 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_parse_key (19 to 59 mail-search-parser-imap.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_parse_skip_next (91 to 105 mail-search-parser-imap.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 96 | Procedure contains UR data flow anomalies. : arg | CERT EXP33-C
| 98 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-parser-imap.c | 96 | mail-search-parser-imap.c | 98 | arg

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_parser_init_imap (113 to 126 mail-search-parser-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 120 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 119 |  |
M | 121 | Pointer not checked for null before use : parser | CERT EXP08-C,EXP34-C
| 120 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

human_search_or (19 to 29 mail-search-register-human.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 22 | Procedure contains UR data flow anomalies. : sarg | CERT EXP33-C
| 26 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register-human.c | 22 | mail-search-register-human.c | 26 | sarg

[ | Top of Report | | | Procedure Table | | | Contents | ]

arg_new_human_date (31 to 78 mail-search-register-human.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 77 | Local structure returned in function result : sarg |
M | 59 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 42 |  |
M | 37 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 64 |  |
M | 39 | Procedure contains UR data flow anomalies. : secs | CERT EXP33-C
| 64 |  |
M | 40 | Procedure contains UR data flow anomalies. : unixtime | CERT EXP33-C
| 62 |  |
M | 37 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 43 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register-human.c | 37 | mail-search-register-human.c | 64 | error
mail-search-register-human.c | 39 | mail-search-register-human.c | 64 | secs
mail-search-register-human.c | 40 | mail-search-register-human.c | 62 | unixtime
mail-search-register-human.c | 37 | mail-search-register-human.c | 43 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

arg_new_human_size (98 to 114 mail-search-register-human.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 113 | Local structure returned in function result : sarg |
M | 109 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 105 |  |
M | 103 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 109 |  |
M | 103 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 106 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register-human.c | 103 | mail-search-register-human.c | 109 | error
mail-search-register-human.c | 103 | mail-search-register-human.c | 106 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

human_search_mailbox (134 to 160 mail-search-register-human.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 159 | Local structure returned in function result : sarg |
M | 149 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 144 |  |
M | 150 | Procedure contains UR data flow anomalies. : (sarg)->value.str | CERT EXP33-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register-human.c | 150 | mail-search-register-human.c | 154 | (sarg)->value.str

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_register_init_human (195 to 233 mail-search-register-human.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 206 | Pointer not checked for null before use : reg | CERT EXP08-C,EXP34-C
| 205 |  |
M | 206 | Pointer not checked for null before use : human_register_args.key | CERT EXP08-C,EXP34-C
| 168 |  |
M | 214 | Pointer not checked for null before use : imap_args | CERT EXP08-C,EXP34-C
| 210 |  |
M | 225 | Pointer not checked for null before use : imap_args | CERT EXP08-C,EXP34-C
| 210 |  |
M | 214 | Pointer not checked for null before use : human_args | CERT EXP08-C,EXP34-C
| 211 |  |
M | 216 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 212 |  |
M | 216 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 212 |  |
M | 200 | Procedure contains UR data flow anomalies. : copy_args.arr.buffer | CERT EXP33-C
| 227 |  |
M | 200 | Procedure contains UR data flow anomalies. : copy_args.arr.element_size | CERT EXP33-C
| 227 |  |
M | 202 | Procedure contains UR data flow anomalies. : human_count | CERT EXP33-C
| 211 |  |
M | 202 | Procedure contains UR data flow anomalies. : imap_count | CERT EXP33-C
| 210 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register-human.c | 200 | mail-search-register-human.c | 227 | copy_args.arr.buffer
mail-search-register-human.c | 200 | mail-search-register-human.c | 227 | copy_args.arr.element_size
mail-search-register-human.c | 202 | mail-search-register-human.c | 211 | human_count
mail-search-register-human.c | 202 | mail-search-register-human.c | 210 | imap_count

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_register_get_human (235 to 245 mail-search-register-human.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 242 | Pointer not checked for null before use : imap_reg | CERT EXP08-C,EXP34-C
| 238 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_fallback (17 to 35 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 31 | Local structure returned in function result : sarg |
M | 26 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 25 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_not (37 to 47 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 46 | Local structure returned in function result : sarg |
M | 45 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 42 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_or (49 to 70 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 69 | Local structure returned in function result : sarg |
M | 57 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 55 |  |
M | 61 | Pointer not checked for null before use : subargs | CERT EXP08-C,EXP34-C
| 59 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_uid (84 to 105 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 104 | Local structure returned in function result : sarg |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_answered (117 to 117 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 117 | Local structure returned in function result : sarg |
M | 117 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 117 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_unanswered (118 to 118 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 118 | Local structure returned in function result : sarg |
M | 118 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 118 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_deleted (119 to 119 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 119 | Local structure returned in function result : sarg |
M | 119 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 119 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_undeleted (120 to 120 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 120 | Local structure returned in function result : sarg |
M | 120 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 120 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_draft (121 to 121 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 121 | Local structure returned in function result : sarg |
M | 121 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 121 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_undraft (122 to 122 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 122 | Local structure returned in function result : sarg |
M | 122 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 122 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_flagged (123 to 123 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 123 | Local structure returned in function result : sarg |
M | 123 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 123 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_unflagged (124 to 124 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 124 | Local structure returned in function result : sarg |
M | 124 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 124 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_seen (125 to 125 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 125 | Local structure returned in function result : sarg |
M | 125 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 125 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_unseen (126 to 126 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 126 | Local structure returned in function result : sarg |
M | 126 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 126 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_recent (127 to 127 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 127 | Local structure returned in function result : sarg |
M | 127 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 127 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_old (128 to 128 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 128 | Local structure returned in function result : sarg |
M | 128 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 128 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_new (130 to 140 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 139 | Local structure returned in function result : sarg |
M | 137 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 136 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_unkeyword (144 to 153 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 152 | Local structure returned in function result : sarg |

[ | Top of Report | | | Procedure Table | | | Contents | ]

arg_new_date (155 to 172 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 171 | Local structure returned in function result : sarg |
M | 166 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 163 |  |
M | 161 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 164 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register-imap.c | 161 | mail-search-register-imap.c | 164 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

arg_new_size (192 to 208 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 207 | Local structure returned in function result : sarg |
M | 203 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 199 |  |
M | 197 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 200 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register-imap.c | 197 | mail-search-register-imap.c | 200 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

arg_new_header (222 to 236 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 235 | Local structure returned in function result : sarg |
M | 233 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 229 |  |
M | 227 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 230 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register-imap.c | 227 | mail-search-register-imap.c | 230 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_header (250 to 260 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 253 | Procedure contains UR data flow anomalies. : hdr_name | CERT EXP33-C
| 256 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register-imap.c | 253 | mail-search-register-imap.c | 256 | hdr_name

[ | Top of Report | | | Procedure Table | | | Contents | ]

arg_new_interval (277 to 296 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 295 | Local structure returned in function result : sarg |
M | 293 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 285 |  |
M | 283 | Procedure contains UR data flow anomalies. : interval | CERT EXP33-C
| 289 |  |
M | 282 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 286 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register-imap.c | 283 | mail-search-register-imap.c | 289 | interval
mail-search-register-imap.c | 282 | mail-search-register-imap.c | 286 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_older (298 to 307 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 306 | Local structure returned in function result : sarg |
M | 305 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 303 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

arg_modseq_set_ext (332 to 362 mail-search-register-imap.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 : name | CERT EXP08-C,EXP34-C
| 338 |  |
M | 336 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 357 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register-imap.c | 336 | mail-search-register-imap.c | 357 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_modseq (364 to 391 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 390 | Local structure returned in function result : sarg |
M | 373 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 372 |  |
M | 368 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 375 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register-imap.c | 368 | mail-search-register-imap.c | 375 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_last_result (393 to 403 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 402 | Local structure returned in function result : sarg |
M | 400 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 399 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imap_search_inthread (405 to 426 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 425 | Local structure returned in function result : sarg |
M | 422 | Pointer not checked for null before use : sarg | CERT EXP08-C,EXP34-C
| 421 |  |
M | 412 | Procedure contains UR data flow anomalies. : algorithm | CERT EXP33-C
| 414 |  |
M | 411 | Procedure contains UR data flow anomalies. : thread_type | CERT EXP33-C
| 422 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register-imap.c | 412 | mail-search-register-imap.c | 414 | algorithm
mail-search-register-imap.c | 411 | mail-search-register-imap.c | 422 | thread_type

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_register_init_imap (504 to 513 mail-search-register-imap.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 509 | Pointer not checked for null before use : reg | CERT EXP08-C,EXP34-C
| 508 |  |
M | 509 | Pointer not checked for null before use : imap_register_args.key | CERT EXP08-C,EXP34-C
| 431 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_register_init (15 to 22 mail-search-register.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 21 | Local structure returned in function result : reg |
M | 20 | Pointer not checked for null before use : reg | CERT EXP08-C,EXP34-C
| 19 |  |
M | 19 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 606) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_register_deinit (24 to 32 mail-search-register.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 31 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 606) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_search_register_find (67 to 79 mail-search-register.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 78 | Pointer not checked for null before use : arg.key | CERT EXP08-C,EXP34-C
| 77 |  |
M | 78 | Pointer not checked for null before use : arg.key | CERT EXP08-C,EXP34-C
| 77 |  |
M | 70 | Procedure contains UR data flow anomalies. : arg.build | CERT EXP33-C
| 78 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-search-register.c | 70 | mail-search-register.c | 78 | arg.build

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_storage_hooks_init (21 to 25 mail-storage-hooks.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 23 | Pointer not checked for null before use : module_hooks.v_modifiable | CERT EXP08-C,EXP34-C
| 16 |  |
M | 23 | Pointer not checked for null before use : module_hooks.v | CERT EXP08-C,EXP34-C
| 16 |  |
M | 23 | Pointer not checked for null before use : module_hooks.arr.buffer | CERT EXP08-C,EXP34-C
| 16 |  |
M | 23 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 608) |  |
M | 24 | Pointer not checked for null before use : internal_hooks.v_modifiable | CERT EXP08-C,EXP34-C
| 18 |  |
M | 24 | Pointer not checked for null before use : internal_hooks.v | CERT EXP08-C,EXP34-C
| 18 |  |
M | 24 | Pointer not checked for null before use : internal_hooks.arr.buffer | CERT EXP08-C,EXP34-C
| 18 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_storage_hooks_deinit (27 to 31 mail-storage-hooks.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 29 | Pointer not checked for null before use : internal_hooks.v_modifiable | CERT EXP08-C,EXP34-C
| 18 |  |
M | 29 | Pointer not checked for null before use : internal_hooks.v | CERT EXP08-C,EXP34-C
| 18 |  |
M | 29 | Pointer not checked for null before use : internal_hooks.arr.buffer | CERT EXP08-C,EXP34-C
| 18 |  |
M | 30 | Pointer not checked for null before use : module_hooks.v_modifiable | CERT EXP08-C,EXP34-C
| 16 |  |
M | 30 | Pointer not checked for null before use : module_hooks.v | CERT EXP08-C,EXP34-C
| 16 |  |
M | 30 | Pointer not checked for null before use : module_hooks.arr.buffer | CERT EXP08-C,EXP34-C
| 16 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_storage_hooks_add (33 to 43 mail-storage-hooks.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 42 | Pointer not checked for null before use : new_hook.hooks | CERT EXP08-C,EXP34-C
| 40 |  |
M | 42 | Pointer not checked for null before use : new_hook.module | CERT EXP08-C,EXP34-C
| 39 |  |
M | 42 | Pointer not checked for null before use : module_hooks.v_modifiable | CERT EXP08-C,EXP34-C
| 16 |  |
M | 42 | Pointer not checked for null before use : module_hooks.v | CERT EXP08-C,EXP34-C
| 16 |  |
M | 42 | Pointer not checked for null before use : module_hooks.arr.buffer | CERT EXP08-C,EXP34-C
| 16 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_storage_hooks_remove (45 to 59 mail-storage-hooks.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 50 | Pointer not checked for null before use : module_hooks.v | CERT EXP08-C,EXP34-C
| 16 |  |
M | 50 | Pointer not checked for null before use : module_hooks.arr.buffer | CERT EXP08-C,EXP34-C
| 16 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_storage_hooks_add_internal (61 to 64 mail-storage-hooks.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 63 | Pointer not checked for null before use : internal_hooks.v_modifiable | CERT EXP08-C,EXP34-C
| 18 |  |
M | 63 | Pointer not checked for null before use : internal_hooks.v | CERT EXP08-C,EXP34-C
| 18 |  |
M | 63 | Pointer not checked for null before use : internal_hooks.arr.buffer | CERT EXP08-C,EXP34-C
| 18 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_storage_hooks_remove_internal (66 to 80 mail-storage-hooks.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 71 | Pointer not checked for null before use : internal_hooks.v | CERT EXP08-C,EXP34-C
| 18 |  |
M | 71 | Pointer not checked for null before use : internal_hooks.arr.buffer | CERT EXP08-C,EXP34-C
| 18 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_storage_module_hooks_cmp (82 to 94 mail-storage-hooks.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 93 | Pointer not checked for null before use : s1 | CERT EXP08-C,EXP34-C
| 89 |  |
M | 93 | Pointer not checked for null before use : s2 | CERT EXP08-C,EXP34-C
| 91 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_user_add_plugin_hooks (96 to 120 mail-storage-hooks.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 103 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 103 |  |
M | 103 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 103 |  |
M | 107 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 106 |  |
M | 115 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 115 |  |
M | 115 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 115 |  |
M | 103 | Pointer not checked for null before use : module_hooks.v_modifiable | CERT EXP08-C,EXP34-C
| 16 |  |
M | 105 | Pointer not checked for null before use : module_hooks.v | CERT EXP08-C,EXP34-C
| 16 |  |
M | 105 | Pointer not checked for null before use : module_hooks.arr.buffer | CERT EXP08-C,EXP34-C
| 16 |  |
M | 107 | Pointer not checked for null before use : plugins | CERT EXP08-C,EXP34-C
| 104 |  |
M | 99 | Procedure contains UR data flow anomalies. : tmp_hooks.v | CERT EXP33-C
| 117 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-storage-hooks.c | 99 | mail-storage-hooks.c | 117 | tmp_hooks.v

[ | Top of Report | | | Procedure Table | | | Contents | ]

hook_mail_user_created (170 to 187 mail-storage-hooks.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 182 | Pointer not checked for null before use : prev_vlast | CERT EXP08-C,EXP34-C
| 184 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

hook_mail_storage_created (209 to 224 mail-storage-hooks.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 219 | Pointer not checked for null before use : prev_vlast | CERT EXP08-C,EXP34-C
| 221 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

hook_mailbox_list_created (226 to 241 mail-storage-hooks.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 236 | Pointer not checked for null before use : prev_vlast | CERT EXP08-C,EXP34-C
| 238 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

hook_mailbox_allocated (243 to 258 mail-storage-hooks.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 253 | Pointer not checked for null before use : prev_vlast | CERT EXP08-C,EXP34-C
| 255 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

hook_mail_allocated (270 to 286 mail-storage-hooks.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 281 | Pointer not checked for null before use : prev_vlast | CERT EXP08-C,EXP34-C
| 283 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_storage_service_lookup (718 to 803 mail-storage-service.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_storage_get_dynamic_parsers (253 to 274 mail-storage-settings.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 262 | Pointer not checked for null before use : parsers | CERT EXP08-C,EXP34-C
| 261 |  |
M | 260 | Pointer not checked for null before use : mail_storage_classes.arr.buffer | CERT EXP08-C,EXP34-C
| 269 (mailbox-list.h) |  |
M | 266 | Pointer not checked for null before use : storages | CERT EXP08-C,EXP34-C
| 260 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mail_storage_settings_check (284 to 349 mail-storage-settings.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

namespace_settings_check (351 to 395 mail-storage-settings.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 377 | Pointer not checked for null before use : namespaces | CERT EXP08-C,EXP34-C
| 373 |  |
M | 363 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 359 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_save_set_guid (1290 to 1296 mail-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1294 | free parameter is not heap item. | CERT MEM34-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_list_check_root_delete (16 to 36 mailbox-list-delete.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 24 | Pointer not checked for null before use : root_dir | CERT EXP08-C,EXP34-C
| 22 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

unique_fname (38 to 46 mailbox-list-delete.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 43 | Pointer not checked for null before use : my_hostname | CERT EXP08-C,EXP34-C
| Ref. Line -2070 (Module 588) |  |
M | 43 | Pointer not checked for null before use : my_pid | CERT EXP08-C,EXP34-C
| Ref. Line -2073 (Module 588) |  |
M | 40 | Procedure contains UR data flow anomalies. : randbuf | CERT EXP33-C
| 42 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-delete.c | 40 | mailbox-list-delete.c | 42 | randbuf

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_list_delete_maildir_via_trash (48 to 117 mailbox-list-delete.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 56 | Pointer not checked for null before use : src | CERT EXP08-C,EXP34-C
| 55 |  |
M | 62 | Pointer not checked for null before use : trash_dest | CERT EXP08-C,EXP34-C
| 61 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_list_delete_mailbox_file (119 to 141 mailbox-list-delete.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_list_delete_mailbox_nonrecursive (143 to 235 mailbox-list-delete.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_list_delete_until_root (237 to 277 mailbox-list-delete.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 245 | Pointer not checked for null before use : root_dir | CERT EXP08-C,EXP34-C
| 244 |  |
M | 262 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 275 |  |
M | 262 | Pointer not checked for null before use : root_dir | CERT EXP08-C,EXP34-C
| 260 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_list_try_delete (279 to 308 mailbox-list-delete.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 287 | Pointer not checked for null before use : mailbox_path | CERT EXP08-C,EXP34-C
| 284 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

list_is_maildir_mailbox (14 to 94 mailbox-list-fs-flags.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 37 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 36 |  |
M | 76 | Pointer not checked for null before use : maildir_path | CERT EXP08-C,EXP34-C
| 75 |  |
M | 92 | Pointer not checked for null before use : flags_r | CERT EXP08-C,EXP34-C
| 77 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

is_inbox_file (96 to 107 mailbox-list-fs-flags.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_get_mailbox_flags (109 to 208 mailbox-list-fs-flags.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 152 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 151 |  |
M | 198 | Pointer not checked for null before use : flags_r | CERT EXP08-C,EXP34-C
| 188 |  |
M | 168 | User input not checked before use. : st | CERT FIO30-C
| 152 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

pattern_has_wildcard_at (110 to 130 mailbox-list-fs-iter.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 114 | Procedure contains UR data flow anomalies. : pos | CERT EXP33-C
| 122 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-fs-iter.c | 114 | mailbox-list-fs-iter.c | 122 | pos

[ | Top of Report | | | Procedure Table | | | Contents | ]

list_get_rootdir (175 to 208 mailbox-list-fs-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 188 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 186 |  |
M | 200 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 199 |  |
M | 185 | Pointer not checked for null before use : patterns | CERT EXP08-C,EXP34-C
| 184 |  |
M | 202 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 199 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_iter_init (210 to 301 mailbox-list-fs-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 222 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 221 |  |
M | 249 | Pointer not checked for null before use : pattern | CERT EXP08-C,EXP34-C
| 248 |  |
M | 259 | Pointer not checked for null before use : patterns | CERT EXP08-C,EXP34-C
| 258 |  |
M | 276 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 221 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 590) |  |
M | 291 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 288 |  |
M | 291 | Pointer not checked for null before use : vpath | CERT EXP08-C,EXP34-C
| 283 |  |
M | 239 | Pointer not checked for null before use : test_pattern | CERT EXP08-C,EXP34-C
| 234 |  |
M | 243 | Pointer not checked for null before use : test_pattern | CERT EXP08-C,EXP34-C
| 234 |  |
M | 283 | Pointer not checked for null before use : (ctx)->ctx.list | CERT EXP08-C,EXP34-C
| 222 |  |
M | 249 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 231 |  |
M | 249 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 231 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

list_dir_context_free (303 to 311 mailbox-list-fs-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 308 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 307 |  |
M | 308 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 309 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 308 |  |
M | 309 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 310 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 309 |  |
M | 310 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 310 | Pointer not checked for null before use : (dir)->entry_fname | CERT EXP08-C,EXP34-C
| 307 |  |
M | 310 | Pointer not checked for null before use : (dir)->real_path | CERT EXP08-C,EXP34-C
| 308 |  |
M | 310 | Pointer not checked for null before use : (dir)->virtual_path | CERT EXP08-C,EXP34-C
| 309 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_iter_deinit (313 to 344 mailbox-list-fs-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 323 | Pointer not checked for null before use : patterns | CERT EXP08-C,EXP34-C
| 321 |  |
M | 341 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 334 |  |
M | 334 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 330 |  |
M | 323 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 330 | Attempt to read from freed memory. : dir | CERT MEM30-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_iter_next (346 to 361 mailbox-list-fs-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 360 | Local structure returned in function result : info |

[ | Top of Report | | | Procedure Table | | | Contents | ]

list_file_is_inbox (428 to 437 mailbox-list-fs-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 436 | Pointer not checked for null before use : real_path | CERT EXP08-C,EXP34-C
| 433 |  |
M | 436 | Pointer not checked for null before use : inbox_path | CERT EXP08-C,EXP34-C
| 434 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

list_file_subdir (480 to 535 mailbox-list-fs-iter.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 493 | Pointer not checked for null before use : vpath | CERT EXP08-C,EXP34-C
| 492 |  |
M | 513 | Pointer not checked for null before use : real_path | CERT EXP08-C,EXP34-C
| 512 |  |
M | 519 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 518 |  |
M | 520 | Pointer not checked for null before use : real_path | CERT EXP08-C,EXP34-C
| 512 |  |
M | 500 | Procedure contains UR data flow anomalies. : (ctx)->info.name | CERT EXP33-C
M | 486 | Procedure contains UR data flow anomalies. : dirp | CERT EXP33-C
| 519 |  |
M | 488 | Procedure contains UR data flow anomalies. : real_path | CERT EXP33-C
| 520 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-fs-iter.c | 500 | mailbox-list-fs-iter.c | 504 | (ctx)->info.name
mailbox-list-fs-iter.c | 486 | mailbox-list-fs-iter.c | 519 | dirp
mailbox-list-fs-iter.c | 488 | mailbox-list-fs-iter.c | 520 | real_path

[ | Top of Report | | | Procedure Table | | | Contents | ]

list_file (537 to 618 mailbox-list-fs-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 556 | Pointer not checked for null before use : list_path | CERT EXP08-C,EXP34-C
| 555 |  |
M | 570 | Pointer not checked for null before use : root_dir | CERT EXP08-C,EXP34-C
| 568 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_subs (620 to 670 mailbox-list-fs-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 645 | Pointer not checked for null before use : storage_name | CERT EXP08-C,EXP34-C
| 644 |  |
M | 662 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 660 |  |
M | 663 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 662 |  |
M | 663 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 662 |  |
M | 650 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 648 |  |
M | 657 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 648 |  |
M | 660 | Pointer not checked for null before use : storage_name | CERT EXP08-C,EXP34-C
| 658 |  |
M | 656 | Pointer not checked for null before use : storage_name | CERT EXP08-C,EXP34-C
| 652 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_dir_next (672 to 739 mailbox-list-fs-iter.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 705 | Pointer not checked for null before use : patterns | CERT EXP08-C,EXP34-C
| 702 |  |
M | 713 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 712 |  |
M | 718 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 717 |  |
M | 717 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 713 |  |
M | 679 | Procedure contains UR data flow anomalies. : pos | CERT EXP33-C
| 712 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-fs-iter.c | 679 | mailbox-list-fs-iter.c | 712 | pos

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_next (741 to 801 mailbox-list-fs-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 767 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 766 |  |
M | 755 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 753 |  |
M | 777 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 753 |  |
M | 753 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 777 |  |
M | 777 | Attempt to read from freed memory. : dir | CERT MEM30-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_alloc (20 to 34 mailbox-list-fs.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 27 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 25 |  |
M | 28 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 27 |  |
M | 31 | Pointer not checked for null before use : my_hostname | CERT EXP08-C,EXP34-C
| Ref. Line -2070 (Module 591) |  |
M | 31 | Pointer not checked for null before use : my_pid | CERT EXP08-C,EXP34-C
| Ref. Line -2073 (Module 591) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_is_valid_common_nonfs (52 to 95 mailbox-list-fs.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 70 | Pointer not checked for null before use : names | CERT EXP08-C,EXP34-C
| 69 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_get_path (138 to 209 mailbox-list-fs.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_get_mailbox_name_status (211 to 269 mailbox-list-fs.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 227 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 225 |  |
M | 247 | Pointer not checked for null before use : dir_path | CERT EXP08-C,EXP34-C
| 245 |  |
M | 217 | Procedure contains UR data flow anomalies. : flags | CERT EXP33-C
| 235 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-fs.c | 217 | mailbox-list-fs.c | 235 | flags

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_set_subscribed (292 to 303 mailbox-list-fs.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 301 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 298 |  |
M | 296 | Procedure contains UR data flow anomalies. : path | CERT EXP33-C
| 301 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-fs.c | 296 | mailbox-list-fs.c | 301 | path

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_is_selectable (305 to 313 mailbox-list-fs.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 307 | Procedure contains UR data flow anomalies. : flags | CERT EXP33-C
| 309 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-fs.c | 307 | mailbox-list-fs.c | 309 | flags

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_create_mailbox_dir (315 to 373 mailbox-list-fs.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 355 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 350 |  |
M | 322 | Procedure contains UR data flow anomalies. : gid | CERT EXP33-C
| 353 |  |
M | 319 | Procedure contains UR data flow anomalies. : gid_origin | CERT EXP33-C
| 353 |  |
M | 321 | Procedure contains UR data flow anomalies. : mode | CERT EXP33-C
| 353 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-fs.c | 322 | mailbox-list-fs.c | 353 | gid
mailbox-list-fs.c | 319 | mailbox-list-fs.c | 353 | gid_origin
mailbox-list-fs.c | 321 | mailbox-list-fs.c | 353 | mode

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_list_fs_get_trash_dir (375 to 382 mailbox-list-fs.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_delete_mailbox (384 to 423 mailbox-list-fs.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 398 | Pointer not checked for null before use : trash_dir | CERT EXP08-C,EXP34-C
| 397 |  |
M | 406 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 404 |  |
M | 417 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 415 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_delete_dir (425 to 448 mailbox-list-fs.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 431 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 430 |  |
M | 428 | Procedure contains UR data flow anomalies. : dir_sha128 | CERT EXP33-C
| 432 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-fs.c | 428 | mailbox-list-fs.c | 432 | dir_sha128

[ | Top of Report | | | Procedure Table | | | Contents | ]

rename_dir (450 to 476 mailbox-list-fs.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 459 | Pointer not checked for null before use : oldpath | CERT EXP08-C,EXP34-C
| 456 |  |
M | 459 | Pointer not checked for null before use : newpath | CERT EXP08-C,EXP34-C
| 457 |  |
M | 469 | Pointer not checked for null before use : oldpath | CERT EXP08-C,EXP34-C
| 468 |  |
M | 454 | Procedure contains UR data flow anomalies. : p | CERT EXP33-C
| 468 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-fs.c | 454 | mailbox-list-fs.c | 468 | p

[ | Top of Report | | | Procedure Table | | | Contents | ]

fs_list_rename_mailbox (478 to 605 mailbox-list-fs.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 515 | Pointer not checked for null before use : oldpath | CERT EXP08-C,EXP34-C
| 509 |  |
M | 515 | Pointer not checked for null before use : root_path | CERT EXP08-C,EXP34-C
| 513 |  |
M | 529 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 528 |  |
M | 588 | Pointer not checked for null before use : oldpath | CERT EXP08-C,EXP34-C
| 586 |  |
M | 524 | Pointer not checked for null before use : newpath | CERT EXP08-C,EXP34-C
| 510 |  |
M | 489 | Procedure contains UR data flow anomalies. : gid | CERT EXP33-C
| 526 |  |
M | 488 | Procedure contains UR data flow anomalies. : mode | CERT EXP33-C
| 526 |  |
M | 483 | Procedure contains UR data flow anomalies. : oldstorage | CERT EXP33-C
| 492 |  |
M | 485 | Procedure contains UR data flow anomalies. : origin | CERT EXP33-C
| 526 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-fs.c | 489 | mailbox-list-fs.c | 526 | gid
mailbox-list-fs.c | 488 | mailbox-list-fs.c | 526 | mode
mailbox-list-fs.c | 483 | mailbox-list-fs.c | 492 | oldstorage
mailbox-list-fs.c | 485 | mailbox-list-fs.c | 526 | origin

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_fill_parents (42 to 93 mailbox-list-maildir-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 66 | Pointer not checked for null before use : mailbox_c | CERT EXP08-C,EXP34-C
| 65 |  |
M | 63 | Pointer not checked for null before use : mailbox_c | CERT EXP08-C,EXP34-C
| 62 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_set_children (95 to 120 mailbox-list-maildir-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 113 | Pointer not checked for null before use : mailbox_c | CERT EXP08-C,EXP34-C
| 111 |  |
M | 109 | Pointer not checked for null before use : mailbox_c | CERT EXP08-C,EXP34-C
| 108 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_fill_inbox (122 to 161 mailbox-list-maildir-iter.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 : node | CERT EXP08-C,EXP34-C
| 150 |  |
M | 154 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 150 |  |
M | 130 | Procedure contains UR data flow anomalies. : created | CERT EXP33-C
| 150 |  |
M | 128 | Procedure contains UR data flow anomalies. : flags | CERT EXP33-C
| 138 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-maildir-iter.c | 130 | mailbox-list-maildir-iter.c | 150 | created
mailbox-list-maildir-iter.c | 128 | mailbox-list-maildir-iter.c | 138 | flags

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_get_type (163 to 195 mailbox-list-maildir-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 174 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 172 |  |
M | 184 | User input not checked before use. : st | CERT FIO30-C
| 174 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_get_mailbox_flags (197 to 254 mailbox-list-maildir-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 240 | Pointer not checked for null before use : flags_r | CERT EXP08-C,EXP34-C
| 221 |  |
M | 229 | Pointer not checked for null before use : flags_r | CERT EXP08-C,EXP34-C
| 221 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_delete_trash_dir (256 to 275 mailbox-list-maildir-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 270 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 269 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_fill_readdir (277 to 400 mailbox-list-maildir-iter.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 336 | Pointer not checked for null before use : mailbox_name | CERT EXP08-C,EXP34-C
| 331 |  |
M | 331 | Pointer not checked for null before use : mailbox_name | CERT EXP08-C,EXP34-C
| 318 |  |
M | 327 | Pointer not checked for null before use : mailbox | CERT EXP08-C,EXP34-C
| 309 |  |
M | 287 | Procedure contains UR data flow anomalies. : flags | CERT EXP33-C
| 346 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-maildir-iter.c | 287 | mailbox-list-maildir-iter.c | 346 | flags

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_fill_other_ns_subscriptions (402 to 429 mailbox-list-maildir-iter.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 425 | Pointer not checked for null before use : errstr | CERT EXP08-C,EXP34-C
| 424 |  |
M | 421 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 424 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-maildir-iter.c | 421 | mailbox-list-maildir-iter.c | 424 | error

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_fill_other_subscriptions (431 to 450 mailbox-list-maildir-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 444 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 443 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_iter_init (452 to 529 mailbox-list-maildir-iter.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 466 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 465 |  |
M | 467 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 466 |  |
M | 526 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 482 | Pointer not checked for null before use : glob | CERT EXP08-C,EXP34-C
| 475 |  |
M | 496 | Pointer not checked for null before use : glob | CERT EXP08-C,EXP34-C
| 475 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_alloc (23 to 37 mailbox-list-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 29 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 28 |  |
M | 30 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 29 |  |
M | 34 | Pointer not checked for null before use : my_hostname | CERT EXP08-C,EXP34-C
| Ref. Line -2070 (Module 593) |  |
M | 34 | Pointer not checked for null before use : my_pid | CERT EXP08-C,EXP34-C
| Ref. Line -2073 (Module 593) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

imapdir_list_alloc (39 to 53 mailbox-list-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 45 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 44 |  |
M | 46 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 45 |  |
M | 50 | Pointer not checked for null before use : my_hostname | CERT EXP08-C,EXP34-C
| Ref. Line -2070 (Module 593) |  |
M | 50 | Pointer not checked for null before use : my_pid | CERT EXP08-C,EXP34-C
| Ref. Line -2073 (Module 593) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_is_valid_create_name (151 to 170 mailbox-list-maildir.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 154 | Procedure contains UR data flow anomalies. : len | CERT EXP33-C
| 158 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-maildir.c | 154 | mailbox-list-maildir.c | 158 | len

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_get_path (172 to 221 mailbox-list-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 220 | Pointer not checked for null before use : root_dir | CERT EXP08-C,EXP34-C
| 187 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_get_mailbox_name_status (223 to 253 mailbox-list-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 236 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 231 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_set_subscribed (264 to 277 mailbox-list-maildir.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 : path | CERT EXP08-C,EXP34-C
| 271 |  |
M | 269 | Procedure contains UR data flow anomalies. : path | CERT EXP33-C
| 275 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-maildir.c | 269 | mailbox-list-maildir.c | 275 | path

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_create_maildirfolder_file (279 to 322 mailbox-list-maildir.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 294 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 292 |  |
M | 285 | Procedure contains UR data flow anomalies. : gid | CERT EXP33-C
| 290 |  |
M | 283 | Procedure contains UR data flow anomalies. : gid_origin | CERT EXP33-C
| 290 |  |
M | 284 | Procedure contains UR data flow anomalies. : mode | CERT EXP33-C
| 290 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-maildir.c | 285 | mailbox-list-maildir.c | 290 | gid
mailbox-list-maildir.c | 283 | mailbox-list-maildir.c | 290 | gid_origin
mailbox-list-maildir.c | 284 | mailbox-list-maildir.c | 290 | mode

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_create_mailbox_dir (324 to 373 mailbox-list-maildir.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 349 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 342 |  |
M | 371 | Pointer not checked for null before use : root_dir | CERT EXP08-C,EXP34-C
| 345 |  |
M | 355 | Pointer not checked for null before use : root_dir | CERT EXP08-C,EXP34-C
| 345 |  |
M | 330 | Procedure contains UR data flow anomalies. : gid | CERT EXP33-C
| 347 |  |
M | 328 | Procedure contains UR data flow anomalies. : gid_origin | CERT EXP33-C
| 347 |  |
M | 329 | Procedure contains UR data flow anomalies. : mode | CERT EXP33-C
| 347 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-maildir.c | 330 | mailbox-list-maildir.c | 347 | gid
mailbox-list-maildir.c | 328 | mailbox-list-maildir.c | 347 | gid_origin
mailbox-list-maildir.c | 329 | mailbox-list-maildir.c | 347 | mode

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_list_maildir_get_trash_dir (375 to 384 mailbox-list-maildir.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_delete_maildir (386 to 407 mailbox-list-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 393 | Pointer not checked for null before use : trash_dir | CERT EXP08-C,EXP34-C
| 392 |  |
M | 402 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 400 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_delete_dir (424 to 442 mailbox-list-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 432 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 431 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

rename_dir (444 to 462 mailbox-list-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 453 | Pointer not checked for null before use : oldpath | CERT EXP08-C,EXP34-C
| 450 |  |
M | 453 | Pointer not checked for null before use : newpath | CERT EXP08-C,EXP34-C
| 451 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_rename_children (464 to 559 mailbox-list-maildir.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 488 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 487 |  |
M | 494 | Pointer not checked for null before use : old_vname | CERT EXP08-C,EXP34-C
| 488 |  |
M | 495 | Pointer not checked for null before use : pattern | CERT EXP08-C,EXP34-C
| 494 |  |
M | 507 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 506 |  |
M | 520 | Pointer not checked for null before use : old_childname | CERT EXP08-C,EXP34-C
| 518 |  |
M | 530 | Pointer not checked for null before use : new_childname | CERT EXP08-C,EXP34-C
| 526 |  |
M | 541 | Pointer not checked for null before use : oldpath | CERT EXP08-C,EXP34-C
| 528 |  |
M | 541 | Pointer not checked for null before use : newpath | CERT EXP08-C,EXP34-C
| 530 |  |
M | 485 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 593) |  |
M | 519 | Pointer not checked for null before use : names | CERT EXP08-C,EXP34-C
| 512 |  |
M | 520 | Pointer not checked for null before use : new_vname | CERT EXP08-C,EXP34-C
| 492 |  |
M | 506 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 484 |  |
M | 512 | Procedure contains UR data flow anomalies. : names | CERT EXP33-C
| 472 |  |
M | 470 | Procedure contains UR data flow anomalies. : names_arr.arr.buffer | CERT EXP33-C
| 514 |  |
M | 470 | Procedure contains UR data flow anomalies. : names_arr.arr.element_size | CERT EXP33-C
| 514 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-maildir.c | 512 | mailbox-list-maildir.c | 519 | names
mailbox-list-maildir.c | 470 | mailbox-list-maildir.c | 514 | names_arr.arr.buffer
mailbox-list-maildir.c | 470 | mailbox-list-maildir.c | 514 | names_arr.arr.element_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_rename_mailbox (561 to 620 mailbox-list-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 579 | Pointer not checked for null before use : oldpath | CERT EXP08-C,EXP34-C
| 572 |  |
M | 579 | Pointer not checked for null before use : root_path | CERT EXP08-C,EXP34-C
| 577 |  |
M | 587 | Pointer not checked for null before use : newpath | CERT EXP08-C,EXP34-C
| 574 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

none_list_alloc (11 to 22 mailbox-list-none.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 21 | Local structure returned in function result : list |
M | 18 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 16 |  |
M | 19 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 18 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

none_list_iter_init (119 to 130 mailbox-list-none.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 129 | Local structure returned in function result : ctx |
M | 127 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 126 |  |
M | 126 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 594) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

none_list_iter_deinit (132 to 137 mailbox-list-none.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 135 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 594) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_list_subscriptions_fill_real (9 to 62 mailbox-list-subscriptions.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 43 | Pointer not checked for null before use : name2 | CERT EXP08-C,EXP34-C
| 41 |  |
M | 52 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 51 |  |
M | 58 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 57 |  |
M | 23 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 595) |  |
M | 57 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 45 |  |
M | 28 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 24 |  |
M | 57 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 55 |  |
M | 51 | Pointer not checked for null before use : full_name | CERT EXP08-C,EXP34-C
| 41 |  |
M | 60 | Pointer not checked for null before use : vname | CERT EXP08-C,EXP34-C
| 23 |  |
M | 57 | Pointer not checked for null before use : vname | CERT EXP08-C,EXP34-C
| 23 |  |
M | 20 | Procedure contains UR data flow anomalies. : path | CERT EXP33-C
| 28 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-list-subscriptions.c | 20 | mailbox-list-subscriptions.c | 28 | path

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_list_add_change (1133 to 1152 mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1149 | Insufficient space for operation. | CERT DCL33-C,FIO43-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_tree_init (27 to 38 mailbox-tree.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 37 | Local structure returned in function result : tree |
M | 34 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 32 |  |
M | 35 | Pointer not checked for null before use : tree | CERT EXP08-C,EXP34-C
| 34 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_tree_traverse (48 to 109 mailbox-tree.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 108 | Local structure returned in function result : node |
M | 93 | Pointer not checked for null before use : tree | CERT EXP08-C,EXP34-C
| 91 |  |
M | 69 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 64 |  |
M | 92 | Pointer not checked for null before use : parent | CERT EXP08-C,EXP34-C
| 66 |  |
M | 79 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 83 |  |
M | 80 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 76 |  |
M | 75 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 70 |  |
M | 93 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 76 |  |
M | 74 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 69 |  |
M | 66 | Procedure contains UR data flow anomalies. : parent | CERT EXP33-C
| 52 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mailbox-tree.c | 66 | mailbox-tree.c | 92 | parent

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_tree_lookup (123 to 132 mailbox-tree.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_tree_iterate_init (134 to 149 mailbox-tree.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 148 | Local structure returned in function result : ctx |
M | 141 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 140 |  |
M | 142 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 140 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 617) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_tree_iterate_set_next_node (151 to 187 mailbox-tree.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 186 | Pointer not checked for null before use : node | CERT EXP08-C,EXP34-C
| 161 |  |
M | 169 | Pointer not checked for null before use : nodes | CERT EXP08-C,EXP34-C
| 166 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_tree_iterate_next (189 to 215 mailbox-tree.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 214 | Local structure returned in function result : node |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mailbox_tree_iterate_deinit (217 to 225 mailbox-tree.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 224 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 617) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

do_save_mail_size (31 to 59 maildir-copy.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 39 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 38 |  |
M | 54 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 53 |  |
M | 41 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 39 |  |
M | 50 | User input not checked before use. : st | CERT FIO30-C
| 43 |  |
M | 36 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 41 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-copy.c | 36 | maildir-copy.c | 41 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

do_save_mail_vsize (61 to 79 maildir-copy.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 67 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 66 |  |
M | 75 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 73 |  |
M | 69 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 67 |  |
M | 64 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 69 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-copy.c | 64 | maildir-copy.c | 69 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_copy_hardlink (126 to 185 maildir-copy.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 165 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 165 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 133 | Procedure contains UR data flow anomalies. : guid | CERT EXP33-C
| 147 |  |
M | 133 | Procedure contains UR data flow anomalies. : path | CERT EXP33-C
| 170 |  |
M | 139 | Procedure contains UR data flow anomalies. : src_mbox | CERT EXP33-C
| 132 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-copy.c | 133 | maildir-copy.c | 147 | guid
maildir-copy.c | 133 | maildir-copy.c | 170 | path
maildir-copy.c | 139 | maildir-copy.c | 163 | src_mbox

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_filename_get_flags (37 to 87 maildir-filename.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 53 | Pointer not checked for null before use : flags_r | CERT EXP08-C,EXP34-C
| 56 |  |
M | 50 | Pointer not checked for null before use : info | CERT EXP08-C,EXP34-C
| 50 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_filename_append_keywords (96 to 114 maildir-filename.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_filename_set_flags (116 to 197 maildir-filename.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 : flags_str | CERT EXP08-C,EXP34-C
| 139 |  |
M | 140 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 132 |  |
M | 128 | Procedure contains UR data flow anomalies. : info | CERT EXP33-C
| 122 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-filename.c | 128 | maildir-filename.c | 131 | info

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_filename_sort_cmp (287 to 312 maildir-filename.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 291 | Procedure contains UR data flow anomalies. : usecs1 | CERT EXP33-C
| 304 |  |
M | 291 | Procedure contains UR data flow anomalies. : usecs2 | CERT EXP33-C
| 304 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-filename.c | 291 | maildir-filename.c | 304 | usecs1
maildir-filename.c | 291 | maildir-filename.c | 304 | usecs2

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_keywords_init (54 to 61 maildir-keywords.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 60 | Local structure returned in function result : mk |
M | 59 | Pointer not checked for null before use : mk | CERT EXP08-C,EXP34-C
| 58 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_keywords_init_readonly (63 to 91 maildir-keywords.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 90 | Local structure returned in function result : mk |
M | 73 | Pointer not checked for null before use : mk | CERT EXP08-C,EXP34-C
| 72 |  |
M | 74 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 69 |  |
M | 77 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 559) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_keywords_deinit (93 to 103 maildir-keywords.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 102 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 101 |  |
M | 102 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 102 | Pointer not checked for null before use : (mk)->path | CERT EXP08-C,EXP34-C
| 101 |  |
M | 101 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 559) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_keywords_sync (112 to 195 maildir-keywords.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 180 | Pointer not checked for null before use : new_name | CERT EXP08-C,EXP34-C
| 179 |  |
M | 183 | Pointer not checked for null before use : strp | CERT EXP08-C,EXP34-C
| 182 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_keywords_create (221 to 237 maildir-keywords.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 231 | Pointer not checked for null before use : new_name | CERT EXP08-C,EXP34-C
| 230 |  |
M | 234 | Pointer not checked for null before use : strp | CERT EXP08-C,EXP34-C
| 233 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_keywords_write_fd (288 to 352 maildir-keywords.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_keywords_commit (354 to 404 maildir-keywords.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 367 | Pointer not checked for null before use : lock_path | CERT EXP08-C,EXP34-C
| 366 |  |
M | 356 | Procedure contains UR data flow anomalies. : dotlock | CERT EXP33-C
| 396 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-keywords.c | 356 | maildir-keywords.c | 396 | dotlock

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_keywords_sync_init (406 to 418 maildir-keywords.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 417 | Local structure returned in function result : ctx |
M | 413 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 412 |  |
M | 412 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 559) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_keywords_sync_init_readonly (420 to 429 maildir-keywords.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 428 | Local structure returned in function result : ctx |
M | 427 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 426 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_keywords_sync_deinit (431 to 443 maildir-keywords.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 442 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 559) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_keywords_char_idx (445 to 474 maildir-keywords.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 459 | Attempt to use already freed object. | CERT MEM31-C
M | 463 | Attempt to use already freed object. | CERT MEM31-C
M | 468 | Attempt to use already freed object. | CERT MEM31-C
M | 463 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 462 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_keywords_idx_char (476 to 497 maildir-keywords.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 490 | Attempt to use already freed object. | CERT MEM31-C
M | 491 | Attempt to use already freed object. | CERT MEM31-C
M | 485 | Pointer not checked for null before use : chr_p | CERT EXP08-C,EXP34-C
| 484 |  |
M | 490 | Pointer not checked for null before use : name_p | CERT EXP08-C,EXP34-C
| 488 |  |
M | 491 | Pointer not checked for null before use : name_p | CERT EXP08-C,EXP34-C
| 488 |  |
M | 481 | Procedure contains UR data flow anomalies. : chridx | CERT EXP33-C
| 495 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-keywords.c | 481 | maildir-keywords.c | 495 | chridx

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_open_mail (61 to 95 maildir-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 93 | free parameter is not heap item. | CERT MEM34-C
M | 77 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 77 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 81 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 80 |  |
M | 91 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 90 |  |
M | 91 | Pointer not checked for null before use : ctx.path | CERT EXP08-C,EXP34-C
| 81 |  |
M | 73 | Procedure contains UR data flow anomalies. : ctx.path | CERT EXP33-C
| 68 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-mail.c | 73 | maildir-mail.c | 91 | ctx.path

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mail_stat (97 to 139 maildir-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 123 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 123 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 132 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 131 |  |
M | 123 | User input not checked before use. : st | CERT FIO30-C
| 123 |  |
M | 123 | Pointer not checked for null before use : st | CERT EXP08-C,EXP34-C
| 123 |  |
M | 110 | Procedure contains UR data flow anomalies. : input | CERT EXP33-C
| 66 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-mail.c | 110 | maildir-mail.c | 112 | input

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mail_get_received_date (141 to 155 maildir-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 150 | Procedure contains UR data flow anomalies. : (_mail)->box.storage | CERT EXP33-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-mail.c | 150 | maildir-mail.c | 150 | (_mail)->box.storage

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mail_get_fname (173 to 205 maildir-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 195 | Pointer not checked for null before use : view | CERT EXP08-C,EXP34-C
| 194 |  |
M | 177 | Procedure contains UR data flow anomalies. : flags | CERT EXP33-C
| 183 |  |
M | 179 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 195 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-mail.c | 177 | maildir-mail.c | 183 | flags
maildir-mail.c | 179 | maildir-mail.c | 195 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_get_pop3_state (207 to 267 maildir-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 231 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 210 |  |
M | 244 | Pointer not checked for null before use : fields | CERT EXP08-C,EXP34-C
| 240 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_quick_size_lookup (269 to 304 maildir-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 283 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 281 |  |
M | 284 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 283 |  |
M | 300 | Pointer not checked for null before use : size_r | CERT EXP08-C,EXP34-C
| 291 |  |
M | 275 | Procedure contains UR data flow anomalies. : fname | CERT EXP33-C
| 278 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-mail.c | 275 | maildir-mail.c | 278 | fname

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_handle_size_caching (306 to 356 maildir-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 313 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 320 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-mail.c | 313 | maildir-mail.c | 320 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mail_get_virtual_size (358 to 389 maildir-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 362 | Procedure contains UR data flow anomalies. : body_size | CERT EXP33-C
| 382 |  |
M | 362 | Procedure contains UR data flow anomalies. : hdr_size | CERT EXP33-C
| 382 |  |
M | 363 | Procedure contains UR data flow anomalies. : input | CERT EXP33-C
| 382 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-mail.c | 362 | maildir-mail.c | 382 | body_size
maildir-mail.c | 362 | maildir-mail.c | 382 | hdr_size
maildir-mail.c | 363 | maildir-mail.c | 382 | input

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mail_get_physical_size (391 to 436 maildir-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 415 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 415 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 425 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 423 |  |
M | 415 | User input not checked before use. : st | CERT FIO30-C
| 415 |  |
M | 432 | User input not checked before use. : st | CERT FIO30-C
| 425 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mail_get_special (438 to 485 maildir-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 462 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 460 |  |
M | 459 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 457 |  |
M | 460 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 459 |  |
M | 463 | Pointer not checked for null before use : end | CERT EXP08-C,EXP34-C
| 462 |  |
M | 444 | Procedure contains UR data flow anomalies. : fname | CERT EXP33-C
| 454 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-mail.c | 444 | maildir-mail.c | 454 | fname

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mail_get_stream (487 to 507 maildir-mail.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_update_pop3_uidl (515 to 530 maildir-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 522 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 520 |  |
M | 518 | Procedure contains UR data flow anomalies. : fname | CERT EXP33-C
| 522 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-mail.c | 518 | maildir-mail.c | 522 | fname

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mail_set_cache_corrupted (532 to 564 maildir-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 553 | Attempt to use already freed object. | CERT MEM31-C
M | 553 | Pointer not checked for null before use : subdir | CERT EXP08-C,EXP34-C
| 550 |  |
M | 536 | Procedure contains UR data flow anomalies. : flags | CERT EXP33-C
| 544 |  |
M | 537 | Procedure contains UR data flow anomalies. : fname | CERT EXP33-C
| 544 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-mail.c | 536 | maildir-mail.c | 544 | flags
maildir-mail.c | 537 | maildir-mail.c | 544 | fname

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_file_move (76 to 114 maildir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 102 | Pointer not checked for null before use : tmp_path | CERT EXP08-C,EXP34-C
| 87 |  |
M | 102 | Pointer not checked for null before use : new_path | CERT EXP08-C,EXP34-C
| 88 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_save_transaction_init (116 to 141 maildir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 124 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 123 |  |
M | 125 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 124 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_save_add (143 to 225 maildir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 166 | Pointer not checked for null before use : mf | CERT EXP08-C,EXP34-C
| 164 |  |
M | 222 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 219 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_get_dest_filename (227 to 263 maildir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 235 | Pointer not checked for null before use : basename | CERT EXP08-C,EXP34-C
| 235 |  |
M | 240 | Pointer not checked for null before use : basename | CERT EXP08-C,EXP34-C
| 240 |  |
M | 251 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mf_get_path (265 to 279 maildir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 278 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 276 |  |
M | 278 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 276 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_save_file_get_path (281 to 299 maildir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 298 | Pointer not checked for null before use : mf | CERT EXP08-C,EXP34-C
| 291 |  |
M | 293 | Pointer not checked for null before use : mf | CERT EXP08-C,EXP34-C
| 291 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_create_tmp (301 to 371 maildir-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 312 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 311 |  |
M | 320 | Pointer not checked for null before use : tmp_fname | CERT EXP08-C,EXP34-C
| 318 |  |
M | 343 | Procedure contains UR data flow anomalies. : tmp_fname | CERT EXP33-C
| 307 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-save.c | 343 | maildir-save.c | 317 | tmp_fname

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_save_begin (383 to 412 maildir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 402 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 394 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_save_finish_received_date (443 to 479 maildir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 462 | User input not checked before use. : st | CERT FIO30-C
| 461 |  |
M | 471 | User input not checked before use. : st | CERT FIO30-C
| 470 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_save_remove_last_filename (481 to 500 maildir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 497 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 495 |  |
M | 493 | Pointer not checked for null before use : fm | CERT EXP08-C,EXP34-C
| 493 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_save_finish_real (502 to 593 maildir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 518 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 515 |  |
M | 532 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 515 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_save_add_conflict (614 to 628 maildir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 622 | Pointer not checked for null before use : save_ctx | CERT EXP08-C,EXP34-C
| 620 |  |
M | 626 | Pointer not checked for null before use : c | CERT EXP08-C,EXP34-C
| 625 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_conflict (630 to 648 maildir-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 633 | Procedure contains UR data flow anomalies. : filename | CERT EXP33-C
| 636 |  |
M | 634 | Procedure contains UR data flow anomalies. : flags | CERT EXP33-C
| 636 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-save.c | 633 | maildir-save.c | 636 | filename
maildir-save.c | 634 | maildir-save.c | 636 | flags

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_conflicts (650 to 661 maildir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 660 | Pointer not checked for null before use : conflicts | CERT EXP08-C,EXP34-C
| 658 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_save_move_files_to_newcur (835 to 866 maildir-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 858 | Pointer not checked for null before use : dest | CERT EXP08-C,EXP34-C
| 853 |  |
M | 853 | Pointer not checked for null before use : mf.dest_basename | CERT EXP08-C,EXP34-C
| 851 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_save_sync_uidlist (868 to 895 maildir-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 890 | Pointer not checked for null before use : dest | CERT EXP08-C,EXP34-C
| 886 |  |
M | 872 | Procedure contains UR data flow anomalies. : iter | CERT EXP33-C
| 879 |  |
M | 875 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 894 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-save.c | 872 | maildir-save.c | 879 | iter
maildir-save.c | 875 | maildir-save.c | 894 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_transaction_save_commit_pre (897 to 998 maildir-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 994 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 992 |  |
M | 952 | Pointer not checked for null before use : ctx.keywords_array | CERT EXP08-C,EXP34-C
| 948 |  |
M | 989 | Pointer not checked for null before use : ctx.keywords_array | CERT EXP08-C,EXP34-C
| 948 |  |
M | 901 | Procedure contains UR data flow anomalies. : last_mf | CERT EXP33-C
| 948 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-save.c | 901 | maildir-save.c | 948 | last_mf

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_storage_alloc (33 to 43 maildir-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 39 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 38 |  |
M | 40 | Pointer not checked for null before use : storage | CERT EXP08-C,EXP34-C
| 39 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_storage_create (45 to 74 maildir-storage.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_storage_find_root_dir (93 to 120 maildir-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 103 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 102 |  |
M | 97 | Procedure contains UR data flow anomalies. : home | CERT EXP33-C
| 101 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-storage.c | 97 | maildir-storage.c | 101 | home

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_storage_autodetect (122 to 156 maildir-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 141 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 140 |  |
M | 140 | Pointer not checked for null before use : root_dir | CERT EXP08-C,EXP34-C
| 130 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_check_tmp (203 to 231 maildir-storage.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

create_maildir (234 to 259 maildir-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 251 | Sizeof argument is a pointer. | CERT EXP01-C
M | 253 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 252 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mailbox_alloc (266 to 295 maildir-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 291 | Sizeof argument is a pointer. | CERT EXP01-C
M | 275 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 274 |  |
M | 276 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 275 |  |
M | 286 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 285 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mailbox_open_existing (297 to 322 maildir-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 307 | Pointer not checked for null before use : shared_path | CERT EXP08-C,EXP34-C
| 306 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mailbox_open (324 to 363 maildir-storage.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_create_shared (365 to 395 maildir-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 373 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 372 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mailbox_update (397 to 426 maildir-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 410 | Pointer not checked for null before use : uidlist | CERT EXP08-C,EXP34-C
| 408 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mailbox_create (428 to 453 maildir-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 446 | Pointer not checked for null before use : root_dir | CERT EXP08-C,EXP34-C
| 444 |  |
M | 447 | Pointer not checked for null before use : shared_path | CERT EXP08-C,EXP34-C
| 446 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_mailbox_close (463 to 478 maildir-storage.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_get_mailbox_flags (503 to 541 maildir-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 515 | Pointer not checked for null before use : mlist | CERT EXP08-C,EXP34-C
| 510 |  |
M | 525 | Pointer not checked for null before use : cur_path | CERT EXP08-C,EXP34-C
| 524 |  |
M | 531 | Pointer not checked for null before use : flags | CERT EXP08-C,EXP34-C
| 529 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_storage_add_list (543 to 555 maildir-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 549 | Pointer not checked for null before use : mlist | CERT EXP08-C,EXP34-C
| 548 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_get_uidvalidity_next (557 to 565 maildir-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 563 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 561 |  |
M | 564 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 563 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_index_expunge (42 to 60 maildir-sync-index.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 45 | Procedure contains UR data flow anomalies. : flags | CERT EXP33-C
| 51 |  |
M | 47 | Procedure contains UR data flow anomalies. : fname | CERT EXP33-C
| 51 |  |
M | 46 | Procedure contains UR data flow anomalies. : guid_128 | CERT EXP33-C
| 55 |  |
M | 48 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 50 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-sync-index.c | 45 | maildir-sync-index.c | 51 | flags
maildir-sync-index.c | 47 | maildir-sync-index.c | 51 | fname
maildir-sync-index.c | 46 | maildir-sync-index.c | 55 | guid_128
maildir-sync-index.c | 48 | maildir-sync-index.c | 50 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_expunge_is_valid_guid (62 to 88 maildir-sync-index.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 67 | Procedure contains UR data flow anomalies. : guid_128 | CERT EXP33-C
| 75 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-sync-index.c | 67 | maildir-sync-index.c | 75 | guid_128

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_flags (110 to 165 maildir-sync-index.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 122 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 121 |  |
M | 130 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 137 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 122 |  |
M | 137 | Pointer not checked for null before use : newfname | CERT EXP08-C,EXP34-C
| 135 |  |
M | 138 | Pointer not checked for null before use : newpath | CERT EXP08-C,EXP34-C
| 137 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_index_begin (214 to 250 maildir-sync-index.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 237 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 236 |  |
M | 220 | Procedure contains UR data flow anomalies. : sync_ctx | CERT EXP33-C
| 230 |  |
M | 222 | Procedure contains UR data flow anomalies. : trans | CERT EXP33-C
| 230 |  |
M | 221 | Procedure contains UR data flow anomalies. : view | CERT EXP33-C
| 230 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-sync-index.c | 220 | maildir-sync-index.c | 230 | sync_ctx
maildir-sync-index.c | 222 | maildir-sync-index.c | 230 | trans
maildir-sync-index.c | 222 | maildir-sync-index.c | 241 | trans
maildir-sync-index.c | 221 | maildir-sync-index.c | 230 | view
maildir-sync-index.c | 221 | maildir-sync-index.c | 240 | view

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_index_header_has_changed (252 to 273 maildir-sync-index.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 256 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_index_update_ext_header (275 to 299 maildir-sync-index.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 293 | Sizeof argument is a pointer. | CERT EXP01-C
M | 295 | Sizeof argument is a pointer. | CERT EXP01-C
M | 280 | Procedure contains UR data flow anomalies. : data_size | CERT EXP33-C
| 291 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-sync-index.c | 280 | maildir-sync-index.c | 291 | data_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_index_finish (301 to 328 maildir-sync-index.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 325 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 324 |  |
M | 326 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 325 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_mail_keywords (358 to 434 maildir-sync-index.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 393 | Pointer not checked for null before use : kw | CERT EXP08-C,EXP34-C
| 391 |  |
M | 424 | Pointer not checked for null before use : kw | CERT EXP08-C,EXP34-C
| 422 |  |
M | 431 | Pointer not checked for null before use : kw | CERT EXP08-C,EXP34-C
| 429 |  |
M | 408 | Pointer not checked for null before use : old_indexes | CERT EXP08-C,EXP34-C
| 412 |  |
M | 408 | Pointer not checked for null before use : new_indexes | CERT EXP08-C,EXP34-C
| 406 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_index (436 to 668 maildir-sync-index.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 463 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 461 |  |
M | 529 | Pointer not checked for null before use : kw | CERT EXP08-C,EXP34-C
| 527 |  |
M | 537 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 536 |  |
M | 557 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 557 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 572 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 572 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 524 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 484 |  |
M | 524 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 484 |  |
M | 455 | Procedure contains UR data flow anomalies. : expunged_guid_128 | CERT EXP33-C
| 554 |  |
M | 449 | Procedure contains UR data flow anomalies. : filename | CERT EXP33-C
| 486 |  |
M | 447 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 614 |  |
M | 448 | Procedure contains UR data flow anomalies. : uflags | CERT EXP33-C
| 486 |  |
M | 447 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 486 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-sync-index.c | 455 | maildir-sync-index.c | 554 | expunged_guid_128
maildir-sync-index.c | 449 | maildir-sync-index.c | 486 | filename
maildir-sync-index.c | 447 | maildir-sync-index.c | 614 | seq2
maildir-sync-index.c | 448 | maildir-sync-index.c | 486 | uflags
maildir-sync-index.c | 447 | maildir-sync-index.c | 486 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_index_has_changed (683 to 728 maildir-sync-index.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 709 | Pointer not checked for null before use : root_dir | CERT EXP08-C,EXP34-C
| 706 |  |
M | 710 | Pointer not checked for null before use : new_dir | CERT EXP08-C,EXP34-C
| 709 |  |
M | 720 | Pointer not checked for null before use : cur_dir | CERT EXP08-C,EXP34-C
| 719 |  |
M | 693 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 696 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-sync-index.c | 693 | maildir-sync-index.c | 696 | expunged

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_list_index_update_sync (730 to 767 maildir-sync-index.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 761 | Sizeof argument is a pointer. | CERT EXP01-C
M | 745 | Pointer not checked for null before use : list_view | CERT EXP08-C,EXP34-C
| 744 |  |
M | 739 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 746 |  |
M | 741 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 746 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-sync-index.c | 739 | maildir-sync-index.c | 746 | data
maildir-sync-index.c | 741 | maildir-sync-index.c | 746 | expunged

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_context_new (250 to 264 maildir-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 263 | Local structure returned in function result : ctx |
M | 257 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 256 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_fix_duplicate (274 to 333 maildir-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 288 | Pointer not checked for null before use : path1 | CERT EXP08-C,EXP34-C
| 285 |  |
M | 322 | Pointer not checked for null before use : new_fname | CERT EXP08-C,EXP34-C
| 321 |  |
M | 324 | Pointer not checked for null before use : new_path | CERT EXP08-C,EXP34-C
| 322 |  |
M | 288 | Pointer not checked for null before use : path2 | CERT EXP08-C,EXP34-C
| 286 |  |
M | 324 | Pointer not checked for null before use : path2 | CERT EXP08-C,EXP34-C
| 286 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_scan_dir (356 to 531 maildir-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 373 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 371 |  |
M | 433 | Pointer not checked for null before use : dest | CERT EXP08-C,EXP34-C
| 419 |  |
M | 432 | Pointer not checked for null before use : src | CERT EXP08-C,EXP34-C
| 418 |  |
M | 515 | User input not checked before use. : st | CERT FIO30-C
| 513 |  |
M | 522 | User input not checked before use. : st | CERT FIO30-C
| 520 |  |
M | 410 | User input not checked before use. : st | CERT FIO30-C
| 394 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_header_refresh (533 to 553 maildir-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 551 | Sizeof argument is a pointer. | CERT EXP01-C
M | 551 | Sizeof argument is a pointer. | CERT EXP01-C
M | 535 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 543 |  |
M | 536 | Procedure contains UR data flow anomalies. : data_size | CERT EXP33-C
| 543 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-sync.c | 535 | maildir-sync.c | 543 | data
maildir-sync.c | 536 | maildir-sync.c | 543 | data_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_quick_check (555 to 630 maildir-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 559 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | 565 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_update_next_uid (632 to 651 maildir-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 638 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 637 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_context (698 to 883 maildir-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 703 | Procedure contains UR data flow anomalies. : cur_changed | CERT EXP33-C
| 712 |  |
M | 702 | Procedure contains UR data flow anomalies. : flags | CERT EXP33-C
| 869 |  |
M | 704 | Procedure contains UR data flow anomalies. : fname | CERT EXP33-C
| 869 |  |
M | 703 | Procedure contains UR data flow anomalies. : new_changed | CERT EXP33-C
| 712 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-sync.c | 703 | maildir-sync.c | 712 | cur_changed
maildir-sync.c | 702 | maildir-sync.c | 869 | flags
maildir-sync.c | 704 | maildir-sync.c | 869 | fname
maildir-sync.c | 703 | maildir-sync.c | 712 | new_changed

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_storage_sync_force (885 to 907 maildir-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 893 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 892 |  |
M | 894 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 893 |  |
M | 901 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 900 |  |
M | 901 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 903 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 901 |  |
M | 901 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 894 |  |
M | 903 | Pointer not checked for null before use : (ctx)->index_sync_ctx | CERT EXP08-C,EXP34-C
| 894 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_storage_sync_init (909 to 967 maildir-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 926 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 925 |  |
M | 926 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 928 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 926 |  |
M | 928 | Pointer not checked for null before use : (ctx)->index_sync_ctx | CERT EXP08-C,EXP34-C
| 926 |  |
M | 960 | Pointer not checked for null before use : map | CERT EXP08-C,EXP34-C
| 958 |  |
M | 936 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 928 |  |
M | 966 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 936 |  |
M | 942 | Procedure contains UR data flow anomalies. : b | CERT EXP33-C
| 950 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-sync.c | 942 | maildir-sync.c | 950 | b

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_sync_is_synced (969 to 984 maildir-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 980 | Pointer not checked for null before use : new_dir | CERT EXP08-C,EXP34-C
| 977 |  |
M | 980 | Pointer not checked for null before use : cur_dir | CERT EXP08-C,EXP34-C
| 978 |  |
M | 971 | Procedure contains UR data flow anomalies. : cur_changed | CERT EXP33-C
| 983 |  |
M | 971 | Procedure contains UR data flow anomalies. : new_changed | CERT EXP33-C
| 983 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-sync.c | 971 | maildir-sync.c | 983 | cur_changed
maildir-sync.c | 971 | maildir-sync.c | 983 | new_changed

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_lock_timeout (135 to 205 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 163 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 159 |  |
M | 159 | Pointer not checked for null before use : control_dir | CERT EXP08-C,EXP34-C
| 157 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_init (251 to 284 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 283 | Local structure returned in function result : uidlist |
M | 260 | Pointer not checked for null before use : uidlist | CERT EXP08-C,EXP34-C
| 259 |  |
M | 262 | Pointer not checked for null before use : control_dir | CERT EXP08-C,EXP34-C
| 256 |  |
M | 268 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 566) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_deinit (313 to 331 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_records_array_delete (384 to 405 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 398 | Pointer not checked for null before use : recs | CERT EXP08-C,EXP34-C
| 391 |  |
M | 395 | Pointer not checked for null before use : recs | CERT EXP08-C,EXP34-C
| 391 |  |
M | 395 | Pointer not checked for null before use : pos | CERT EXP08-C,EXP34-C
| 393 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_read_extended (407 to 439 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 420 | Pointer not checked for null before use : start | CERT EXP08-C,EXP34-C
| 418 |  |
M | 419 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C
| 419 |  |
M | 422 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C
| 422 |  |
M | 434 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C
| 433 |  |
M | 425 | Pointer not checked for null before use : buf | CERT EXP08-C,EXP34-C
| 415 |  |
M | 420 | Pointer not checked for null before use : buf | CERT EXP08-C,EXP34-C
| 415 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_next (441 to 559 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 487 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 486 |  |
M | 507 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C
| 497 |  |
M | 555 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 544 |  |
M | 549 | Pointer not checked for null before use : recs | CERT EXP08-C,EXP34-C
| 548 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_read_v3_header (561 to 610 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 595 | Sizeof argument is a pointer. | CERT EXP01-C
M | 581 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 577 |  |
M | 584 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 577 |  |
M | 589 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 577 |  |
M | 602 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 577 |  |
M | 577 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 575 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_read_header (612 to 677 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 637 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C
| 633 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_update_read (685 to 827 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 748 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 747 |  |
M | 743 | User input not checked before use. : st | CERT FIO30-C
| 728 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_refresh (919 to 947 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 943 | Pointer not checked for null before use : uidlist.fd | CERT EXP08-C,EXP34-C
| 929 |  |
M | 929 | Pointer not checked for null before use : uidlist.last_read_offset | CERT EXP08-C,EXP34-C
| 934 |  |
M | 943 | Pointer not checked for null before use : uidlist.uid_validity | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.next_uid | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.change_counter | CERT EXP08-C,EXP34-C
| 929 |  |
M | 929 | Pointer not checked for null before use : uidlist.read_line_count | CERT EXP08-C,EXP34-C
| 934 |  |
M | 943 | Pointer not checked for null before use : uidlist.mailbox_guid | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.uidlist_mtime | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.fd_ino | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.last_read_offset | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.record_pool | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.retry_rewind | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.read_records_count | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.read_line_count | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.unsorted | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.hdr_next_uid | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.fd_dev | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.fd_size | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.last_seen_uid | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.uidlist_mtime_nsecs | CERT EXP08-C,EXP34-C
| 929 |  |
M | 943 | Pointer not checked for null before use : uidlist.uidlist_size | CERT EXP08-C,EXP34-C
| 929 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_refresh_fast_init (949 to 986 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 974 | Pointer not checked for null before use : view | CERT EXP08-C,EXP34-C
| 973 |  |
M | 975 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 974 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_lookup_rec (988 to 1021 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1007 | Pointer not checked for null before use : recs | CERT EXP08-C,EXP34-C
| 1003 |  |
M | 994 | Procedure contains UR data flow anomalies. : right_idx | CERT EXP33-C
| 1004 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-uidlist.c | 994 | maildir-uidlist.c | 1004 | right_idx

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_lookup (1023 to 1050 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1045 | Pointer not checked for null before use : uidlist.initial_read | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1045 | Pointer not checked for null before use : uidlist.records | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.records | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.initial_hdr_read | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1045 | Pointer not checked for null before use : uidlist.lock_count | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.lock_count | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.locked_refresh | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.locked_refresh | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.have_mailbox_guid | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1045 | Pointer not checked for null before use : uidlist.recreate | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1045 | Pointer not checked for null before use : uidlist.fd_ino | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.fd_ino | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.last_read_offset | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.last_read_offset | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.record_pool | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.record_pool | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.uid_validity | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.uid_validity | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.next_uid | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.next_uid | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.change_counter | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.change_counter | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.retry_rewind | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.retry_rewind | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.read_records_count | CERT EXP08-C,EXP34-C
| 1036 |  |

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1036 | Pointer not checked for null before use : uidlist.read_records_count | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.read_line_count | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.read_line_count | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.unsorted | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.unsorted | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.hdr_next_uid | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.hdr_next_uid | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.fd_dev | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.fd_dev | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.fd_size | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.fd_size | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.mailbox_guid | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.mailbox_guid | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.last_seen_uid | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.last_seen_uid | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.uidlist_mtime | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.uidlist_mtime | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.uidlist_mtime_nsecs | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.uidlist_mtime_nsecs | CERT EXP08-C,EXP34-C
| 1029 |  |
M | 1045 | Pointer not checked for null before use : uidlist.uidlist_size | CERT EXP08-C,EXP34-C
| 1036 |  |
M | 1036 | Pointer not checked for null before use : uidlist.uidlist_size | CERT EXP08-C,EXP34-C
| 1029 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_lookup_nosync (1052 to 1066 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1063 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 1060 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_lookup_ext (1068 to 1090 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1078 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 1077 |  |
M | 1081 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 1077 |  |
M | 1082 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 1081 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_set_mailbox_guid (1114 to 1123 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1117 | Sizeof argument is a pointer. | CERT EXP01-C
M | 1119 | Sizeof argument is a pointer. | CERT EXP01-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_set_ext_real (1146 to 1198 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1175 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1177 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 1176 |  |
M | 1186 | Pointer not checked for null before use : buf | CERT EXP08-C,EXP34-C
| 1172 |  |
M | 1181 | Pointer not checked for null before use : buf | CERT EXP08-C,EXP34-C
| 1172 |  |
M | 1166 | Pointer not checked for null before use : uidlist.records | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.records | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.lock_count | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.lock_count | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.have_mailbox_guid | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1166 | Pointer not checked for null before use : uidlist.fd | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.fd | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.last_read_offset | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.last_read_offset | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.uid_validity | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.uid_validity | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.next_uid | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.next_uid | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.change_counter | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.change_counter | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.retry_rewind | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.retry_rewind | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.read_records_count | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.read_records_count | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.read_line_count | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.read_line_count | CERT EXP08-C,EXP34-C
| 1158 |  |

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1166 | Pointer not checked for null before use : uidlist.unsorted | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.unsorted | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.hdr_next_uid | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.hdr_next_uid | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.mailbox_guid | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.mailbox_guid | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.last_seen_uid | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.last_seen_uid | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.uidlist_mtime | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.uidlist_mtime | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.locked_refresh | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.locked_refresh | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.fd_ino | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.fd_ino | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.fd_dev | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.fd_dev | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.fd_size | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.fd_size | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.uidlist_mtime_nsecs | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.uidlist_mtime_nsecs | CERT EXP08-C,EXP34-C
| 1158 |  |
M | 1166 | Pointer not checked for null before use : uidlist.uidlist_size | CERT EXP08-C,EXP34-C
| 1164 |  |
M | 1164 | Pointer not checked for null before use : uidlist.uidlist_size | CERT EXP08-C,EXP34-C
| 1158 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_generate_uid_validity (1209 to 1223 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1216 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 1215 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_write_fd (1225 to 1307 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1256 | Sizeof argument is a pointer. | CERT EXP01-C
M | 1241 | Pointer not checked for null before use : output | CERT EXP08-C,EXP34-C
| 1240 |  |
M | 1268 | Pointer not checked for null before use : iter | CERT EXP08-C,EXP34-C
| 1266 |  |
M | 1273 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 1270 |  |
M | 1272 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 1242 |  |
M | 1254 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 1242 |  |
M | 1275 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 1275 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_records_drop_expunges (1309 to 1367 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1328 | Pointer not checked for null before use : view | CERT EXP08-C,EXP34-C
| 1326 |  |
M | 1329 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 1328 |  |
M | 1339 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 1338 |  |
M | 1339 | Pointer not checked for null before use : recs | CERT EXP08-C,EXP34-C
| 1336 |  |
M | 1361 | Pointer not checked for null before use : recs | CERT EXP08-C,EXP34-C
| 1336 |  |
M | 1314 | Procedure contains UR data flow anomalies. : new_records.arr.buffer | CERT EXP33-C
| 1364 |  |
M | 1314 | Procedure contains UR data flow anomalies. : new_records.arr.element_size | CERT EXP33-C
| 1364 |  |
M | 1314 | Procedure contains UR data flow anomalies. : new_records.v | CERT EXP33-C
| 1364 |  |
M | 1314 | Procedure contains UR data flow anomalies. : new_records.v_modifiable | CERT EXP33-C
| 1364 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-uidlist.c | 1314 | maildir-uidlist.c | 1364 | new_records.arr.buffer
maildir-uidlist.c | 1314 | maildir-uidlist.c | 1364 | new_records.arr.element_size
maildir-uidlist.c | 1314 | maildir-uidlist.c | 1364 | new_records.v
maildir-uidlist.c | 1314 | maildir-uidlist.c | 1364 | new_records.v_modifiable

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_recreate (1369 to 1459 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1384 | Pointer not checked for null before use : control_dir | CERT EXP08-C,EXP34-C
| 1382 |  |
M | 1389 | Pointer not checked for null before use : temp_path | CERT EXP08-C,EXP34-C
| 1384 |  |
M | 1420 | Pointer not checked for null before use : uidlist.records | CERT EXP08-C,EXP34-C
| 1380 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_update (1461 to 1473 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1470 | Pointer not checked for null before use : uidlist.have_mailbox_guid | CERT EXP08-C,EXP34-C
| 1468 |  |
M | 1470 | Pointer not checked for null before use : uidlist.fd | CERT EXP08-C,EXP34-C
| 1468 |  |
M | 1470 | Pointer not checked for null before use : uidlist.uid_validity | CERT EXP08-C,EXP34-C
| 1468 |  |
M | 1470 | Pointer not checked for null before use : uidlist.next_uid | CERT EXP08-C,EXP34-C
| 1468 |  |
M | 1470 | Pointer not checked for null before use : uidlist.change_counter | CERT EXP08-C,EXP34-C
| 1468 |  |
M | 1470 | Pointer not checked for null before use : uidlist.mailbox_guid | CERT EXP08-C,EXP34-C
| 1468 |  |
M | 1470 | Pointer not checked for null before use : uidlist.uidlist_mtime | CERT EXP08-C,EXP34-C
| 1468 |  |
M | 1470 | Pointer not checked for null before use : uidlist.records | CERT EXP08-C,EXP34-C
| 1468 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_sync_update (1508 to 1550 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1526 | Attempt to use already freed object. | CERT MEM31-C
M | 1527 | Attempt to use already freed object. | CERT MEM31-C
M | 1532 | Attempt to use already freed object. | CERT MEM31-C
M | 1536 | Attempt to use already freed object. | CERT MEM31-C
M | 1537 | Attempt to use already freed object. | CERT MEM31-C
M | 1542 | Attempt to use already freed object. | CERT MEM31-C
M | 1547 | Attempt to use already freed object. | CERT MEM31-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_mark_all (1552 to 1566 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1561 | Pointer not checked for null before use : recs | CERT EXP08-C,EXP34-C
| 1558 |  |
M | 1564 | Pointer not checked for null before use : recs | CERT EXP08-C,EXP34-C
| 1558 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_sync_lock (1568 to 1601 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1595 | Pointer not checked for null before use : (uidlist)->lock_count | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.fd | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.last_read_offset | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.record_pool | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.uid_validity | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.next_uid | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.change_counter | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.retry_rewind | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.read_records_count | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.read_line_count | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.unsorted | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.hdr_next_uid | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.mailbox_guid | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.last_seen_uid | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.uidlist_mtime | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : (uidlist)->locked_refresh | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.fd_ino | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.fd_dev | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.fd_size | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.records | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.uidlist_mtime_nsecs | CERT EXP08-C,EXP34-C
| 1586 |  |
M | 1595 | Pointer not checked for null before use : uidlist.uidlist_size | CERT EXP08-C,EXP34-C
| 1586 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_sync_init (1608 to 1646 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1621 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 1620 |  |
M | 1644 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 1644 |  |
M | 1644 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 1644 |  |
M | 1616 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 566) |  |
M | 1620 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1616 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_sync_next_partial (1648 to 1700 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1657 | Attempt to use already freed object. | CERT MEM31-C
M | 1676 | Attempt to use already freed object. | CERT MEM31-C
M | 1684 | Attempt to use already freed object. | CERT MEM31-C
M | 1695 | Attempt to use already freed object. | CERT MEM31-C
M | 1696 | Attempt to use already freed object. | CERT MEM31-C
M | 1678 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 1676 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_sync_next_uid (1728 to 1798 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1769 | Attempt to use already freed object. | CERT MEM31-C
M | 1744 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 1742 |  |
M | 1775 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 1772 |  |
M | 1779 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 1772 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_assign_uids (1875 to 1910 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1888 | Pointer not checked for null before use : recs | CERT EXP08-C,EXP34-C
| 1887 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_swap (1912 to 1939 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1923 | Attempt to use already freed object. | CERT MEM31-C
M | 1928 | Attempt to use already freed object. | CERT MEM31-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_sync_finish (1946 to 1975 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1967 | Pointer not checked for null before use : ctx.finish_change_counter | CERT EXP08-C,EXP34-C
| 1950 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_sync_deinit (1977 to 2004 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_iter_init (2018 to 2030 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 2029 | Local structure returned in function result : ctx |
M | 2025 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 2024 |  |
M | 2024 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 566) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_iter_update_idx (2032 to 2049 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 2038 | Attempt to use already freed object. | CERT MEM31-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_iter_next_rec (2051 to 2070 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 2056 | Attempt to use already freed object. | CERT MEM31-C
M | 2063 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 2062 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_iter_next (2072 to 2086 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 2082 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 2079 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_uidlist_iter_deinit (2088 to 2092 maildir-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 2090 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 566) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_filename_guess (23 to 53 maildir-util.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 43 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 48 | Pointer not checked for null before use : kw_ctx | CERT EXP08-C,EXP34-C
| 46 |  |
M | 30 | Procedure contains UR data flow anomalies. : flags | CERT EXP33-C
| 40 |  |
M | 32 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 34 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-util.c | 30 | maildir-util.c | 40 | flags
maildir-util.c | 32 | maildir-util.c | 34 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_file_do_try (55 to 87 maildir-util.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 79 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 78 |  |
M | 85 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 84 |  |
M | 69 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 63 |  |
M | 84 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 63 |  |
M | 69 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 63 |  |
M | 59 | Procedure contains UR data flow anomalies. : flags | CERT EXP33-C
| 67 |  |
M | 58 | Procedure contains UR data flow anomalies. : fname | CERT EXP33-C
| 69 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
maildir-util.c | 59 | maildir-util.c | 67 | flags
maildir-util.c | 58 | maildir-util.c | 69 | fname
maildir-util.c | 58 | maildir-util.c | 84 | fname

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_file_do (107 to 132 maildir-util.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 123 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 119 |  |
M | 119 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 113 |  |
M | 128 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 113 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_create_path (134 to 167 maildir-util.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 163 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 161 |  |
M | 155 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 147 |  |
M | 156 | Pointer not checked for null before use : parent | CERT EXP08-C,EXP34-C
| 155 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

maildir_create_subdirs (169 to 204 maildir-util.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 179 | Sizeof argument is a pointer. | CERT EXP01-C
M | 189 | Sizeof argument is a pointer. | CERT EXP01-C
M | 191 | Sizeof argument is a pointer. | CERT EXP01-C
M | 203 | Sizeof argument is a pointer. | CERT EXP01-C
M | 192 | Pointer not checked for null before use : dirs | CERT EXP08-C,EXP34-C
| 187 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_file_open (15 to 51 mbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 46 | User input not checked before use. : st | CERT FIO30-C
| 40 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_file_fix_atime (98 to 123 mbox-file.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_file_lookup_offset (143 to 165 mbox-file.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 147 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 150 |  |
M | 148 | Procedure contains UR data flow anomalies. : deleted | CERT EXP33-C
| 150 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-file.c | 147 | mbox-file.c | 150 | data
mbox-file.c | 148 | mbox-file.c | 150 | deleted

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_file_seek (167 to 210 mbox-file.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 205 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 180 |  |
M | 170 | Procedure contains UR data flow anomalies. : offset | CERT EXP33-C
| 180 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-file.c | 170 | mbox-file.c | 180 | offset

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_read_lock_methods (93 to 123 mbox-lock.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_init_lock_settings (125 to 162 mbox-lock.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 127 | Procedure contains UR data flow anomalies. : read_locks | CERT EXP33-C
| 131 |  |
M | 128 | Procedure contains UR data flow anomalies. : write_locks | CERT EXP33-C
| 133 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-lock.c | 127 | mbox-lock.c | 131 | read_locks
mbox-lock.c | 128 | mbox-lock.c | 133 | write_locks

[ | Top of Report | | | Procedure Table | | | Contents | ]

dotlock_callback (199 to 247 mbox-lock.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 231 | Pointer not checked for null before use : context.lock_status | CERT EXP08-C,EXP34-C
| 225 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_dotlock_privileged_op (249 to 338 mbox-lock.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 277 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 276 |  |
M | 308 | Pointer not checked for null before use : errmsg | CERT EXP08-C,EXP34-C
| 305 |  |
M | 286 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 283 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_dotlock_log_eacces_error (340 to 372 mbox-lock.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 350 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 349 |  |
M | 357 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 355 |  |
M | 364 | Pointer not checked for null before use : group | CERT EXP08-C,EXP34-C
| 363 |  |
M | 360 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 350 |  |
M | 352 | Pointer not checked for null before use : errmsg | CERT EXP08-C,EXP34-C
| 348 |  |
M | 357 | Pointer not checked for null before use : errmsg | CERT EXP08-C,EXP34-C
| 348 |  |
M | 363 | User input not checked before use. : st | CERT FIO30-C
| 360 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_lock_dotlock_int (374 to 443 mbox-lock.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_update_locking (689 to 766 mbox-lock.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 734 | Pointer not checked for null before use : ctx.mbox | CERT EXP08-C,EXP34-C
| 716 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_unlock (825 to 866 mbox-lock.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 865 | Pointer not checked for null before use : ctx.mbox | CERT EXP08-C,EXP34-C
| 860 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_dotlock_touch (868 to 879 mbox-lock.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_mail_seek (33 to 108 mbox-mail.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_mail_get_received_date (110 to 131 mbox-mail.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_mail_get_md5_header (149 to 171 mbox-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 155 | Procedure contains UR data flow anomalies. : ext_data | CERT EXP33-C
| 160 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-mail.c | 155 | mbox-mail.c | 160 | ext_data

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_mail_get_special (173 to 222 mbox-mail.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_mail_get_next_offset (224 to 265 mbox-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 235 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 234 |  |
M | 249 | Pointer not checked for null before use : view | CERT EXP08-C,EXP34-C
| 248 |  |
M | 253 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 249 |  |
M | 230 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 250 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-mail.c | 230 | mbox-mail.c | 250 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_mail_get_physical_size (267 to 308 mbox-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 300 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 285 |  |
M | 272 | Procedure contains UR data flow anomalies. : input | CERT EXP33-C
| 281 |  |
M | 274 | Procedure contains UR data flow anomalies. : next_offset | CERT EXP33-C
| 295 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-mail.c | 272 | mbox-mail.c | 281 | input
mbox-mail.c | 274 | mbox-mail.c | 295 | next_offset

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_mail_init_stream (310 to 349 mbox-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 335 | Pointer not checked for null before use : raw_stream | CERT EXP08-C,EXP34-C
| 334 |  |
M | 343 | Pointer not checked for null before use : raw_stream | CERT EXP08-C,EXP34-C
| 341 |  |
M | 322 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 317 |  |
M | 335 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 317 |  |
M | 314 | Procedure contains UR data flow anomalies. : next_offset | CERT EXP33-C
| 338 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-mail.c | 314 | mbox-mail.c | 338 | next_offset

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_mail_get_stream (351 to 364 mbox-mail.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_md5_init (88 to 95 mbox-md5.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 94 | Local structure returned in function result : ctx |
M | 93 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 92 |  |
M | 92 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 572) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_md5_continue (97 to 107 mbox-md5.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 102 | Pointer not checked for null before use : md5_header_funcs.header | CERT EXP08-C,EXP34-C
| 72 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_md5_finish (109 to 114 mbox-md5.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 113 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 572) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_seek_to_end (68 to 102 mbox-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 98 | Pointer not checked for null before use : offset | CERT EXP08-C,EXP34-C
| 85 |  |
M | 83 | User input not checked before use. : st | CERT FIO30-C
| 80 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

write_from_line (112 to 135 mbox-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 131 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C
| 129 |  |
M | 129 | Pointer not checked for null before use : from_envelope | CERT EXP08-C,EXP34-C
| 124 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_write_content_length (137 to 172 mbox-save.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_save_init_sync (174 to 192 mbox-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 185 | Pointer not checked for null before use : view | CERT EXP08-C,EXP34-C
| 184 |  |
M | 187 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 185 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_save_append_keyword_headers (220 to 246 mbox-save.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 : keyword_names_list | CERT EXP08-C,EXP34-C
| 230 |  |
M | 239 | Pointer not checked for null before use : keyword_names | CERT EXP08-C,EXP34-C
| 231 |  |
M | 228 | Procedure contains UR data flow anomalies. : keyword_names_count | CERT EXP33-C
| 236 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-save.c | 228 | mbox-save.c | 236 | keyword_names_count

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_save_x_delivery_id (338 to 361 mbox-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 346 | Pointer not checked for null before use : buf | CERT EXP08-C,EXP34-C
| 345 |  |
M | 351 | Pointer not checked for null before use : randbuf | CERT EXP08-C,EXP34-C
| 350 |  |
M | 356 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 355 |  |
M | 340 | Procedure contains UR data flow anomalies. : md5_result | CERT EXP33-C
| 353 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-save.c | 340 | mbox-save.c | 353 | md5_result

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_save_get_input_stream (363 to 409 mbox-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 389 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 387 |  |
M | 392 | Pointer not checked for null before use : streams | CERT EXP08-C,EXP34-C
| 391 |  |
M | 394 | Pointer not checked for null before use : ret | CERT EXP08-C,EXP34-C
| 392 |  |
M | 406 | Pointer not checked for null before use : cache_input | CERT EXP08-C,EXP34-C
| 404 |  |
M | 399 | Pointer not checked for null before use : filter | CERT EXP08-C,EXP34-C
| 394 |  |
M | 390 | Pointer not checked for null before use : filter | CERT EXP08-C,EXP34-C
| 369 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_save_alloc (411 to 430 mbox-save.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_save_body_input (517 to 530 mbox-save.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-save.c | 520 | mbox-save.c | 522 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_save_continue (576 to 658 mbox-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 637 | Pointer not checked for null before use : hdr.name | CERT EXP08-C,EXP34-C
| 635 |  |
M | 640 | Pointer not checked for null before use : hdr.middle | CERT EXP08-C,EXP34-C
| 637 |  |
M | 642 | Pointer not checked for null before use : hdr.value | CERT EXP08-C,EXP34-C
| 640 |  |
M | 643 | Pointer not checked for null before use : hdr.full_value | CERT EXP08-C,EXP34-C
| 640 |  |
M | 615 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 595 |  |
M | 629 | Procedure contains UR data flow anomalies. : hdr_md5_sum | CERT EXP33-C
| 645 |  |
M | 580 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 595 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-save.c | 629 | mbox-save.c | 645 | hdr_md5_sum
mbox-save.c | 580 | mbox-save.c | 595 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_save_finish (660 to 700 mbox-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 676 | Pointer not checked for null before use : ctx.extra_hdr_offset | CERT EXP08-C,EXP34-C
| 665 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_transaction_save_commit_pre (735 to 796 mbox-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 756 | Sizeof argument is a pointer. | CERT EXP01-C
M | 762 | Sizeof argument is a pointer. | CERT EXP01-C
M | 796 | Memory not freed after last reference. : ctx | CERT MEM00-C
M | 760 | User input not checked before use. : st | CERT FIO30-C
| 745 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_transaction_save_rollback (814 to 824 mbox-save.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_list_get_path (89 to 110 mbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 96 | Pointer not checked for null before use : mlist | CERT EXP08-C,EXP34-C
| 93 |  |
M | 100 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 96 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_storage_alloc (112 to 122 mbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 118 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 117 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_storage_create (124 to 154 mbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 142 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 140 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_storage_find_root_dir (245 to 264 mbox-storage.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 : path | CERT EXP08-C,EXP34-C
| 256 |  |
M | 261 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 260 |  |
M | 248 | Procedure contains UR data flow anomalies. : home | CERT EXP33-C
| 250 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-storage.c | 248 | mbox-storage.c | 250 | home

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_storage_find_inbox_file (266 to 289 mbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 272 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 271 |  |
M | 281 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 280 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_storage_autodetect (291 to 326 mbox-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 321 | Pointer not checked for null before use : root_dir | CERT EXP08-C,EXP34-C
| 305 |  |
M | 322 | Pointer not checked for null before use : inbox_path | CERT EXP08-C,EXP34-C
| 318 |  |
M | 305 | Procedure contains UR data flow anomalies. : root_dir | CERT EXP33-C
| 295 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-storage.c | 305 | mbox-storage.c | 309 | root_dir
mbox-storage.c | 305 | mbox-storage.c | 321 | root_dir

[ | Top of Report | | | Procedure Table | | | Contents | ]

want_memory_indexes (328 to 345 mbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 344 | Local structure returned in function result : st |
M | 344 | User input not checked before use. : st | CERT FIO30-C
| 335 |  |
M | 337 | User input not checked before use. : st | CERT FIO30-C
| 335 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_mailbox_alloc (347 to 384 mbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 373 | Sizeof argument is a pointer. | CERT EXP01-C
M | 356 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 355 |  |
M | 357 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 356 |  |
M | 366 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 365 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_mailbox_open_existing (391 to 425 mbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 411 | Pointer not checked for null before use : rootdir | CERT EXP08-C,EXP34-C
| 409 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

create_inbox (478 to 509 mbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 486 | Pointer not checked for null before use : inbox_path | CERT EXP08-C,EXP34-C
| 483 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_mailbox_create (511 to 538 mbox-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 515 | Procedure contains UR data flow anomalies. : fd | CERT EXP33-C
| 526 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-storage.c | 515 | mbox-storage.c | 526 | fd

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_mailbox_close (540 to 574 mbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 554 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 553 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_storage_add_list (618 to 635 mbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 624 | Pointer not checked for null before use : mlist | CERT EXP08-C,EXP34-C
| 623 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_transaction_begin (637 to 646 mbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 644 | Pointer not checked for null before use : mt | CERT EXP08-C,EXP34-C
| 643 |  |
M | 643 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 575) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

parse_imap_keywords_list (112 to 152 mbox-sync-parse.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 139 | Pointer not checked for null before use : keyword | CERT EXP08-C,EXP34-C
| 137 |  |
M | 147 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 117 |  |
M | 118 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 139 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync-parse.c | 118 | mbox-sync-parse.c | 139 | error

[ | Top of Report | | | Procedure Table | | | Contents | ]

parse_x_keywords_real (248 to 313 mbox-sync-parse.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 279 | Pointer not checked for null before use : keyword | CERT EXP08-C,EXP34-C
| 263 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_parse_next_mail (448 to 540 mbox-sync-parse.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 523 | Pointer not checked for null before use : mbox_md5_ctx | CERT EXP08-C,EXP34-C
| 471 |  |
M | 510 | Pointer not checked for null before use : mbox_md5_ctx | CERT EXP08-C,EXP34-C
| 471 |  |
M | 540 | Memory not freed after last reference. : mbox_md5_ctx | CERT MEM00-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_parse_match_mail (542 to 601 mbox-sync-parse.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 578 | Pointer not checked for null before use : ctx.header | CERT EXP08-C,EXP34-C
| 561 |  |
M | 578 | Pointer not checked for null before use : ctx.sync_ctx | CERT EXP08-C,EXP34-C
| 561 |  |
M | 590 | Pointer not checked for null before use : mbox_md5_ctx | CERT EXP08-C,EXP34-C
| 562 |  |
M | 584 | Pointer not checked for null before use : mbox_md5_ctx | CERT EXP08-C,EXP34-C
| 562 |  |
M | 601 | Memory not freed after last reference. : mbox_md5_ctx | CERT MEM00-C
M | 550 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 598 |  |
M | 551 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 560 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync-parse.c | 550 | mbox-sync-parse.c | 598 | data
mbox-sync-parse.c | 551 | mbox-sync-parse.c | 560 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_move (15 to 59 mbox-sync-rewrite.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_read_next (320 to 383 mbox-sync-rewrite.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 330 | Pointer not checked for null before use : mail_ctx | CERT EXP08-C,EXP34-C
| 329 |  |
M | 363 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 334 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_read_and_move (385 to 475 mbox-sync-rewrite.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 411 | Pointer not checked for null before use : new_mail_ctx.header | CERT EXP08-C,EXP34-C
| 400 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.body_offset | CERT EXP33-C
| 407 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.have_eoh | CERT EXP33-C
| 400 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.hdr_offset | CERT EXP33-C
| 400 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.hdr_pos | CERT EXP33-C
| 400 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.header | CERT EXP33-C
| 411 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.header_first_change | CERT EXP33-C
| 400 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.header_last_change | CERT EXP33-C
| 400 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.imapbase_rewrite | CERT EXP33-C
| 400 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.imapbase_updated | CERT EXP33-C
| 400 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.last_uid_updated_value | CERT EXP33-C
| 400 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.last_uid_value_start_pos | CERT EXP33-C
| 400 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.mail.offset | CERT EXP33-C
| 471 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.mail.pseudo | CERT EXP33-C
| 400 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.mail.space | CERT EXP33-C
| 405 |  |
M | 392 | Procedure contains UR data flow anomalies. : new_mail_ctx.seq | CERT EXP33-C
| 404 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 407 | new_mail_ctx.body_offset
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 411 | new_mail_ctx.body_offset
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 400 | new_mail_ctx.have_eoh
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 400 | new_mail_ctx.hdr_offset
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 411 | new_mail_ctx.hdr_offset
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 400 | new_mail_ctx.hdr_pos
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 411 | new_mail_ctx.header
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 400 | new_mail_ctx.header_first_change
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 400 | new_mail_ctx.header_last_change
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 400 | new_mail_ctx.imapbase_rewrite
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 400 | new_mail_ctx.imapbase_updated
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 400 | new_mail_ctx.last_uid_updated_value
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 400 | new_mail_ctx.last_uid_value_start_pos
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 471 | new_mail_ctx.mail.offset
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 400 | new_mail_ctx.mail.pseudo
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 405 | new_mail_ctx.mail.space
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 410 | new_mail_ctx.mail.space
mbox-sync-rewrite.c | 392 | mbox-sync-rewrite.c | 404 | new_mail_ctx.seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_rewrite (477 to 595 mbox-sync-rewrite.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 507 | Pointer not checked for null before use : mails | CERT EXP08-C,EXP34-C
| 493 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

status_flags_replace (73 to 121 mbox-sync-update.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 117 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 114 |  |
M | 77 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 92 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync-update.c | 77 | mbox-sync-update.c | 92 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

keywords_append (123 to 151 mbox-sync-update.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 134 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 127 |  |
M | 149 | Pointer not checked for null before use : keyword_names | CERT EXP08-C,EXP34-C
| 134 |  |
M | 131 | Procedure contains UR data flow anomalies. : idx_count | CERT EXP33-C
| 138 |  |
M | 131 | Procedure contains UR data flow anomalies. : keywords_count | CERT EXP33-C
| 139 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync-update.c | 131 | mbox-sync-update.c | 138 | idx_count
mbox-sync-update.c | 131 | mbox-sync-update.c | 139 | keywords_count

[ | Top of Report | | | Procedure Table | | | Contents | ]

keywords_append_all (153 to 186 mbox-sync-update.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 175 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 157 |  |
M | 184 | Pointer not checked for null before use : names | CERT EXP08-C,EXP34-C
| 175 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_update_line (289 to 322 mbox-sync-update.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 304 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 299 |  |
M | 301 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 299 |  |
M | 320 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 304 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_update_xkeywords (324 to 336 mbox-sync-update.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 333 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 331 |  |
M | 334 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 331 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_update_x_imap_base (338 to 368 mbox-sync-update.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_update_x_uid (370 to 381 mbox-sync-update.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_update_header_real (383 to 399 mbox-sync-update.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 391 | Pointer not checked for null before use : ctx.header_first_change | CERT EXP08-C,EXP34-C
| 390 |  |
M | 391 | Pointer not checked for null before use : ctx.header_last_change | CERT EXP08-C,EXP34-C
| 390 |  |
M | 394 | Pointer not checked for null before use : ctx.header_first_change | CERT EXP08-C,EXP34-C
| 391 |  |
M | 394 | Pointer not checked for null before use : ctx.header_last_change | CERT EXP08-C,EXP34-C
| 391 |  |
M | 395 | Pointer not checked for null before use : (ctx)->mail.offset | CERT EXP08-C,EXP34-C
| 392 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_update_header_from_real (408 to 456 mbox-sync-update.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 425 | Pointer not checked for null before use : ctx.header_first_change | CERT EXP08-C,EXP34-C
| 419 |  |
M | 453 | Pointer not checked for null before use : ctx.header_first_change | CERT EXP08-C,EXP34-C
| 425 |  |
M | 425 | Pointer not checked for null before use : ctx.header_last_change | CERT EXP08-C,EXP34-C
| 419 |  |
M | 453 | Pointer not checked for null before use : ctx.header_last_change | CERT EXP08-C,EXP34-C
| 425 |  |
M | 454 | Pointer not checked for null before use : (ctx)->mail.offset | CERT EXP08-C,EXP34-C
| 432 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_file_update_ext_modified (98 to 115 mbox-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 114 | User input not checked before use. : st | CERT FIO30-C
| 104 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_read_next_mail (129 to 170 mbox-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 140 | Pointer not checked for null before use : mail_ctx | CERT EXP08-C,EXP34-C
| 139 |  |
M | 142 | Pointer not checked for null before use : sync_ctx | CERT EXP08-C,EXP34-C
| 141 |  |
M | 149 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 146 |  |
M | 146 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 134 |  |
M | 156 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 149 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_read_index_rec (190 to 237 mbox-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 207 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 206 |  |
M | 235 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 223 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_find_index_md5 (239 to 270 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 269 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 266 |  |
M | 245 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 256 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync.c | 245 | mbox-sync.c | 256 | data

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_update_from_offset (272 to 293 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 277 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 282 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync.c | 277 | mbox-sync.c | 282 | data

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_update_index_keywords (295 to 309 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_update_md5_if_changed (311 to 325 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 315 | Procedure contains UR data flow anomalies. : ext_data | CERT EXP33-C
| 317 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync.c | 315 | mbox-sync.c | 317 | ext_data

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_get_dirty_flags (327 to 363 mbox-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 356 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 356 |  |
M | 356 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 356 |  |
M | 355 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 348 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_read_from_line (477 to 504 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync.c | 481 | mbox-sync.c | 488 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_rewrite_base_uid_last (506 to 556 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 547 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 546 |  |
M | 508 | Procedure contains UR data flow anomalies. : buf | CERT EXP33-C
| 519 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync.c | 508 | mbox-sync.c | 519 | buf

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_seek_to_seq (806 to 866 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 836 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 827 |  |
M | 864 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 816 |  |
M | 811 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 850 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync.c | 811 | mbox-sync.c | 850 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_seek_to_uid (868 to 901 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 872 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 878 |  |
M | 872 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 878 |  |
M | 873 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 881 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync.c | 872 | mbox-sync.c | 878 | seq1
mbox-sync.c | 872 | mbox-sync.c | 878 | seq2
mbox-sync.c | 873 | mbox-sync.c | 881 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_loop (1003 to 1198 mbox-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1032 | Pointer not checked for null before use : mail_ctx | CERT EXP08-C,EXP34-C
| 1153 |  |
M | 1077 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 1059 |  |
M | 1153 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1148 |  |
M | 1155 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1153 |  |
M | 1031 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1155 |  |
M | 1171 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1148 |  |
M | 1148 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1031 |  |
M | 1167 | Pointer not checked for null before use : sync_ctx.ext_modified | CERT EXP08-C,EXP34-C
| 1160 |  |
M | 1138 | Pointer not checked for null before use : mail_ctx.sync_ctx | CERT EXP08-C,EXP34-C
| 1031 |  |
M | 1153 | Pointer not checked for null before use : (mail_ctx)->mail.from_offset | CERT EXP08-C,EXP34-C
| 1134 |  |
M | 1134 | Pointer not checked for null before use : (mail_ctx)->mail.offset | CERT EXP08-C,EXP34-C
| 1031 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_write_pseudo (1200 to 1253 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_handle_eof_updates (1255 to 1376 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1258 | Procedure contains UR data flow anomalies. : file_size | CERT EXP33-C
| 1267 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync.c | 1258 | mbox-sync.c | 1267 | file_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_index_update_ext_header (1378 to 1401 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1387 | Sizeof argument is a pointer. | CERT EXP01-C
M | 1395 | Sizeof argument is a pointer. | CERT EXP01-C
M | 1397 | Sizeof argument is a pointer. | CERT EXP01-C
M | 1383 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 1393 |  |
M | 1384 | Procedure contains UR data flow anomalies. : data_size | CERT EXP33-C
| 1393 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync.c | 1383 | mbox-sync.c | 1393 | data
mbox-sync.c | 1384 | mbox-sync.c | 1393 | data_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_update_index_header (1403 to 1499 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1462 | Sizeof argument is a pointer. | CERT EXP01-C
M | 1471 | Sizeof argument is a pointer. | CERT EXP01-C
M | 1407 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 1484 |  |
M | 1407 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 1484 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync.c | 1407 | mbox-sync.c | 1484 | seq
mbox-sync.c | 1407 | mbox-sync.c | 1484 | seq2

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_do (1535 to 1626 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1605 | Pointer not checked for null before use : mail_ctx.header | CERT EXP08-C,EXP34-C
| 1583 |  |
M | 1605 | Pointer not checked for null before use : mail_ctx.sync_ctx | CERT EXP08-C,EXP34-C
| 1583 |  |
M | 1583 | Pointer not checked for null before use : sync_ctx.base_uid_validity | CERT EXP08-C,EXP34-C
| 1581 |  |
M | 1605 | Pointer not checked for null before use : sync_ctx.base_uid_validity | CERT EXP08-C,EXP34-C
| 1583 |  |
M | 1583 | Pointer not checked for null before use : sync_ctx.idx_next_uid | CERT EXP08-C,EXP34-C
| 1581 |  |
M | 1583 | Pointer not checked for null before use : sync_ctx.seq | CERT EXP08-C,EXP34-C
| 1581 |  |
M | 1583 | Pointer not checked for null before use : sync_ctx.idx_seq | CERT EXP08-C,EXP34-C
| 1581 |  |
M | 1605 | Pointer not checked for null before use : sync_ctx.dest_first_mail | CERT EXP08-C,EXP34-C
| 1583 |  |
M | 1583 | Pointer not checked for null before use : sync_ctx.ext_modified | CERT EXP08-C,EXP34-C
| 1581 |  |
M | 1605 | Pointer not checked for null before use : sync_ctx.ext_modified | CERT EXP08-C,EXP34-C
| 1583 |  |
M | 1605 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.body_offset | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.content_length | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.dirty | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.have_eoh | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.hdr_md5_sum | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.hdr_offset | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.hdr_pos | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.header | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.header_first_change | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.header_last_change | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.imapbase_rewrite | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.imapbase_updated | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.last_uid_updated_value | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.last_uid_value_start_pos | CERT EXP33-C
| 1605 |  |

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.mail.body_size | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.mail.expunged | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.mail.flags | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.mail.from_offset | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.mail.idx_seq | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.mail.keywords | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.mail.offset | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.mail.pseudo | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.mail.space | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.mail.uid | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.mail.uid_broken | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.need_rewrite | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.parsed_uid | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.recent | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.seen_imapbase | CERT EXP33-C
| 1605 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.seq | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.sync_ctx | CERT EXP33-C
| 1583 |  |
M | 1539 | Procedure contains UR data flow anomalies. : mail_ctx.updated | CERT EXP33-C
| 1605 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.body_offset
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.content_length
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.dirty
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.have_eoh
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.hdr_md5_sum
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.hdr_offset
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.hdr_pos
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.header
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.header_first_change
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.header_last_change
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.imapbase_rewrite
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.imapbase_updated
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.last_uid_updated_value
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.last_uid_value_start_pos
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.mail.body_size
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.mail.expunged
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.mail.flags
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.mail.from_offset
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.mail.idx_seq
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.mail.keywords
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.mail.offset
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.mail.pseudo
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.mail.space
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.mail.uid
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.mail.uid_broken
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.need_rewrite
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.parsed_uid
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.recent
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.seen_imapbase
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.seq
mbox-sync.c | 1539 | mbox-sync.c | 1583 | mail_ctx.sync_ctx
mbox-sync.c | 1539 | mbox-sync.c | 1605 | mail_ctx.updated

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_header_refresh (1628 to 1653 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1649 | Sizeof argument is a pointer. | CERT EXP01-C
M | 1649 | Sizeof argument is a pointer. | CERT EXP01-C
M | 1631 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 1639 |  |
M | 1632 | Procedure contains UR data flow anomalies. : data_size | CERT EXP33-C
| 1639 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync.c | 1631 | mbox-sync.c | 1639 | data
mbox-sync.c | 1632 | mbox-sync.c | 1639 | data_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_has_changed_full (1662 to 1710 mbox-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1688 | User input not checked before use. : statbuf | CERT FIO30-C
| 1680 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_sync_int (1724 to 1931 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1877 | Pointer not checked for null before use : sync_ctx.saved_keywords_pool | CERT EXP08-C,EXP34-C
| 1843 |  |
M | 1883 | Pointer not checked for null before use : sync_ctx.saved_keywords_pool | CERT EXP08-C,EXP34-C
| 1843 |  |
M | 1877 | Pointer not checked for null before use : sync_ctx.mail_keyword_pool | CERT EXP08-C,EXP34-C
| 1840 |  |
M | 1883 | Pointer not checked for null before use : sync_ctx.mail_keyword_pool | CERT EXP08-C,EXP34-C
| 1840 |  |
M | 1864 | Pointer not checked for null before use : sync_ctx.sync_changes | CERT EXP08-C,EXP34-C
| 1854 |  |
M | 1877 | Pointer not checked for null before use : sync_ctx.sync_changes | CERT EXP08-C,EXP34-C
| 1854 |  |
M | 1883 | Pointer not checked for null before use : sync_ctx.sync_changes | CERT EXP08-C,EXP34-C
| 1854 |  |
M | 1892 | Pointer not checked for null before use : sync_ctx.mails.v_modifiable | CERT EXP08-C,EXP34-C
| 1828 |  |
M | 1892 | Pointer not checked for null before use : sync_ctx.mails.v | CERT EXP08-C,EXP34-C
| 1828 |  |
M | 1892 | Pointer not checked for null before use : sync_ctx.mails.arr.buffer | CERT EXP08-C,EXP34-C
| 1828 |  |
M | 1877 | Pointer not checked for null before use : sync_ctx.from_line | CERT EXP08-C,EXP34-C
| 1834 |  |
M | 1883 | Pointer not checked for null before use : sync_ctx.from_line | CERT EXP08-C,EXP34-C
| 1834 |  |
M | 1877 | Pointer not checked for null before use : sync_ctx.header | CERT EXP08-C,EXP34-C
| 1835 |  |
M | 1883 | Pointer not checked for null before use : sync_ctx.header | CERT EXP08-C,EXP34-C
| 1835 |  |
M | 1892 | Pointer not checked for null before use : sync_ctx.header | CERT EXP08-C,EXP34-C
| 1835 |  |
M | 1892 | Pointer not checked for null before use : sync_ctx.hdr | CERT EXP08-C,EXP34-C
| 1833 |  |
M | 1892 | Pointer not checked for null before use : sync_ctx.t | CERT EXP08-C,EXP34-C
| 1839 |  |
M | 1892 | Pointer not checked for null before use : sync_ctx.sync_view | CERT EXP08-C,EXP34-C
| 1838 |  |
M | 1892 | Pointer not checked for null before use : sync_ctx.file_input | CERT EXP08-C,EXP34-C
| 1887 |  |
M | 1892 | Pointer not checked for null before use : sync_ctx.input | CERT EXP08-C,EXP34-C
| 1888 |  |
M | 1887 | Pointer not checked for null before use : sync_ctx.mbox | CERT EXP08-C,EXP34-C
| 1829 |  |
M | 1834 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1877 |  |
M | 1929 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1892 |  |
M | 1912 | User input not checked before use. : st | CERT FIO30-C
| 1909 |  |
M | 1727 | Procedure contains UR data flow anomalies. : index_sync_ctx | CERT EXP33-C
| 1801 |  |

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1868 | Procedure contains UR data flow anomalies. : sync_ctx.index_sync_ctx | CERT EXP33-C
| 1730 |  |
M | 1901 | Procedure contains UR data flow anomalies. : sync_ctx.index_sync_ctx | CERT EXP33-C
| 1730 |  |
M | 1728 | Procedure contains UR data flow anomalies. : sync_view | CERT EXP33-C
| 1801 |  |
M | 1729 | Procedure contains UR data flow anomalies. : trans | CERT EXP33-C
| 1801 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-sync.c | 1727 | mbox-sync.c | 1801 | index_sync_ctx
mbox-sync.c | 1868 | mbox-sync.c | 1869 | sync_ctx.index_sync_ctx
mbox-sync.c | 1901 | mbox-sync.c | 1929 | sync_ctx.index_sync_ctx
mbox-sync.c | 1728 | mbox-sync.c | 1801 | sync_view
mbox-sync.c | 1729 | mbox-sync.c | 1801 | trans

[ | Top of Report | | | Procedure Table | | | Contents | ]

mbox_storage_sync_init (1968 to 1995 mbox-sync.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_find_and_move_open_file (27 to 39 mdbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 35 | Pointer not checked for null before use : files | CERT EXP08-C,EXP34-C
| 33 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_files_free (41 to 50 mdbox-file.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_files_sync_input (52 to 62 mdbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 59 | Pointer not checked for null before use : files | CERT EXP08-C,EXP34-C
| 57 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_close_open_files (64 to 84 mdbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 72 | Pointer not checked for null before use : files | CERT EXP08-C,EXP34-C
| 70 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_file_init_paths (86 to 98 mdbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 88 | free parameter is not heap item. | CERT MEM34-C
M | 89 | free parameter is not heap item. | CERT MEM34-C
M | 89 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 88 |  |
M | 89 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 88 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 522) |  |
M | 97 | Pointer not checked for null before use : (file)->file.primary_path | CERT EXP08-C,EXP34-C
| 90 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_file_init_full (110 to 147 mdbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 132 | Pointer not checked for null before use : file | CERT EXP08-C,EXP34-C
| 131 |  |
M | 137 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 135 |  |
M | 140 | Pointer not checked for null before use : (file)->file.alt_path | CERT EXP08-C,EXP34-C
| 137 |  |
M | 131 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 127 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_file_assign_file_id (161 to 184 mdbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 174 | Pointer not checked for null before use : new_path | CERT EXP08-C,EXP34-C
| 173 |  |
M | 174 | Pointer not checked for null before use : old_path | CERT EXP08-C,EXP34-C
| 169 |  |
M | 173 | Pointer not checked for null before use : new_dir | CERT EXP08-C,EXP34-C
| 171 |  |
M | 173 | Pointer not checked for null before use : new_fname | CERT EXP08-C,EXP34-C
| 170 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_find_oldest_unused_file (186 to 205 mdbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 204 | Local structure returned in function result : oldest_file |
M | 196 | Pointer not checked for null before use : files | CERT EXP08-C,EXP34-C
| 193 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_file_create_fd (265 to 311 mdbox-file.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 279 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 278 |  |
M | 270 | Procedure contains UR data flow anomalies. : p | CERT EXP33-C
| 278 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-file.c | 270 | mdbox-file.c | 278 | p

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_mail_lookup (17 to 58 mdbox-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 24 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 26 |  |
M | 21 | Procedure contains UR data flow anomalies. : hdr.map_uid_validity | CERT EXP33-C
| 42 |  |
M | 23 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 29 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-mail.c | 24 | mdbox-mail.c | 26 | expunged
mdbox-mail.c | 21 | mdbox-mail.c | 42 | hdr.map_uid_validity
mdbox-mail.c | 23 | mdbox-mail.c | 29 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_mail_open_init (77 to 98 mdbox-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 81 | Procedure contains UR data flow anomalies. : file_id | CERT EXP33-C
| 84 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-mail.c | 81 | mdbox-mail.c | 84 | file_id

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_mail_get_save_date (155 to 173 mdbox-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 161 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 163 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-mail.c | 161 | mdbox-mail.c | 163 | expunged

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_init (49 to 78 mdbox-map.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 77 | Local structure returned in function result : map |
M | 56 | Pointer not checked for null before use : map | CERT EXP08-C,EXP34-C
| 55 |  |
M | 55 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 524) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_deinit (80 to 93 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_refresh (181 to 209 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 184 | Procedure contains UR data flow anomalies. : delayed_expunges | CERT EXP33-C
| 203 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 184 | mdbox-map.c | 203 | delayed_expunges

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_get_ext_hdr (211 to 221 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 215 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 218 |  |
M | 216 | Procedure contains UR data flow anomalies. : data_size | CERT EXP33-C
| 218 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 215 | mdbox-map.c | 218 | data
mdbox-map.c | 216 | mdbox-map.c | 218 | data_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_get_rebuild_count (223 to 229 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 228 | Local structure returned in function result : hdr |
M | 225 | Procedure contains UR data flow anomalies. : hdr.highest_file_id | CERT EXP33-C
| 227 |  |
M | 225 | Procedure contains UR data flow anomalies. : hdr.rebuild_count | CERT EXP33-C
| 227 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 225 | mdbox-map.c | 227 | hdr.highest_file_id
mdbox-map.c | 225 | mdbox-map.c | 227 | hdr.rebuild_count

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_lookup_seq (231 to 251 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 236 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 240 |  |
M | 238 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 240 |  |
M | 237 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 245 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 236 | mdbox-map.c | 240 | data
mdbox-map.c | 238 | mdbox-map.c | 240 | expunged
mdbox-map.c | 237 | mdbox-map.c | 245 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_lookup (266 to 284 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 270 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 276 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 270 | mdbox-map.c | 276 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_lookup_full (286 to 316 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 314 | Pointer not checked for null before use : ref16_p | CERT EXP08-C,EXP34-C
| 313 |  |
M | 292 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 307 |  |
M | 294 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 307 |  |
M | 290 | Procedure contains UR data flow anomalies. : rec | CERT EXP33-C
| 303 |  |
M | 293 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 300 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 292 | mdbox-map.c | 307 | data
mdbox-map.c | 294 | mdbox-map.c | 307 | expunged
mdbox-map.c | 290 | mdbox-map.c | 303 | rec
mdbox-map.c | 293 | mdbox-map.c | 300 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_view_lookup_rec (318 to 344 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 334 | Sizeof argument is a pointer. | CERT EXP01-C
M | 327 | Pointer not checked for null before use : rec_r | CERT EXP08-C,EXP34-C
| 326 |  |
M | 342 | Pointer not checked for null before use : ref16_p | CERT EXP08-C,EXP34-C
| 341 |  |
M | 323 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 329 |  |
M | 324 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 329 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 323 | mdbox-map.c | 329 | data
mdbox-map.c | 324 | mdbox-map.c | 329 | expunged

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_get_file_msgs (346 to 371 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 359 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 356 |  |
M | 350 | Procedure contains UR data flow anomalies. : rec.map_uid | CERT EXP33-C
| 360 |  |
M | 350 | Procedure contains UR data flow anomalies. : rec.rec.file_id | CERT EXP33-C
| 363 |  |
M | 350 | Procedure contains UR data flow anomalies. : rec.rec.offset | CERT EXP33-C
| 365 |  |
M | 350 | Procedure contains UR data flow anomalies. : rec.refcount | CERT EXP33-C
| 366 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 350 | mdbox-map.c | 360 | rec.map_uid
mdbox-map.c | 350 | mdbox-map.c | 363 | rec.rec.file_id
mdbox-map.c | 350 | mdbox-map.c | 365 | rec.rec.offset
mdbox-map.c | 350 | mdbox-map.c | 366 | rec.refcount

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_get_zero_ref_files (373 to 409 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 405 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 404 |  |
M | 392 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 391 |  |
M | 381 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 393 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 381 | mdbox-map.c | 393 | expunged

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_transaction_begin (411 to 427 mdbox-map.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 426 | Local structure returned in function result : ctx |
M | 422 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 421 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_sync_handle (429 to 447 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 435 | Procedure contains UR data flow anomalies. : offset1 | CERT EXP33-C
| 437 |  |
M | 435 | Procedure contains UR data flow anomalies. : offset2 | CERT EXP33-C
| 437 |  |
M | 434 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 437 |  |
M | 434 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 437 |  |
M | 433 | Procedure contains UR data flow anomalies. : sync_rec | CERT EXP33-C
| 445 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 435 | mdbox-map.c | 437 | offset1
mdbox-map.c | 435 | mdbox-map.c | 437 | offset2
mdbox-map.c | 434 | mdbox-map.c | 437 | seq1
mdbox-map.c | 434 | mdbox-map.c | 437 | seq2
mdbox-map.c | 433 | mdbox-map.c | 445 | sync_rec

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_transaction_commit (449 to 479 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 451 | Attempt to use already freed object. | CERT MEM31-C
M | 461 | Attempt to use already freed object. | CERT MEM31-C
M | 466 | Attempt to use already freed object. | CERT MEM31-C
M | 470 | Attempt to use already freed object. | CERT MEM31-C
M | 474 | Attempt to use already freed object. | CERT MEM31-C
M | 463 | Procedure contains UR data flow anomalies. : file_appends | CERT EXP33-C
| 1216 |  |
M | 453 | Procedure contains UR data flow anomalies. : sync_trans | CERT EXP33-C
| 461 |  |
M | 452 | Procedure contains UR data flow anomalies. : view | CERT EXP33-C
| 461 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 453 | mdbox-map.c | 461 | sync_trans
mdbox-map.c | 452 | mdbox-map.c | 461 | view

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_transaction_free (486 to 503 mdbox-map.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 489 | Attempt to use already freed object. | CERT MEM31-C
M | 495 | Attempt to use already freed object. | CERT MEM31-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_update_refcount (505 to 545 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 508 | Attempt to use already freed object. | CERT MEM31-C
M | 517 | Attempt to use already freed object. | CERT MEM31-C
M | 520 | Attempt to use already freed object. | CERT MEM31-C
M | 524 | Attempt to use already freed object. | CERT MEM31-C
M | 528 | Attempt to use already freed object. | CERT MEM31-C
M | 531 | Attempt to use already freed object. | CERT MEM31-C
M | 509 | Procedure contains UR data flow anomalies. : append.(file)->storage | CERT EXP33-C
M | 509 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 524 |  |
M | 511 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 524 |  |
M | 509 | Procedure contains UR data flow anomalies. : file_appends.(file)->storage | CERT EXP33-C
M | 510 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 517 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 509 | mdbox-map.c | 524 | data
mdbox-map.c | 511 | mdbox-map.c | 524 | expunged
mdbox-map.c | 510 | mdbox-map.c | 517 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_remove_file_id (565 to 601 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 592 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 591 |  |
M | 599 | Pointer not checked for null before use : map_trans | CERT EXP08-C,EXP34-C
| 579 |  |
M | 593 | Pointer not checked for null before use : map_trans | CERT EXP08-C,EXP34-C
| 579 |  |
M | 582 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 581 |  |
M | 570 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 583 |  |
M | 571 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 583 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 570 | mdbox-map.c | 583 | data
mdbox-map.c | 571 | mdbox-map.c | 583 | expunged

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_append_begin (603 to 623 mdbox-map.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 622 | Local structure returned in function result : ctx |
M | 609 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 608 |  |
M | 608 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 524) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_file_try_append (682 to 734 mdbox-map.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 718 | Pointer not checked for null before use : file_append | CERT EXP08-C,EXP34-C
| 717 |  |
M | 717 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 701 |  |
M | 697 | Procedure contains UR data flow anomalies. : file_append_r | CERT EXP33-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_is_appending (736 to 753 mdbox-map.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 747 | Pointer not checked for null before use : file_appends | CERT EXP08-C,EXP34-C
| 744 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_find_existing_append (755 to 791 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 780 | Local structure returned in function result : append |
M | 786 | Pointer not checked for null before use : mfile | CERT EXP08-C,EXP34-C
| 785 |  |
M | 772 | Pointer not checked for null before use : file_appends | CERT EXP08-C,EXP34-C
| 770 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 509 | mdbox-map.c | 786 | append.(file)->storage

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_find_first_alt (793 to 854 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 843 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 842 |  |
M | 803 | Procedure contains UR data flow anomalies. : file_id | CERT EXP33-C
| 821 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 803 | mdbox-map.c | 821 | file_id

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_find_appendable_file (856 to 935 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 875 | Attempt to use already freed object. | CERT MEM31-C
M | 876 | Attempt to use already freed object. | CERT MEM31-C
M | 892 | Attempt to use already freed object. | CERT MEM31-C
M | 916 | Attempt to use already freed object. | CERT MEM31-C
M | 929 | Attempt to use already freed object. | CERT MEM31-C
M | 882 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 876 |  |
M | 863 | Procedure contains UR data flow anomalies. : checked_file_ids.arr.buffer | CERT EXP33-C
| 887 |  |
M | 863 | Procedure contains UR data flow anomalies. : checked_file_ids.arr.element_size | CERT EXP33-C
| 887 |  |
M | 863 | Procedure contains UR data flow anomalies. : checked_file_ids.v | CERT EXP33-C
| 887 |  |
M | 863 | Procedure contains UR data flow anomalies. : checked_file_ids.v_modifiable | CERT EXP33-C
| 887 |  |
M | 867 | Procedure contains UR data flow anomalies. : min_file_id | CERT EXP33-C
| 887 |  |
M | 867 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 891 |  |
M | 867 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 929 |  |
M | 867 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 916 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 863 | mdbox-map.c | 887 | checked_file_ids.arr.buffer
mdbox-map.c | 863 | mdbox-map.c | 887 | checked_file_ids.arr.element_size
mdbox-map.c | 863 | mdbox-map.c | 887 | checked_file_ids.v
mdbox-map.c | 863 | mdbox-map.c | 887 | checked_file_ids.v_modifiable
mdbox-map.c | 697 | mdbox-map.c | 925 | file_append_r
mdbox-map.c | 867 | mdbox-map.c | 887 | min_file_id
mdbox-map.c | 867 | mdbox-map.c | 891 | seq
mdbox-map.c | 867 | mdbox-map.c | 929 | seq1
mdbox-map.c | 867 | mdbox-map.c | 916 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_append_next (937 to 994 mdbox-map.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 970 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 969 |  |
M | 973 | Pointer not checked for null before use : file_append | CERT EXP08-C,EXP34-C
| 971 |  |
M | 983 | Pointer not checked for null before use : append | CERT EXP08-C,EXP34-C
| 982 |  |
M | 984 | Pointer not checked for null before use : output_r | CERT EXP08-C,EXP34-C
| 958 |  |
M | 971 | Pointer not checked for null before use : file | CERT EXP08-C,EXP34-C
| 968 |  |
M | 990 | Pointer not checked for null before use : file | CERT EXP08-C,EXP34-C
| 963 |  |
M | 971 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 970 |  |
M | 969 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 958 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_append_finish (996 to 1007 mdbox-map.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1004 | Pointer not checked for null before use : appends | CERT EXP08-C,EXP34-C
| 1002 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_assign_file_ids (1009 to 1071 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1038 | Pointer not checked for null before use : file_appends | CERT EXP08-C,EXP34-C
| 1035 |  |
M | 1014 | Procedure contains UR data flow anomalies. : hdr.highest_file_id | CERT EXP33-C
| 1030 |  |
M | 1014 | Procedure contains UR data flow anomalies. : hdr.rebuild_count | CERT EXP33-C
| 1030 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 509 | mdbox-map.c | 1040 | file_appends.(file)->storage
mdbox-map.c | 1014 | mdbox-map.c | 1030 | hdr.highest_file_id
mdbox-map.c | 1014 | mdbox-map.c | 1030 | hdr.rebuild_count

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_append_assign_map_uids (1073 to 1142 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1121 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 1119 |  |
M | 1102 | Pointer not checked for null before use : appends | CERT EXP08-C,EXP34-C
| 1099 |  |
M | 1083 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 1111 |  |
M | 1081 | Procedure contains UR data flow anomalies. : uids.arr.buffer | CERT EXP33-C
| 1121 |  |
M | 1081 | Procedure contains UR data flow anomalies. : uids.arr.element_size | CERT EXP33-C
| 1121 |  |
M | 1081 | Procedure contains UR data flow anomalies. : uids.v | CERT EXP33-C
| 1121 |  |
M | 1081 | Procedure contains UR data flow anomalies. : uids.v_modifiable | CERT EXP33-C
| 1121 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 1083 | mdbox-map.c | 1111 | seq
mdbox-map.c | 1081 | mdbox-map.c | 1121 | uids.arr.buffer
mdbox-map.c | 1081 | mdbox-map.c | 1121 | uids.arr.element_size
mdbox-map.c | 1081 | mdbox-map.c | 1121 | uids.v
mdbox-map.c | 1081 | mdbox-map.c | 1121 | uids.v_modifiable

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_append_move (1144 to 1185 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1164 | Pointer not checked for null before use : appends | CERT EXP08-C,EXP34-C
| 1159 |  |
M | 1172 | Pointer not checked for null before use : uids | CERT EXP08-C,EXP34-C
| 1161 |  |
M | 1152 | Procedure contains UR data flow anomalies. : appends_count | CERT EXP33-C
| 1166 |  |
M | 1150 | Procedure contains UR data flow anomalies. : iter.array | CERT EXP33-C
| 1178 |  |
M | 1150 | Procedure contains UR data flow anomalies. : iter.prev_idx | CERT EXP33-C
| 1178 |  |
M | 1150 | Procedure contains UR data flow anomalies. : iter.prev_n | CERT EXP33-C
| 1178 |  |
M | 1152 | Procedure contains UR data flow anomalies. : map_uids_count | CERT EXP33-C
| 1162 |  |
M | 1153 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 1172 |  |
M | 1153 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 1179 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 1152 | mdbox-map.c | 1166 | appends_count
mdbox-map.c | 1150 | mdbox-map.c | 1178 | iter.array
mdbox-map.c | 1150 | mdbox-map.c | 1178 | iter.prev_idx
mdbox-map.c | 1150 | mdbox-map.c | 1178 | iter.prev_n
mdbox-map.c | 1152 | mdbox-map.c | 1162 | map_uids_count
mdbox-map.c | 1153 | mdbox-map.c | 1172 | seq
mdbox-map.c | 1153 | mdbox-map.c | 1179 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_append_commit (1187 to 1211 mdbox-map.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1204 | Attempt to use already freed object. | CERT MEM31-C
M | 1197 | Pointer not checked for null before use : file_appends | CERT EXP08-C,EXP34-C
| 1195 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_append_free (1213 to 1243 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1235 | Pointer not checked for null before use : files | CERT EXP08-C,EXP34-C
| 1233 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 463 | mdbox-map.c | 1229 | file_appends

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_map_generate_uid_validity (1245 to 1273 mdbox-map.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1264 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 1263 |  |
M | 1248 | Procedure contains UR data flow anomalies. : sync_ctx | CERT EXP33-C
| 1256 |  |
M | 1250 | Procedure contains UR data flow anomalies. : trans | CERT EXP33-C
| 1256 |  |
M | 1249 | Procedure contains UR data flow anomalies. : view | CERT EXP33-C
| 1256 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-map.c | 1248 | mdbox-map.c | 1256 | sync_ctx
mdbox-map.c | 1250 | mdbox-map.c | 1256 | trans
mdbox-map.c | 1249 | mdbox-map.c | 1256 | view

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_file_copy_metadata (64 to 112 mdbox-purge.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 69 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 73 |  |
M | 70 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 73 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-purge.c | 69 | mdbox-purge.c | 73 | data
mdbox-purge.c | 70 | mdbox-purge.c | 73 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_purge_save_msg (131 to 181 mdbox-purge.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 156 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 155 |  |
M | 153 | Pointer not checked for null before use : out_file_append | CERT EXP08-C,EXP34-C
| 149 |  |
M | 156 | Pointer not checked for null before use : output | CERT EXP08-C,EXP34-C
| 149 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_file_purge (183 to 295 mdbox-purge.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 229 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 248 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 217 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 213 |  |
M | 281 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 279 |  |
M | 279 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 255 |  |
M | 289 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 281 |  |
M | 259 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 226 |  |
M | 259 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 226 |  |
M | 190 | Procedure contains UR data flow anomalies. : expunged_map_uids.arr.buffer | CERT EXP33-C
| 250 |  |
M | 190 | Procedure contains UR data flow anomalies. : expunged_map_uids.arr.element_size | CERT EXP33-C
| 250 |  |
M | 190 | Procedure contains UR data flow anomalies. : expunged_map_uids.v | CERT EXP33-C
| 250 |  |
M | 190 | Procedure contains UR data flow anomalies. : expunged_map_uids.v_modifiable | CERT EXP33-C
| 250 |  |
M | 188 | Procedure contains UR data flow anomalies. : msgs_arr.arr.buffer | CERT EXP33-C
| 224 |  |
M | 188 | Procedure contains UR data flow anomalies. : msgs_arr.arr.element_size | CERT EXP33-C
| 224 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-purge.c | 190 | mdbox-purge.c | 250 | expunged_map_uids.arr.buffer
mdbox-purge.c | 190 | mdbox-purge.c | 250 | expunged_map_uids.arr.element_size
mdbox-purge.c | 190 | mdbox-purge.c | 250 | expunged_map_uids.v
mdbox-purge.c | 190 | mdbox-purge.c | 250 | expunged_map_uids.v_modifiable
mdbox-purge.c | 188 | mdbox-purge.c | 224 | msgs_arr.arr.buffer
mdbox-purge.c | 188 | mdbox-purge.c | 224 | msgs_arr.arr.element_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_purge_alt_flag_change (297 to 320 mdbox-purge.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 317 | Pointer not checked for null before use : dest | CERT EXP08-C,EXP34-C
| 314 |  |
M | 301 | Procedure contains UR data flow anomalies. : map_uid | CERT EXP33-C
| 319 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-purge.c | 301 | mdbox-purge.c | 319 | map_uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_purge_alloc (322 to 337 mdbox-purge.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 336 | Local structure returned in function result : ctx |
M | 329 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 328 |  |
M | 330 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 329 |  |
M | 335 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 525) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_purge_get_primary_files (351 to 412 mdbox-purge.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 380 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 379 |  |
M | 399 | Pointer not checked for null before use : range | CERT EXP08-C,EXP34-C
| 397 |  |
M | 358 | Procedure contains UR data flow anomalies. : file_id | CERT EXP33-C
| 388 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-purge.c | 358 | mdbox-purge.c | 388 | file_id

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_altmove_add_files (423 to 498 mdbox-purge.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 428 | Procedure contains UR data flow anomalies. : cur_rec.file_id | CERT EXP33-C
| 457 |  |
M | 439 | Procedure contains UR data flow anomalies. : map_uids | CERT EXP33-C
| 426 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-purge.c | 428 | mdbox-purge.c | 457 | cur_rec.file_id
mdbox-purge.c | 439 | mdbox-purge.c | 444 | map_uids

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_purge (500 to 543 mdbox-purge.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 512 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 511 |  |
M | 531 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 526 |  |
M | 526 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 531 |  |
M | 528 | Pointer not checked for null before use : ctx.have_altmoves | CERT EXP08-C,EXP34-C
| 518 |  |
M | 507 | Procedure contains UR data flow anomalies. : file_id | CERT EXP33-C
| 525 |  |
M | 505 | Procedure contains UR data flow anomalies. : iter.prev_idx | CERT EXP33-C
| 523 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-purge.c | 507 | mdbox-purge.c | 525 | file_id
mdbox-purge.c | 505 | mdbox-purge.c | 523 | iter.prev_idx

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_copy_file_get_file (44 to 64 mdbox-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 52 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 55 |  |
M | 53 | Procedure contains UR data flow anomalies. : file_id | CERT EXP33-C
| 63 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-save.c | 52 | mdbox-save.c | 55 | expunged
mdbox-save.c | 53 | mdbox-save.c | 63 | file_id

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_save_file_get_file (66 to 94 mdbox-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 79 | Pointer not checked for null before use : mails | CERT EXP08-C,EXP34-C
| 75 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_save_alloc (96 to 120 mdbox-save.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_save_begin (122 to 156 mdbox-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 137 | Pointer not checked for null before use : st | CERT EXP08-C,EXP34-C
| 136 |  |
M | 152 | Pointer not checked for null before use : save_mail | CERT EXP08-C,EXP34-C
| 151 |  |
M | 126 | Procedure contains UR data flow anomalies. : mail_size | CERT EXP33-C
| 129 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-save.c | 126 | mdbox-save.c | 129 | mail_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_save_mail_write_metadata (158 to 185 mdbox-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 164 | Procedure contains UR data flow anomalies. : guid_128 | CERT EXP33-C
| 171 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-save.c | 164 | mdbox-save.c | 171 | guid_128

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_save_finish_write (187 to 220 mdbox-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 208 | Pointer not checked for null before use : mail | CERT EXP08-C,EXP34-C
| 200 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_transaction_save_commit_pre (239 to 307 mdbox-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 269 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 267 |  |
M | 262 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 260 |  |
M | 293 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 260 |  |
M | 285 | Pointer not checked for null before use : mails | CERT EXP08-C,EXP34-C
| 282 |  |
M | 245 | Procedure contains UR data flow anomalies. : first_map_uid | CERT EXP33-C
| 272 |  |
M | 245 | Procedure contains UR data flow anomalies. : last_map_uid | CERT EXP33-C
| 288 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-save.c | 245 | mdbox-save.c | 272 | first_map_uid
mdbox-save.c | 245 | mdbox-save.c | 288 | last_map_uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_transaction_save_commit_post (309 to 338 mdbox-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 337 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 328 |  |
M | 328 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 326 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_transaction_save_rollback (340 to 360 mdbox-save.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_copy (362 to 408 mdbox-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 401 | Pointer not checked for null before use : save_mail | CERT EXP08-C,EXP34-C
| 400 |  |
M | 368 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 393 |  |
M | 369 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 393 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-save.c | 368 | mdbox-save.c | 393 | data
mdbox-save.c | 369 | mdbox-save.c | 393 | expunged

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_storage_rebuild_init (81 to 98 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 97 | Local structure returned in function result : ctx |
M | 89 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 88 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

rebuild_file_mails (147 to 219 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 180 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 198 | Pointer not checked for null before use : rec | CERT EXP08-C,EXP34-C
| 197 |  |
M | 153 | Procedure contains UR data flow anomalies. : last | CERT EXP33-C
| 215 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage-rebuild.c | 153 | mdbox-storage-rebuild.c | 215 | last

[ | Top of Report | | | Procedure Table | | | Contents | ]

rebuild_rename_file (221 to 244 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 233 | Pointer not checked for null before use : new_path | CERT EXP08-C,EXP34-C
| 229 |  |
M | 233 | Pointer not checked for null before use : old_path | CERT EXP08-C,EXP34-C
| 227 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

rebuild_add_file (246 to 288 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 256 | Pointer not checked for null before use : id_str | CERT EXP08-C,EXP34-C
| 255 |  |
M | 285 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 276 |  |
M | 283 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 281 |  |
M | 250 | Procedure contains UR data flow anomalies. : file_id | CERT EXP33-C
| 256 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage-rebuild.c | 250 | mdbox-storage-rebuild.c | 256 | file_id

[ | Top of Report | | | Procedure Table | | | Contents | ]

rebuild_add_missing_map_uids (290 to 315 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 302 | Pointer not checked for null before use : msgs | CERT EXP08-C,EXP34-C
| 300 |  |
M | 297 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 310 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage-rebuild.c | 297 | mdbox-storage-rebuild.c | 310 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

rebuild_apply_map (317 to 358 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 331 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 330 |  |
M | 340 | Pointer not checked for null before use : msgs | CERT EXP08-C,EXP34-C
| 329 |  |
M | 323 | Procedure contains UR data flow anomalies. : rec.map_uid | CERT EXP33-C
| 347 |  |
M | 323 | Procedure contains UR data flow anomalies. : rec.rec.file_id | CERT EXP33-C
| 337 |  |
M | 323 | Procedure contains UR data flow anomalies. : rec.rec.offset | CERT EXP33-C
| 338 |  |
M | 323 | Procedure contains UR data flow anomalies. : rec.rec.size | CERT EXP33-C
| 339 |  |
M | 323 | Procedure contains UR data flow anomalies. : rec.refcount | CERT EXP33-C
| 348 |  |
M | 322 | Procedure contains UR data flow anomalies. : search_msg.guid_128 | CERT EXP33-C
| 340 |  |
M | 322 | Procedure contains UR data flow anomalies. : search_msg.map_uid | CERT EXP33-C
| 340 |  |
M | 322 | Procedure contains UR data flow anomalies. : search_msg.refcount | CERT EXP33-C
| 340 |  |
M | 322 | Procedure contains UR data flow anomalies. : search_msg.seen_zero_ref_in_map | CERT EXP33-C
| 340 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage-rebuild.c | 323 | mdbox-storage-rebuild.c | 347 | rec.map_uid
mdbox-storage-rebuild.c | 323 | mdbox-storage-rebuild.c | 337 | rec.rec.file_id
mdbox-storage-rebuild.c | 323 | mdbox-storage-rebuild.c | 338 | rec.rec.offset
mdbox-storage-rebuild.c | 323 | mdbox-storage-rebuild.c | 339 | rec.rec.size
mdbox-storage-rebuild.c | 323 | mdbox-storage-rebuild.c | 348 | rec.refcount
mdbox-storage-rebuild.c | 322 | mdbox-storage-rebuild.c | 340 | search_msg.guid_128
mdbox-storage-rebuild.c | 322 | mdbox-storage-rebuild.c | 340 | search_msg.map_uid
mdbox-storage-rebuild.c | 322 | mdbox-storage-rebuild.c | 340 | search_msg.refcount
mdbox-storage-rebuild.c | 322 | mdbox-storage-rebuild.c | 340 | search_msg.seen_zero_ref_in_map

[ | Top of Report | | | Procedure Table | | | Contents | ]

rebuild_mailbox_multi (373 to 443 mdbox-storage-rebuild.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 : dbox_rec | CERT EXP08-C,EXP34-C
| 393 |  |
M | 390 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 389 |  |
M | 385 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 391 |  |
M | 386 | Procedure contains UR data flow anomalies. : new_seq | CERT EXP33-C
| 432 |  |
M | 386 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 431 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage-rebuild.c | 385 | mdbox-storage-rebuild.c | 391 | expunged
mdbox-storage-rebuild.c | 386 | mdbox-storage-rebuild.c | 432 | new_seq
mdbox-storage-rebuild.c | 386 | mdbox-storage-rebuild.c | 431 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_rebuild_get_header (445 to 455 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 449 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 452 |  |
M | 450 | Procedure contains UR data flow anomalies. : data_size | CERT EXP33-C
| 452 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage-rebuild.c | 449 | mdbox-storage-rebuild.c | 452 | data
mdbox-storage-rebuild.c | 450 | mdbox-storage-rebuild.c | 452 | data_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_header_update (457 to 486 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 460 | Procedure contains UR data flow anomalies. : backup_hdr.mailbox_guid | CERT EXP33-C
| 466 |  |
M | 460 | Procedure contains UR data flow anomalies. : backup_hdr.map_uid_validity | CERT EXP33-C
| 466 |  |
M | 460 | Procedure contains UR data flow anomalies. : hdr.mailbox_guid | CERT EXP33-C
| 462 |  |
M | 460 | Procedure contains UR data flow anomalies. : hdr.map_uid_validity | CERT EXP33-C
| 462 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage-rebuild.c | 460 | mdbox-storage-rebuild.c | 466 | backup_hdr.mailbox_guid
mdbox-storage-rebuild.c | 460 | mdbox-storage-rebuild.c | 466 | backup_hdr.map_uid_validity
mdbox-storage-rebuild.c | 460 | mdbox-storage-rebuild.c | 462 | hdr.mailbox_guid
mdbox-storage-rebuild.c | 460 | mdbox-storage-rebuild.c | 462 | hdr.map_uid_validity

[ | Top of Report | | | Procedure Table | | | Contents | ]

rebuild_mailbox (488 to 538 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 503 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 502 |  |
M | 506 | Pointer not checked for null before use : box | CERT EXP08-C,EXP34-C
| 503 |  |
M | 527 | Pointer not checked for null before use : rebuild_ctx | CERT EXP08-C,EXP34-C
| 526 |  |
M | 526 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 515 |  |
M | 498 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 508 |  |
M | 494 | Procedure contains UR data flow anomalies. : sync_ctx | CERT EXP33-C
| 517 |  |
M | 496 | Procedure contains UR data flow anomalies. : trans | CERT EXP33-C
| 517 |  |
M | 495 | Procedure contains UR data flow anomalies. : view | CERT EXP33-C
| 517 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage-rebuild.c | 498 | mdbox-storage-rebuild.c | 508 | error
mdbox-storage-rebuild.c | 494 | mdbox-storage-rebuild.c | 517 | sync_ctx
mdbox-storage-rebuild.c | 496 | mdbox-storage-rebuild.c | 517 | trans
mdbox-storage-rebuild.c | 495 | mdbox-storage-rebuild.c | 517 | view

[ | Top of Report | | | Procedure Table | | | Contents | ]

rebuild_restore_msg (598 to 707 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 616 | Pointer not checked for null before use : file | CERT EXP08-C,EXP34-C
| 615 |  |
M | 618 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 646 | Pointer not checked for null before use : box | CERT EXP08-C,EXP34-C
| 642 |  |
M | 692 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 691 |  |
M | 700 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 672 |  |
M | 608 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 650 |  |
M | 611 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 699 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage-rebuild.c | 608 | mdbox-storage-rebuild.c | 650 | error
mdbox-storage-rebuild.c | 611 | mdbox-storage-rebuild.c | 699 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

rebuild_handle_zero_refs (709 to 737 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 719 | Pointer not checked for null before use : msgs | CERT EXP08-C,EXP34-C
| 717 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

rebuild_update_refcounts (739 to 778 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 752 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 751 |  |
M | 754 | Pointer not checked for null before use : msgs | CERT EXP08-C,EXP34-C
| 750 |  |
M | 742 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 760 |  |
M | 745 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 760 |  |
M | 746 | Procedure contains UR data flow anomalies. : map_uid | CERT EXP33-C
| 753 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage-rebuild.c | 742 | mdbox-storage-rebuild.c | 760 | data
mdbox-storage-rebuild.c | 745 | mdbox-storage-rebuild.c | 760 | expunged
mdbox-storage-rebuild.c | 746 | mdbox-storage-rebuild.c | 753 | map_uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_storage_rebuild_scan (836 to 889 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 859 | Sizeof argument is a pointer. | CERT EXP01-C
M | 861 | Sizeof argument is a pointer. | CERT EXP01-C
M | 861 | Sizeof argument is a pointer. | CERT EXP01-C
M | 885 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 884 |  |
M | 878 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 874 |  |
M | 884 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 874 |  |
M | 838 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 857 |  |
M | 839 | Procedure contains UR data flow anomalies. : data_size | CERT EXP33-C
| 857 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage-rebuild.c | 838 | mdbox-storage-rebuild.c | 857 | data
mdbox-storage-rebuild.c | 839 | mdbox-storage-rebuild.c | 857 | data_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_storage_rebuild (891 to 917 mdbox-storage-rebuild.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 909 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 908 |  |
M | 910 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 909 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_storage_alloc (24 to 35 mdbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 30 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 29 |  |
M | 31 | Pointer not checked for null before use : storage | CERT EXP08-C,EXP34-C
| 30 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_storage_create (37 to 64 mdbox-storage.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_storage_destroy (66 to 80 mdbox-storage.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_mailbox_alloc (82 to 126 mdbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 94 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 93 |  |
M | 95 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 94 |  |
M | 108 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 107 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_read_header (138 to 157 mdbox-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 141 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 144 |  |
M | 142 | Procedure contains UR data flow anomalies. : data_size | CERT EXP33-C
| 144 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage.c | 141 | mdbox-storage.c | 144 | data
mdbox-storage.c | 142 | mdbox-storage.c | 144 | data_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_update_header (159 to 183 mdbox-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 163 | Procedure contains UR data flow anomalies. : hdr.mailbox_guid | CERT EXP33-C
| 165 |  |
M | 163 | Procedure contains UR data flow anomalies. : hdr.map_uid_validity | CERT EXP33-C
| 165 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage.c | 163 | mdbox-storage.c | 165 | hdr.mailbox_guid
mdbox-storage.c | 163 | mdbox-storage.c | 165 | hdr.map_uid_validity

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_write_index_header (185 to 241 mdbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 199 | Pointer not checked for null before use : new_trans | CERT EXP08-C,EXP34-C
| 198 |  |
M | 203 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 202 |  |
M | 216 | Pointer not checked for null before use : trans | CERT EXP08-C,EXP34-C
| 199 |  |
M | 229 | Pointer not checked for null before use : trans | CERT EXP08-C,EXP34-C
| 199 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_mailbox_get_guid (280 to 297 mdbox-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 291 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 284 | Procedure contains UR data flow anomalies. : hdr.mailbox_guid | CERT EXP33-C
| 286 |  |
M | 284 | Procedure contains UR data flow anomalies. : hdr.map_uid_validity | CERT EXP33-C
| 286 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage.c | 284 | mdbox-storage.c | 286 | hdr.mailbox_guid
mdbox-storage.c | 284 | mdbox-storage.c | 286 | hdr.map_uid_validity

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_mailbox_update (299 to 309 mdbox-storage.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_mailbox_unref_mails (311 to 337 mdbox-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 335 | Pointer not checked for null before use : map_trans | CERT EXP08-C,EXP34-C
| 318 |  |
M | 327 | Pointer not checked for null before use : map_trans | CERT EXP08-C,EXP34-C
| 318 |  |
M | 320 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 319 |  |
M | 315 | Procedure contains UR data flow anomalies. : map_uid | CERT EXP33-C
| 327 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-storage.c | 315 | mdbox-storage.c | 327 | map_uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_sync_verify_expunge_guid (28 to 49 mdbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 32 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 36 |  |
M | 33 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 35 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-sync.c | 32 | mdbox-sync.c | 36 | data
mdbox-sync.c | 33 | mdbox-sync.c | 35 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_sync_expunge (51 to 68 mdbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 54 | Procedure contains UR data flow anomalies. : map_uid | CERT EXP33-C
| 65 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-sync.c | 54 | mdbox-sync.c | 65 | map_uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_sync_rec (70 to 92 mdbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 73 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 80 |  |
M | 73 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 80 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-sync.c | 73 | mdbox-sync.c | 80 | seq1
mdbox-sync.c | 73 | mdbox-sync.c | 80 | seq2

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_sync_mark_expunges (94 to 127 mdbox-sync.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 : trans | CERT EXP08-C,EXP34-C
| 107 |  |
M | 102 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 111 |  |
M | 100 | Procedure contains UR data flow anomalies. : iter.array | CERT EXP33-C
| 108 |  |
M | 100 | Procedure contains UR data flow anomalies. : iter.prev_idx | CERT EXP33-C
| 108 |  |
M | 100 | Procedure contains UR data flow anomalies. : iter.prev_n | CERT EXP33-C
| 108 |  |
M | 103 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 109 |  |
M | 103 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 110 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-sync.c | 102 | mdbox-sync.c | 111 | data
mdbox-sync.c | 100 | mdbox-sync.c | 108 | iter.array
mdbox-sync.c | 100 | mdbox-sync.c | 108 | iter.prev_idx
mdbox-sync.c | 100 | mdbox-sync.c | 108 | iter.prev_n
mdbox-sync.c | 103 | mdbox-sync.c | 109 | seq
mdbox-sync.c | 103 | mdbox-sync.c | 110 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_sync_index (129 to 179 mdbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 138 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 137 |  |
M | 176 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 153 |  |
M | 134 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 144 |  |
M | 134 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 144 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-sync.c | 134 | mdbox-sync.c | 144 | seq1
mdbox-sync.c | 134 | mdbox-sync.c | 144 | seq2

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_refresh_header (181 to 198 mdbox-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 188 | Pointer not checked for null before use : view | CERT EXP08-C,EXP34-C
| 187 |  |
M | 189 | Pointer not checked for null before use : view | CERT EXP08-C,EXP34-C
| 187 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_sync_begin (200 to 279 mdbox-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 261 | Attempt to use already freed object. | CERT MEM31-C
M | 262 | Attempt to use already freed object. | CERT MEM31-C
M | 265 | Attempt to use already freed object. | CERT MEM31-C
M | 270 | Attempt to use already freed object. | CERT MEM31-C
M | 272 | Attempt to use already freed object. | CERT MEM31-C
M | 277 | Attempt to use already freed object. | CERT MEM31-C
M | 221 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 215 |  |
M | 262 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 250 |  |
M | 222 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 221 |  |
M | 263 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 262 |  |
M | 263 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 242 | Procedure contains UR data flow anomalies. : sync_ctx | CERT EXP33-C
| 303 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

mdbox_sync (301 to 311 mdbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 310 | Pointer not checked for null before use : sync_ctx | CERT EXP08-C,EXP34-C
| 305 |  |
M | 310 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 305 |  |
M | 303 | Procedure contains UR data flow anomalies. : sync_ctx | CERT EXP33-C
| 305 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mdbox-sync.c | 242 | mdbox-sync.c | 308 | sync_ctx
mdbox-sync.c | 242 | mdbox-sync.c | 310 | sync_ctx
mdbox-sync.c | 303 | mdbox-sync.c | 305 | sync_ctx

[ | Top of Report | | | Procedure Table | | | Contents | ]

raw_storage_alloc (15 to 25 raw-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 21 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 20 |  |
M | 22 | Pointer not checked for null before use : storage | CERT EXP08-C,EXP34-C
| 21 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

raw_mailbox_alloc (37 to 60 raw-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 47 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 46 |  |
M | 48 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 47 |  |
M | 54 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

raw_sync (8 to 46 raw-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 10 | Procedure contains UR data flow anomalies. : index_sync_ctx | CERT EXP33-C
| 23 |  |
M | 13 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 37 |  |
M | 11 | Procedure contains UR data flow anomalies. : sync_view | CERT EXP33-C
| 23 |  |
M | 12 | Procedure contains UR data flow anomalies. : trans | CERT EXP33-C
| 23 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
raw-sync.c | 10 | raw-sync.c | 23 | index_sync_ctx
raw-sync.c | 13 | raw-sync.c | 37 | seq
raw-sync.c | 11 | raw-sync.c | 23 | sync_view
raw-sync.c | 12 | raw-sync.c | 23 | trans

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_copy_hardlink (10 to 59 sdbox-copy.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 31 | Pointer not checked for null before use : src_file | CERT EXP08-C,EXP34-C
| 28 |  |
M | 32 | Pointer not checked for null before use : src_path | CERT EXP08-C,EXP34-C
| 31 |  |
M | 32 | Pointer not checked for null before use : dest_file | CERT EXP08-C,EXP34-C
| 29 |  |
M | 35 | Pointer not checked for null before use : src_path | CERT EXP08-C,EXP34-C
| 34 |  |
M | 28 | Pointer not checked for null before use : src_mbox | CERT EXP08-C,EXP34-C
| 22 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_file_init_paths (11 to 25 sdbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 16 | free parameter is not heap item. | CERT MEM34-C
M | 17 | free parameter is not heap item. | CERT MEM34-C
M | 17 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 16 |  |
M | 17 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 16 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 532) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_file_init (27 to 49 sdbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 33 | Pointer not checked for null before use : file | CERT EXP08-C,EXP34-C
| 32 |  |
M | 38 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 37 |  |
M | 32 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 532) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_file_create (51 to 59 sdbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 58 | Local structure returned in function result : file |
M | 56 | Pointer not checked for null before use : file | CERT EXP08-C,EXP34-C
| 55 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_file_assign_uid (61 to 81 sdbox-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 70 | Pointer not checked for null before use : new_fname | CERT EXP08-C,EXP34-C
| 69 |  |
M | 72 | Pointer not checked for null before use : old_path | CERT EXP08-C,EXP34-C
| 68 |  |
M | 72 | Pointer not checked for null before use : new_path | CERT EXP08-C,EXP34-C
| 70 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_file_create_fd (83 to 128 sdbox-file.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 97 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 96 |  |
M | 87 | Procedure contains UR data flow anomalies. : p | CERT EXP33-C
| 96 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
sdbox-file.c | 87 | sdbox-file.c | 96 | p

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_save_alloc (50 to 73 sdbox-save.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_save_begin (84 to 106 sdbox-save.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
| 90 |  |
M | 91 | Pointer not checked for null before use : file | CERT EXP08-C,EXP34-C
| 90 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_save_mail_write_metadata (108 to 130 sdbox-save.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 : NULL | CERT EXP08-C,EXP34-C
M | 113 | Procedure contains UR data flow anomalies. : guid_128 | CERT EXP33-C
| 120 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
sdbox-save.c | 113 | sdbox-save.c | 120 | guid_128

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_save_finish_write (132 to 170 sdbox-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 156 | Pointer not checked for null before use : files | CERT EXP08-C,EXP34-C
| 152 |  |
M | 166 | Pointer not checked for null before use : files | CERT EXP08-C,EXP34-C
| 152 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_save_assign_uids (189 to 210 sdbox-save.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 201 | Pointer not checked for null before use : files | CERT EXP08-C,EXP34-C
| 199 |  |
M | 193 | Procedure contains UR data flow anomalies. : iter | CERT EXP33-C
| 198 |  |
M | 195 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 208 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
sdbox-save.c | 193 | sdbox-save.c | 198 | iter
sdbox-save.c | 195 | sdbox-save.c | 208 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_save_unref_files (212 to 230 sdbox-save.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_transaction_save_commit_pre (232 to 263 sdbox-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 251 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 250 |  |
M | 254 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 253 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_transaction_save_rollback (294 to 308 sdbox-save.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_storage_alloc (17 to 28 sdbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 23 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 22 |  |
M | 24 | Pointer not checked for null before use : storage | CERT EXP08-C,EXP34-C
| 23 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_mailbox_alloc (45 to 82 sdbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 57 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 56 |  |
M | 58 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 57 |  |
M | 71 | Pointer not checked for null before use : ibox | CERT EXP08-C,EXP34-C
| 70 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_read_header (84 to 105 sdbox-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 87 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 90 |  |
M | 88 | Procedure contains UR data flow anomalies. : data_size | CERT EXP33-C
| 90 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
sdbox-storage.c | 87 | sdbox-storage.c | 90 | data
sdbox-storage.c | 88 | sdbox-storage.c | 90 | data_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_update_header (107 to 129 sdbox-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 111 | Procedure contains UR data flow anomalies. : hdr.mailbox_guid | CERT EXP33-C
| 113 |  |
M | 111 | Procedure contains UR data flow anomalies. : hdr.oldv1_highest_maildir_uid | CERT EXP33-C
| 113 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
sdbox-storage.c | 111 | sdbox-storage.c | 113 | hdr.mailbox_guid
sdbox-storage.c | 111 | sdbox-storage.c | 113 | hdr.oldv1_highest_maildir_uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_write_index_header (131 to 186 sdbox-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 142 | Pointer not checked for null before use : new_trans | CERT EXP08-C,EXP34-C
| 141 |  |
M | 160 | Pointer not checked for null before use : trans | CERT EXP08-C,EXP34-C
| 142 |  |
M | 173 | Pointer not checked for null before use : trans | CERT EXP08-C,EXP34-C
| 142 |  |
M | 148 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 145 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_mailbox_get_guid (206 to 223 sdbox-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 217 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 210 | Procedure contains UR data flow anomalies. : hdr.mailbox_guid | CERT EXP33-C
| 212 |  |
M | 210 | Procedure contains UR data flow anomalies. : hdr.oldv1_highest_maildir_uid | CERT EXP33-C
| 212 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
sdbox-storage.c | 210 | sdbox-storage.c | 212 | hdr.mailbox_guid
sdbox-storage.c | 210 | sdbox-storage.c | 212 | hdr.oldv1_highest_maildir_uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_mailbox_update (225 to 235 sdbox-storage.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

dbox_sync_mark_single_file_expunged (31 to 43 sdbox-sync-file.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 36 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 38 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
sdbox-sync-file.c | 36 | sdbox-sync-file.c | 38 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_sync_file (45 to 67 sdbox-sync-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 65 | Pointer not checked for null before use : file | CERT EXP08-C,EXP34-C
| 52 |  |
M | 62 | Pointer not checked for null before use : file | CERT EXP08-C,EXP34-C
| 52 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_sync_add_file_index (27 to 53 sdbox-sync-rebuild.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 : NULL | CERT EXP08-C,EXP34-C
M | 30 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 48 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
sdbox-sync-rebuild.c | 30 | sdbox-sync-rebuild.c | 48 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_sync_add_file (55 to 81 sdbox-sync-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 69 | Pointer not checked for null before use : fname | CERT EXP08-C,EXP34-C
| 67 |  |
M | 77 | Pointer not checked for null before use : file | CERT EXP08-C,EXP34-C
| 75 |  |
M | 78 | Pointer not checked for null before use : file | CERT EXP08-C,EXP34-C
| 75 |  |
M | 61 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 69 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
sdbox-sync-rebuild.c | 61 | sdbox-sync-rebuild.c | 69 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_sync_update_header (126 to 137 sdbox-sync-rebuild.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 129 | Procedure contains UR data flow anomalies. : hdr.mailbox_guid | CERT EXP33-C
| 133 |  |
M | 129 | Procedure contains UR data flow anomalies. : hdr.oldv1_highest_maildir_uid | CERT EXP33-C
| 135 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
sdbox-sync-rebuild.c | 129 | sdbox-sync-rebuild.c | 133 | hdr.mailbox_guid
sdbox-sync-rebuild.c | 129 | sdbox-sync-rebuild.c | 135 | hdr.oldv1_highest_maildir_uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_sync_index_rebuild_singles (139 to 155 sdbox-sync-rebuild.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_sync_index_rebuild (157 to 178 sdbox-sync-rebuild.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 165 | Pointer not checked for null before use : view | CERT EXP08-C,EXP34-C
| 164 |  |
M | 168 | Pointer not checked for null before use : trans | CERT EXP08-C,EXP34-C
| 165 |  |
M | 169 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 168 |  |
M | 170 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 169 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_sync_add_seq (31 to 57 sdbox-sync.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_sync_add (59 to 89 sdbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 62 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 77 |  |
M | 62 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 77 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
sdbox-sync.c | 62 | sdbox-sync.c | 77 | seq1
sdbox-sync.c | 62 | sdbox-sync.c | 77 | seq2

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_sync_index (91 to 143 sdbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 102 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 101 |  |
M | 97 | Procedure contains UR data flow anomalies. : key | CERT EXP33-C
| 128 |  |
M | 98 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 108 |  |
M | 98 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 108 |  |
M | 97 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 128 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
sdbox-sync.c | 97 | sdbox-sync.c | 128 | key
sdbox-sync.c | 98 | sdbox-sync.c | 108 | seq1
sdbox-sync.c | 98 | sdbox-sync.c | 108 | seq2
sdbox-sync.c | 97 | sdbox-sync.c | 128 | value

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_refresh_header (145 to 161 sdbox-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 154 | Pointer not checked for null before use : view | CERT EXP08-C,EXP34-C
| 152 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_sync_begin (163 to 233 sdbox-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 213 | Attempt to use already freed object. | CERT MEM31-C
M | 219 | Attempt to use already freed object. | CERT MEM31-C
M | 224 | Attempt to use already freed object. | CERT MEM31-C
M | 226 | Attempt to use already freed object. | CERT MEM31-C
M | 231 | Attempt to use already freed object. | CERT MEM31-C
M | 226 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 221 |  |
M | 221 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 205 |  |
M | 205 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 221 |  |
M | 177 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 176 |  |
M | 197 | Procedure contains UR data flow anomalies. : sync_ctx | CERT EXP33-C
| 259 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

sdbox_sync (257 to 267 sdbox-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 266 | Pointer not checked for null before use : sync_ctx | CERT EXP08-C,EXP34-C
| 261 |  |
M | 266 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 261 |  |
M | 259 | Procedure contains UR data flow anomalies. : sync_ctx | CERT EXP33-C
| 261 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
sdbox-sync.c | 197 | sdbox-sync.c | 264 | sync_ctx
sdbox-sync.c | 197 | sdbox-sync.c | 266 | sync_ctx
sdbox-sync.c | 259 | sdbox-sync.c | 261 | sync_ctx

[ | Top of Report | | | Procedure Table | | | Contents | ]

shared_list_alloc (18 to 28 shared-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 27 | Local structure returned in function result : list |
M | 24 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 23 |  |
M | 25 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 24 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

shared_list_copy_error (35 to 43 shared-list.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 : str | CERT EXP08-C,EXP34-C
| 41 |  |
M | 39 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 41 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
shared-list.c | 39 | shared-list.c | 41 | error

[ | Top of Report | | | Procedure Table | | | Contents | ]

shared_list_join_refpattern (136 to 156 shared-list.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 147 | Procedure contains UR data flow anomalies. : ns_ref | CERT EXP33-C
| 141 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
shared-list.c | 147 | shared-list.c | 149 | ns_ref

[ | Top of Report | | | Procedure Table | | | Contents | ]

shared_list_iter_init (158 to 173 shared-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 165 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 164 |  |
M | 170 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 583) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

shared_list_iter_deinit (211 to 219 shared-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 217 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 583) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

shared_list_rename_mailbox (298 to 315 shared-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 310 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 306 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

shared_storage_alloc (17 to 27 shared-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 23 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 22 |  |
M | 24 | Pointer not checked for null before use : storage | CERT EXP08-C,EXP34-C
| 23 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

shared_storage_create (29 to 88 shared-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 48 | Pointer not checked for null before use : driver | CERT EXP08-C,EXP34-C
| 44 |  |
M | 64 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 64 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

shared_storage_get_namespace (112 to 300 shared-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 159 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 157 |  |
M | 215 | Pointer not checked for null before use : tab | CERT EXP08-C,EXP34-C
| 214 |  |
M | 216 | Pointer not checked for null before use : tab | CERT EXP08-C,EXP34-C
| 215 |  |
M | 221 | Pointer not checked for null before use : prefix | CERT EXP08-C,EXP34-C
| 220 |  |
M | 254 | Pointer not checked for null before use : new_ns | CERT EXP08-C,EXP34-C
| 253 |  |
M | 273 | Pointer not checked for null before use : ns_set | CERT EXP08-C,EXP34-C
| 272 |  |
M | 283 | Pointer not checked for null before use : unexpanded_ns_set | CERT EXP08-C,EXP34-C
| 281 |  |
M | 257 | Pointer not checked for null before use : owner | CERT EXP08-C,EXP34-C
| 230 |  |
M | 203 | Pointer not checked for null before use : domain | CERT EXP08-C,EXP34-C
| 201 |  |
M | 218 | Pointer not checked for null before use : domain | CERT EXP08-C,EXP34-C
| 189 |  |
M | 217 | Pointer not checked for null before use : username | CERT EXP08-C,EXP34-C
| 188 |  |
M | 216 | Pointer not checked for null before use : userdomain | CERT EXP08-C,EXP34-C
| 203 |  |
M | 151 | Pointer not checked for null before use : userdomain | CERT EXP08-C,EXP34-C
| 165 |  |
M | 140 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 136 |  |
M | 136 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 135 |  |
M | 157 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 143 |  |
M | 266 | Pointer not checked for null before use : location | CERT EXP08-C,EXP34-C
| 264 |  |
M | 268 | Pointer not checked for null before use : location | CERT EXP08-C,EXP34-C
| 264 |  |
M | 131 | Procedure contains UR data flow anomalies. : dest | CERT EXP33-C
| 161 |  |
M | 131 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 244 |  |
M | 131 | Procedure contains UR data flow anomalies. : next | CERT EXP33-C
| 169 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
shared-storage.c | 131 | shared-storage.c | 161 | dest
shared-storage.c | 131 | shared-storage.c | 244 | error
shared-storage.c | 131 | shared-storage.c | 169 | next

[ | Top of Report | | | Procedure Table | | | Contents | ]

subsfile_set_subscribed (87 to 193 subscription-file.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 111 | Pointer not checked for null before use : dotlock_set.context | CERT EXP08-C,EXP34-C
| 103 |  |
M | 111 | Pointer not checked for null before use : dotlock_set.lock_suffix | CERT EXP08-C,EXP34-C
| 103 |  |
M | 111 | Pointer not checked for null before use : dotlock_set.temp_prefix | CERT EXP08-C,EXP34-C
| 106 |  |
M | 162 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C
| 161 |  |
M | 175 | Pointer not checked for null before use : output | CERT EXP08-C,EXP34-C
| 141 |  |
M | 91 | Procedure contains UR data flow anomalies. : dotlock | CERT EXP33-C
| 186 |  |
M | 97 | Procedure contains UR data flow anomalies. : gid | CERT EXP33-C
| 110 |  |
M | 96 | Procedure contains UR data flow anomalies. : mode | CERT EXP33-C
| 110 |  |
M | 92 | Procedure contains UR data flow anomalies. : origin | CERT EXP33-C
| 110 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
subscription-file.c | 91 | subscription-file.c | 186 | dotlock
subscription-file.c | 97 | subscription-file.c | 110 | gid
subscription-file.c | 96 | subscription-file.c | 110 | mode
subscription-file.c | 92 | subscription-file.c | 110 | origin

[ | Top of Report | | | Procedure Table | | | Contents | ]

subsfile_list_init (195 to 217 subscription-file.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 216 | Local structure returned in function result : ctx |
M | 202 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 201 |  |
M | 201 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 596) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

subsfile_list_deinit (219 to 228 subscription-file.c) - FAIL

#### Standards Violation Summary

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

[ | Top of Report | | | Procedure Table | | | Contents | ]

test_index_storage_get_expunges (88 to 139 test-index-fetch.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 : box | CERT EXP08-C,EXP34-C
| 97 |  |
M | 91 | Procedure contains UR data flow anomalies. : uids_filter | CERT EXP33-C
| 111 |  |
C | 88 | Procedure not called in code analysed : test_index_storage_get_expunges |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
test-index-fetch.c | 91 | test-index-fetch.c | 111 | uids_filter

[ | Top of Report | | | Procedure Table | | | Contents | ]

test_storage_alloc (11 to 21 test-mail-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 20 | Local structure returned in function result : storage |
M | 17 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 16 |  |
M | 18 | Pointer not checked for null before use : storage | CERT EXP08-C,EXP34-C
| 17 |  |
M | 18 | Pointer not checked for null before use : test_storage.module_contexts | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.module_contexts.v_modifiable | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.module_contexts.v | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.module_contexts.arr | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.module_contexts.arr.element_size | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.module_contexts.arr.buffer | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.callback_context | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.set | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.temp_path_prefix | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.user | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.storage_class | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.error_string | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.unique_root_dir | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.next | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.prev | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.pool | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.vlast | CERT EXP08-C,EXP34-C
| 8 |  |
M | 18 | Pointer not checked for null before use : test_storage.name | CERT EXP08-C,EXP34-C
| 8 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

test_mail_storage_create (50 to 59 test-mail-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 58 | Local structure returned in function result : storage |
M | 55 | Pointer not checked for null before use : storage | CERT EXP08-C,EXP34-C
| 54 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

test_mailbox_mail_alloc (10 to 26 test-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 19 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 18 |  |
M | 20 | Pointer not checked for null before use : mail | CERT EXP08-C,EXP34-C
| 19 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

test_mail_get_keyword_indexes (67 to 76 test-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 75 | Local structure returned in function result : kw_indexes |
M | 73 | Pointer not checked for null before use : kw_indexes | CERT EXP08-C,EXP34-C
| 72 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

### End of Code Review Report

###

### Copyright © 2010 Liverpool Data Research Associates