LDRA Testbed Code Review Report

LDRA Testbed ® Code Review Report

# System : Dovecot-src-plugins

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 20:33:32 Penalty File: C:\Testbed\CCPP_830_Release\c\cpen.dat | Report Level: Summary Report Procedures Reported: Fails Only Programming Standards Model: SATE 2010 L1 Plus Line Numbers refer to: Original Source File Violation Details: Violations Only Reporting Scope: Full analysis scope | Static: Yes Complexity: Yes Static Data Flow: Yes Information Flow: Yes Cross Reference: Yes

#### Contents

Overall Quality Summary

- 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
--- | --- | --- | ---
7 | 47 S | Array Bound exceeded. | CERT ARR30-C
123 | 77 S | Macro replacement list needs parentheses. | CERT PRE02-C
97 | 78 S | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
3 | 403 S | Negative (or potentially negative) shift. | CERT INT34-C
3 | 480 S | String function params access same variable. | CERT DCL33-C
6 | 483 S | free parameter is not heap item. | CERT MEM34-C
42 | 484 S | Attempt to use already freed object. | CERT MEM31-C
1 | 489 S | Insufficient space for operation. | CERT DCL33-C,FIO43-C
36 | 577 S | Sizeof argument is a pointer. | CERT EXP01-C
159 | 5 D | Procedure contains UR data flow anomalies. | CERT EXP33-C
1437 | 45 D | Pointer not checked for null before use | CERT EXP08-C,EXP34-C
2 | 50 D | Memory not freed after last reference. | CERT MEM00-C
8 | 51 D | Attempt to read from freed memory. | CERT MEM30-C
15 | 57 D | Global not initialised at declaration. | CERT EXP33-C
522 | 69 D | Procedure contains UR data flow anomalies. | CERT EXP33-C
44 | 77 D | Local structure returned in function result |
13 | 86 D | User input not checked before use. | CERT FIO30-C
75 | 1 X | Declaration types do not match across a system. | CERT ARR31-C

Number of Violations | LDRA Code | (C) Checking (Mandatory) Standards | CERT Code
--- | --- | --- | ---

No Checking Standards Violated

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

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

### OVERALL RESULT: FAIL

Out of 967 program components, 373 (38.57 %) pass ( of which 0 conditionally pass ) and 594 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 |
Pass |  | acl_object_init_from_name |  | acl-api.c |  | 0 |  | 0 |
Pass |  | acl_object_init_from_parent |  | acl-api.c |  | 0 |  | 0 |
Pass |  | acl_object_deinit |  | acl-api.c |  | 0 |  | 0 |
Pass |  | acl_object_have_right |  | acl-api.c |  | 0 |  | 0 |
FAIL |  | acl_backend_mask_get_names |  | acl-api.c |  | 1 | - |  | 7 | - |
Pass |  | acl_object_get_my_rights_real |  | acl-api.c |  | 0 |  | 0 |
Pass |  | acl_object_get_my_rights |  | acl-api.c |  | 0 |  | 0 |
Pass |  | acl_object_get_default_rights |  | acl-api.c |  | 0 |  | 0 |
Pass |  | acl_object_update |  | acl-api.c |  | 0 |  | 0 |
Pass |  | acl_object_list_init |  | acl-api.c |  | 0 |  | 0 |
Pass |  | acl_object_list_next |  | acl-api.c |  | 0 |  | 0 |
Pass |  | acl_object_list_deinit |  | acl-api.c |  | 0 |  | 0 |
Pass |  | acl_backend_non wner_lookups_iter_init |  | acl-api.c |  | 0 |  | 0 |
Pass |  | acl_backend_non wner_lookups_iter_next |  | acl-api.c |  | 0 |  | 0 |
Pass |  | acl_backend_non wner_lookups_iter_deinit |  | acl-api.c |  | 0 |  | 0 |
Pass |  | acl_rights_write_id |  | acl-api.c |  | 0 |  | 0 |
FAIL |  | acl_rights_has_nonowner_lookup_changes |  | acl-api.c |  | 1 | - |  | 3 | - |
Pass |  | buffer_get_data |  | buffer.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | buffer_get_used_size |  | buffer.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_create_from_buffer_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
FAIL |  | array_create_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 1 | - |  | 17 | - |
Pass |  | array_free_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_is_created_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_get_pool_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_clear_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_append_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_append_array_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_insert_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_delete_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_get_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_idx_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_get_modifiable_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_append_space_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_copy |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | array_count_i |  | array.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | module_get_context_id |  | module-context.h analysed in acl-backend-vfile-acllist.c |  | 0 |  | 0 |
Pass |  | acllist_clear |  | acl-backend-vfile-acllist.c |  | 0 |  | 0 |
FAIL |  | acl_list_get_root_dir |  | acl-backend-vfile-acllist.c |  | 1 | - |  | 16 | - |
Pass |  | acl_list_get_path |  | acl-backend-vfile-acllist.c |  | 0 |  | 0 |
FAIL |  | acl_backend_vfile_acllist_read |  | acl-backend-vfile-acllist.c |  | 1 | - |  | 2 | - |
FAIL |  | acl_backend_vfile_acllist_refresh |  | acl-backend-vfile-acllist.c |  | 1 | - |  | 5 | - |
FAIL |  | acllist_append |  | acl-backend-vfile-acllist.c |  | 1 | - |  | 22 | - |
FAIL |  | acl_backend_vfile_acllist_try_rebuild |  | acl-backend-vfile-acllist.c |  | 1 | - |  | 7 | - |
FAIL |  | acl_backend_vfile_acllist_rebuild |  | acl-backend-vfile-acllist.c |  | 1 | - |  | 4 | - |
FAIL |  | acl_backend_vfile_acllist_find |  | acl-backend-vfile-acllist.c |  | 1 | - |  | 5 | - |
FAIL |  | acl_backend_vfile_acllist_verify |  | acl-backend-vfile-acllist.c |  | 1 | - |  | 10 | - |
FAIL |  | acl_backend_vfile_nonowner_iter_init |  | acl-backend-vfile-acllist.c |  | 1 | - |  | 27 | - |
FAIL |  | acl_backend_vfile_nonowner_iter_next |  | acl-backend-vfile-acllist.c |  | 1 | - |  | 8 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | acl_backend_vfile_nonowner_iter_deinit |  | acl-backend-vfile-acllist.c |  | 1 | - |  | 14 | - |
FAIL |  | acl_backend_vfile_alloc |  | acl-backend-vfile.c |  | 1 | - |  | 29 | - |
FAIL |  | acl_backend_vfile_init |  | acl-backend-vfile.c |  | 1 | - |  | 4 | - |
Pass |  | acl_backend_vfile_deinit |  | acl-backend-vfile.c |  | 0 |  | 0 |
FAIL |  | acl_backend_vfile_get_local_dir |  | acl-backend-vfile.c |  | 1 | - |  | 7 | - |
FAIL |  | acl_backend_vfile_object_init |  | acl-backend-vfile.c |  | 1 | - |  | 17 | - |
Pass |  | get_parent_mailbox |  | acl-backend-vfile.c |  | 0 |  | 0 |
FAIL |  | acl_backend_vfile_exists |  | acl-backend-vfile.c |  | 1 | - |  | 2 | - |
FAIL |  | acl_backend_vfile_has_acl |  | acl-backend-vfile.c |  | 1 | - |  | 8 | - |
FAIL |  | acl_backend_vfile_object_init_parent |  | acl-backend-vfile.c |  | 1 | - |  | 3 | - |
FAIL |  | acl_backend_vfile_object_deinit |  | acl-backend-vfile.c |  | 1 | - |  | 11 | - |
FAIL |  | acl_rights_alloc |  | acl-backend-vfile.c |  | 1 | - |  | 4 | - |
FAIL |  | acl_parse_rights |  | acl-backend-vfile.c |  | 1 | - |  | 8 | - |
FAIL |  | acl_object_vfile_parse_line |  | acl-backend-vfile.c |  | 1 | - |  | 5 | - |
FAIL |  | acl_backend_remove_all_access |  | acl-backend-vfile.c |  | 1 | - |  | 23 | - |
FAIL |  | acl_backend_vfile_read |  | acl-backend-vfile.c |  | 1 | - |  | 1 | - |
FAIL |  | acl_backend_vfile_read_with_retry |  | acl-backend-vfile.c |  | 1 | - |  | 2 | - |
FAIL |  | acl_backend_vfile_refresh |  | acl-backend-vfile.c |  | 1 | - |  | 1 | - |
Pass |  | acl_backend_vfi e_object_get_mtime |  | acl-backend-vfile.c |  | 0 |  | 0 |
Pass |  | acl_rights_cmp |  | acl-backend-vfile.c |  | 0 |  | 0 |
FAIL |  | acl_rights_merge |  | acl-backend-vfile.c |  | 1 | - |  | 13 | - |
FAIL |  | acl_backend_vfile_rights_sort |  | acl-backend-vfile.c |  | 1 | - |  | 3 | - |
FAIL |  | apply_owner_rights |  | acl-backend-vfile.c |  | 1 | - |  | 22 | - |
FAIL |  | acl_backend_vfile_cache_rebuild |  | acl-backend-vfile.c |  | 1 | - |  | 6 | - |
FAIL |  | acl_backend_vfile_object_refresh_cache |  | acl-backend-vfile.c |  | 1 | - |  | 10 | - |
FAIL |  | acl_backend_vfile_update_begin |  | acl-backend-vfile.c |  | 1 | - |  | 32 | - |
FAIL |  | modify_right_list |  | acl-backend-vfile.c |  | 1 | - |  | 6 | - |
FAIL |  | vfile_object_modify_right |  | acl-backend-vfile.c |  | 1 | - |  | 4 | - |
FAIL |  | vfile_object_add_right |  | acl-backend-vfile.c |  | 1 | - |  | 14 | - |
Pass |  | vfile_write_rights_list |  | acl-backend-vfile.c |  | 0 |  | 0 |
FAIL |  | vfile_write_right |  | acl-backend-vfile.c |  | 1 | - |  | 3 | - |
FAIL |  | acl_backend_vfile_update_write |  | acl-backend-vfile.c |  | 1 | - |  | 8 | - |
FAIL |  | acl_backend_vfile_update_cache |  | acl-backend-vfile.c |  | 1 | - |  | 13 | - |
FAIL |  | acl_backend_vfile_object_update |  | acl-backend-vfile.c |  | 1 | - |  | 14 | - |
FAIL |  | acl_backend_vfile_object_list_init |  | acl-backend-vfile.c |  | 1 | - |  | 13 | - |
FAIL |  | acl_backend_vfile_object_list_next |  | acl-backend-vfile.c |  | 1 | - |  | 13 | - |
FAIL |  | acl_backend_vfile_object_list_deinit |  | acl-backend-vfile.c |  | 1 | - |  | 17 | - |
FAIL |  | acl_backend_init |  | acl-backend.c |  | 1 | - |  | 7 | - |
Pass |  | acl_backend_deinit |  | acl-backend.c |  | 0 |  | 0 |
Pass |  | acl_backend_get_acl_username |  | acl-backend.c |  | 0 |  | 0 |
Pass |  | acl_backend_use _is_authenticated |  | acl-backend.c |  | 0 |  | 0 |
Pass |  | acl_backend_user_is_owner |  | acl-backend.c |  | 0 |  | 0 |
Pass |  | acl_backend_user_name_equals |  | acl-backend.c |  | 0 |  | 0 |
Pass |  | acl_backend_user_is_in_group |  | acl-backend.c |  | 0 |  | 0 |
Pass |  | acl_backend_lookup_right |  | acl-backend.c |  | 0 |  | 0 |
Pass |  | acl_backend_get_default_rights |  | acl-backend.c |  | 0 |  | 0 |
FAIL |  | acl_cache_init |  | acl-cache.c |  | 1 | - |  | 23 | - |
FAIL |  | acl_cache_deinit |  | acl-cache.c |  | 1 | - |  | 12 | - |
FAIL |  | acl_cache_free_object_cache |  | acl-cache.c |  | 1 | - |  | 14 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | acl_cache_mask_init_real |  | acl-cache.c |  | 1 | - |  | 19 | - |
Pass |  | acl_cache_mask_init |  | acl-cache.c |  | 0 |  | 0 |
FAIL |  | acl_cache_mask_dup |  | acl-cache.c |  | 1 | - |  | 29 | - |
Pass |  | acl_cache_mask_deinit |  | acl-cache.c |  | 0 |  | 0 |
FAIL |  | acl_cache_right_lookup |  | acl-cache.c |  | 1 | - |  | 8 | - |
Pass |  | acl_cache_flush |  | acl-cache.c |  | 0 |  | 0 |
FAIL |  | acl_cache_flush_all |  | acl-cache.c |  | 1 | - |  | 29 | - |
FAIL |  | acl_cache_update_rights_mask |  | acl-cache.c |  | 1 | - |  | 1 | - |
FAIL |  | acl_cache_object_get |  | acl-cache.c |  | 1 | - |  | 11 | - |
FAIL |  | acl_cache_update_rights |  | acl-cache.c |  | 1 | - |  | 3 | - |
Pass |  | acl_cache_update |  | acl-cache.c |  | 0 |  | 0 |
FAIL |  | acl_cache_set_validity |  | acl-cache.c |  | 1 | - |  | 8 | - |
Pass |  | acl_cache_get_validity |  | acl-cache.c |  | 0 |  | 0 |
Pass |  | acl_cache_get_names |  | acl-cache.c |  | 0 |  | 0 |
FAIL |  | acl_cache_my_current_rights_recalculate |  | acl-cache.c |  | 1 | - |  | 2 | - |
Pass |  | acl_cache_get_my_rights |  | acl-cache.c |  | 0 |  | 0 |
Pass |  | acl_cache_mask_isset |  | acl-cache.c |  | 0 |  | 0 |
FAIL |  | acl_lookup_dict_init |  | acl-lookup-dict.c |  | 1 | - |  | 9 | - |
FAIL |  | acl_lookup_dict_deinit |  | acl-lookup-dict.c |  | 1 | - |  | 7 | - |
Pass |  | acl_lookup_dict write_rights_id |  | acl-lookup-dict.c |  | 0 |  | 0 |
FAIL |  | acl_lookup_dict_rebuild_add_backend |  | acl-lookup-dict.c |  | 1 | - |  | 18 | - |
FAIL |  | acl_lookup_dict_rebuild_update |  | acl-lookup-dict.c |  | 1 | - |  | 9 | - |
FAIL |  | acl_lookup_dict_rebuild |  | acl-lookup-dict.c |  | 1 | - |  | 7 | - |
FAIL |  | acl_lookup_dict_iterate_start |  | acl-lookup-dict.c |  | 1 | - |  | 13 | - |
FAIL |  | acl_lookup_dict_iterate_visible_init |  | acl-lookup-dict.c |  | 1 | - |  | 17 | - |
FAIL |  | acl_lookup_dict_iterate_visible_next |  | acl-lookup-dict.c |  | 1 | - |  | 6 | - |
Pass |  | acl_lookup_dict iterate_visible_deinit |  | acl-lookup-dict.c |  | 0 |  | 0 |
FAIL |  | acl_mailbox_list_get_backend |  | acl-mailbox-list.c |  | 1 | - |  | 13 | - |
FAIL |  | acl_mailbox_list_have_right |  | acl-mailbox-list.c |  | 1 | - |  | 8 | - |
FAIL |  | acl_mailbox_try_list_fast |  | acl-mailbox-list.c |  | 1 | - |  | 12 | - |
FAIL |  | acl_mailbox_list_iter_init_shared |  | acl-mailbox-list.c |  | 1 | - |  | 22 | - |
FAIL |  | acl_mailbox_list_iter_init |  | acl-mailbox-list.c |  | 1 | - |  | 10 | - |
FAIL |  | acl_mailbox_list_iter_next_info |  | acl-mailbox-list.c |  | 1 | - |  | 11 | - |
FAIL |  | acl_mailbox_list_iter_get_name |  | acl-mailbox-list.c |  | 1 | - |  | 6 | - |
FAIL |  | iter_is_listing_all_children |  | acl-mailbox-list.c |  | 1 | - |  | 10 | - |
FAIL |  | iter_mailbox_has_visible_children |  | acl-mailbox-list.c |  | 1 | - |  | 2 | - |
FAIL |  | acl_mailbox_list_info_is_visible |  | acl-mailbox-list.c |  | 1 | - |  | 3 | - |
FAIL |  | acl_mailbox_list_iter_next |  | acl-mailbox-list.c |  | 1 | - |  | 4 | - |
FAIL |  | acl_mailbox_list_iter_deinit |  | acl-mailbox-list.c |  | 1 | - |  | 5 | - |
FAIL |  | acl_mailbox_have_any_rights |  | acl-mailbox-list.c |  | 1 | - |  | 10 | - |
FAIL |  | acl_get_mailbox_name_status |  | acl-mailbox-list.c |  | 1 | - |  | 5 | - |
FAIL |  | acl_mailbox_list_create_dir |  | acl-mailbox-list.c |  | 1 | - |  | 10 | - |
FAIL |  | acl_mailbox_list_init_shared |  | acl-mailbox-list.c |  | 1 | - |  | 25 | - |
Pass |  | acl_storage_rights_ctx_init |  | acl-mailbox-list.c |  | 0 |  | 0 |
FAIL |  | acl_mailbox_list_init_default |  | acl-mailbox-list.c |  | 1 | - |  | 13 | - |
FAIL |  | acl_mail_namespace_storage_added |  | acl-mailbox-list.c |  | 1 | - |  | 5 | - |
FAIL |  | acl_mailbox_get_aclobj |  | acl-mailbox.c |  | 1 | - |  | 13 | - |
FAIL |  | acl_mailbox_right_lookup |  | acl-mailbox.c |  | 1 | - |  | 10 | - |
FAIL |  | acl_is_readonly |  | acl-mailbox.c |  | 1 | - |  | 14 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | acl_allow_new_keywords |  | acl-mailbox.c |  | 1 | - |  | 16 | - |
FAIL |  | acl_mailbox_free |  | acl-mailbox.c |  | 1 | - |  | 22 | - |
FAIL |  | acl_mailbox_copy_acls_from_parent |  | acl-mailbox.c |  | 1 | - |  | 25 | - |
FAIL |  | acl_mailbox_create |  | acl-mailbox.c |  | 1 | - |  | 16 | - |
FAIL |  | acl_mailbox_update |  | acl-mailbox.c |  | 1 | - |  | 11 | - |
Pass |  | acl_mailbox_fail_not_found |  | acl-mailbox.c |  | 0 |  | 0 |
FAIL |  | acl_mailbox_delete |  | acl-mailbox.c |  | 1 | - |  | 16 | - |
FAIL |  | acl_mailbox_rename |  | acl-mailbox.c |  | 1 | - |  | 11 | - |
FAIL |  | acl_get_write_rights |  | acl-mailbox.c |  | 1 | - |  | 10 | - |
FAIL |  | acl_transaction_set_failure |  | acl-mailbox.c |  | 1 | - |  | 29 | - |
FAIL |  | acl_mail_update_flags |  | acl-mailbox.c |  | 1 | - |  | 16 | - |
FAIL |  | acl_mail_update_keywords |  | acl-mailbox.c |  | 1 | - |  | 14 | - |
FAIL |  | acl_mail_expunge |  | acl-mailbox.c |  | 1 | - |  | 14 | - |
FAIL |  | acl_mail_allocated |  | acl-mailbox.c |  | 1 | - |  | 14 | - |
FAIL |  | acl_save_get_flags |  | acl-mailbox.c |  | 1 | - |  | 12 | - |
FAIL |  | acl_save_begin |  | acl-mailbox.c |  | 1 | - |  | 16 | - |
FAIL |  | acl_copy |  | acl-mailbox.c |  | 1 | - |  | 13 | - |
FAIL |  | acl_transaction_commit |  | acl-mailbox.c |  | 1 | - |  | 14 | - |
FAIL |  | acl_keywords_create |  | acl-mailbox.c |  | 1 | - |  | 6 | - |
FAIL |  | acl_mailbox_open_check_acl |  | acl-mailbox.c |  | 1 | - |  | 12 | - |
FAIL |  | acl_mailbox_open |  | acl-mailbox.c |  | 1 | - |  | 12 | - |
FAIL |  | acl_mailbox_allocated |  | acl-mailbox.c |  | 1 | - |  | 7 | - |
Pass |  | acl_plugin_init |  | acl-plugin.c |  | 0 |  | 0 |
Pass |  | acl_plugin_deinit |  | acl-plugin.c |  | 0 |  | 0 |
FAIL |  | acl_shared_namespace_add |  | acl-shared-storage.c |  | 1 | - |  | 9 | - |
FAIL |  | acl_shared_namespaces_add |  | acl-shared-storage.c |  | 1 | - |  | 6 | - |
FAIL |  | acl_user_deinit |  | acl-storage.c |  | 1 | - |  | 22 | - |
FAIL |  | acl_mail_user_create |  | acl-storage.c |  | 1 | - |  | 9 | - |
Pass |  | acl_mail_user_created |  | acl-storage.c |  | 0 |  | 0 |
FAIL |  | autocreate_mailbox |  | autocreate-plugin.c |  | 1 | - |  | 14 | - |
FAIL |  | autocreate_mailboxes |  | autocreate-plugin.c |  | 1 | - |  | 13 | - |
FAIL |  | autosubscribe_mailbox |  | autocreate-plugin.c |  | 1 | - |  | 8 | - |
FAIL |  | autosubscribe_mailboxes |  | autocreate-plugin.c |  | 1 | - |  | 13 | - |
Pass |  | autocreate_mail namespaces_created |  | autocreate-plugin.c |  | 0 |  | 0 |
Pass |  | autocreate_plugin_init |  | autocreate-plugin.c |  | 0 |  | 0 |
Pass |  | autocreate_plugin_deinit |  | autocreate-plugin.c |  | 0 |  | 0 |
Pass |  | doveadm_expire_ ail_match_mailbox |  | doveadm-expire.c |  | 0 |  | 0 |
FAIL |  | doveadm_expire_mail_want |  | doveadm-expire.c |  | 1 | - |  | 13 | - |
FAIL |  | doveadm_expire_mail_cmd_get_next_user |  | doveadm-expire.c |  | 1 | - |  | 10 | - |
FAIL |  | doveadm_expire_get_patterns |  | doveadm-expire.c |  | 1 | - |  | 32 | - |
FAIL |  | doveadm_expire_get_or_mailboxes |  | doveadm-expire.c |  | 1 | - |  | 15 | - |
FAIL |  | doveadm_expire_analyze_and_query |  | doveadm-expire.c |  | 1 | - |  | 2 | - |
Pass |  | doveadm_expire_ nalyze_or_query |  | doveadm-expire.c |  | 0 |  | 0 |
FAIL |  | doveadm_expire_analyze_query |  | doveadm-expire.c |  | 1 | - |  | 3 | - |
FAIL |  | doveadm_expire_mail_cmd_deinit |  | doveadm-expire.c |  | 1 | - |  | 5 | - |
FAIL |  | doveadm_expire_mail_init |  | doveadm-expire.c |  | 1 | - |  | 2 | - |
Pass |  | doveadm_expire_plugin_init |  | doveadm-expire.c |  | 0 |  | 0 |
Pass |  | doveadm_expire_plugin_deinit |  | doveadm-expire.c |  | 0 |  | 0 |
FAIL |  | cmd_quota_get_root |  | doveadm-quota.c |  | 1 | - |  | 8 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | cmd_quota_get_run |  | doveadm-quota.c |  | 1 | - |  | 10 | - |
Pass |  | cmd_quota_get_init |  | doveadm-quota.c |  | 0 |  | 0 |
FAIL |  | cmd_quota_get_alloc |  | doveadm-quota.c |  | 1 | - |  | 29 | - |
FAIL |  | cmd_quota_recalc_run |  | doveadm-quota.c |  | 1 | - |  | 27 | - |
FAIL |  | cmd_quota_recalc_alloc |  | doveadm-quota.c |  | 1 | - |  | 40 | - |
Pass |  | doveadm_quota_plugin_init |  | doveadm-quota.c |  | 0 |  | 0 |
Pass |  | doveadm_quota_plugin_deinit |  | doveadm-quota.c |  | 0 |  | 0 |
FAIL |  | expire_mailbox_transaction_begin |  | expire-plugin.c |  | 1 | - |  | 57 | - |
FAIL |  | first_nonexpunged_timestamp |  | expire-plugin.c |  | 1 | - |  | 8 | - |
FAIL |  | expire_mailbox_transaction_commit |  | expire-plugin.c |  | 1 | - |  | 15 | - |
FAIL |  | expire_mailbox_transaction_rollback |  | expire-plugin.c |  | 1 | - |  | 43 | - |
FAIL |  | expire_mail_expunge |  | expire-plugin.c |  | 1 | - |  | 27 | - |
FAIL |  | expire_mail_allocated |  | expire-plugin.c |  | 1 | - |  | 13 | - |
FAIL |  | expire_save_finish |  | expire-plugin.c |  | 1 | - |  | 20 | - |
FAIL |  | expire_copy |  | expire-plugin.c |  | 1 | - |  | 20 | - |
FAIL |  | expire_mailbox_allocate_init |  | expire-plugin.c |  | 1 | - |  | 8 | - |
Pass |  | expire_mailbox_allocated |  | expire-plugin.c |  | 0 |  | 0 |
FAIL |  | expire_mail_user_deinit |  | expire-plugin.c |  | 1 | - |  | 20 | - |
FAIL |  | expire_get_patterns |  | expire-plugin.c |  | 1 | - |  | 25 | - |
FAIL |  | expire_mail_namespaces_created |  | expire-plugin.c |  | 1 | - |  | 2 | - |
Pass |  | expire_plugin_init |  | expire-plugin.c |  | 0 |  | 0 |
Pass |  | expire_plugin_deinit |  | expire-plugin.c |  | 0 |  | 0 |
FAIL |  | expire_set_init |  | expire-set.c |  | 1 | - |  | 24 | - |
Pass |  | expire_set_deinit |  | expire-set.c |  | 0 |  | 0 |
Pass |  | expire_set_lookup |  | expire-set.c |  | 0 |  | 0 |
Pass |  | fts_backend_register |  | fts-api.c |  | 0 |  | 0 |
FAIL |  | fts_backend_unregister |  | fts-api.c |  | 1 | - |  | 10 | - |
FAIL |  | fts_backend_class_lookup |  | fts-api.c |  | 1 | - |  | 10 | - |
FAIL |  | fts_backend_init |  | fts-api.c |  | 1 | - |  | 4 | - |
Pass |  | fts_backend_deinit |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_get_last_uid |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_get_all_last_uids |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_build_init |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_build_hdr |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_build_body_begin |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_build_body_end |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_build_more |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_build_deinit |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_is_building |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_expunge |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_expunge_finish |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_lock |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_unlock |  | fts-api.c |  | 0 |  | 0 |
FAIL |  | fts_merge_maybies |  | fts-api.c |  | 1 | - |  | 21 | - |
Pass |  | fts_filter_uids |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_lookup_invert |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_lookup |  | fts-api.c |  | 0 |  | 0 |
FAIL |  | fts_backend_filter |  | fts-api.c |  | 1 | - |  | 23 | - |
FAIL |  | fts_backend_lookup_init |  | fts-api.c |  | 1 | - |  | 27 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | fts_backend_lookup_add |  | fts-api.c |  | 1 | - |  | 20 | - |
FAIL |  | fts_backend_lookup_old |  | fts-api.c |  | 1 | - |  | 5 | - |
Pass |  | fts_backend_lookup_deinit |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_default_can_index |  | fts-api.c |  | 0 |  | 0 |
Pass |  | fts_backend_select |  | fts-backend-lucene.c |  | 0 |  | 0 |
FAIL |  | fts_backend_lucene_init |  | fts-backend-lucene.c |  | 1 | - |  | 10 | - |
FAIL |  | fts_backend_lucene_deinit |  | fts-backend-lucene.c |  | 1 | - |  | 6 | - |
FAIL |  | fts_backend_lucene_get_last_uid |  | fts-backend-lucene.c |  | 1 | - |  | 17 | - |
FAIL |  | fts_backend_lucene_build_init |  | fts-backend-lucene.c |  | 1 | - |  | 11 | - |
FAIL |  | fts_backend_lucene_build_more |  | fts-backend-lucene.c |  | 1 | - |  | 7 | - |
FAIL |  | fts_backend_lucene_build_deinit |  | fts-backend-lucene.c |  | 1 | - |  | 9 | - |
FAIL |  | fts_backend_lucene_expunge |  | fts-backend-lucene.c |  | 1 | - |  | 17 | - |
Pass |  | fts_backend_luc ne_expunge_finish |  | fts-backend-lucene.c |  | 0 |  | 0 |
Pass |  | fts_backend_lucene_lock |  | fts-backend-lucene.c |  | 0 |  | 0 |
Pass |  | fts_backend_lucene_unlock |  | fts-backend-lucene.c |  | 0 |  | 0 |
FAIL |  | fts_backend_lucene_lookup |  | fts-backend-lucene.c |  | 1 | - |  | 5 | - |
Pass |  | fts_box_name_get_root |  | fts-backend-solr.c |  | 0 |  | 0 |
FAIL |  | fts_box_get_root |  | fts-backend-solr.c |  | 1 | - |  | 14 | - |
Pass |  | xml_encode_data |  | fts-backend-solr.c |  | 0 |  | 0 |
Pass |  | xml_encode |  | fts-backend-solr.c |  | 0 |  | 0 |
FAIL |  | solr_escape_id_str |  | fts-backend-solr.c |  | 1 | - |  | 4 | - |
Pass |  | solr_quote |  | fts-backend-solr.c |  | 0 |  | 0 |
FAIL |  | solr_quote_http |  | fts-backend-solr.c |  | 1 | - |  | 20 | - |
FAIL |  | fts_backend_solr_init |  | fts-backend-solr.c |  | 1 | - |  | 9 | - |
FAIL |  | fts_backend_solr_deinit |  | fts-backend-solr.c |  | 1 | - |  | 22 | - |
FAIL |  | solr_add_ns_query |  | fts-backend-solr.c |  | 1 | - |  | 2 | - |
FAIL |  | solr_add_ns_query_http |  | fts-backend-solr.c |  | 1 | - |  | 25 | - |
FAIL |  | fts_backend_solr_get_last_uid_fallback |  | fts-backend-solr.c |  | 1 | - |  | 32 | - |
FAIL |  | fts_backend_solr_get_last_uid |  | fts-backend-solr.c |  | 1 | - |  | 32 | - |
Pass |  | solr_get_namespaces |  | fts-backend-solr.c |  | 0 |  | 0 |
FAIL |  | solr_virtual_get_last_uids |  | fts-backend-solr.c |  | 1 | - |  | 10 | - |
FAIL |  | solr_add_pattern |  | fts-backend-solr.c |  | 1 | - |  | 3 | - |
FAIL |  | fts_backend_solr_filter_mailboxes |  | fts-backend-solr.c |  | 1 | - |  | 10 | - |
FAIL |  | fts_backend_solr_get_all_last_uids |  | fts-backend-solr.c |  | 1 | - |  | 38 | - |
FAIL |  | fts_backend_solr_build_init |  | fts-backend-solr.c |  | 1 | - |  | 127 |
FAIL |  | fts_backend_solr_add_doc_prefix |  | fts-backend-solr.c |  | 1 | - |  | 7 | - |
FAIL |  | xml_encode_id |  | fts-backend-solr.c |  | 1 | - |  | 10 | - |
Pass |  | fts_backend_solr_uid_changed |  | fts-backend-solr.c |  | 0 |  | 0 |
Pass |  | fts_backend_solr_build_hdr |  | fts-backend-solr.c |  | 0 |  | 0 |
Pass |  | fts_backend_sol _build_body_begin |  | fts-backend-solr.c |  | 0 |  | 0 |
Pass |  | fts_backend_solr_build_more |  | fts-backend-solr.c |  | 0 |  | 0 |
FAIL |  | fts_backed_solr_build_commit |  | fts-backend-solr.c |  | 1 | - |  | 2 | - |
FAIL |  | fts_backend_solr_build_deinit |  | fts-backend-solr.c |  | 1 | - |  | 18 | - |
FAIL |  | fts_backend_solr_expunge |  | fts-backend-solr.c |  | 1 | - |  | 88 | - |
FAIL |  | fts_backend_solr_expunge_finish |  | fts-backend-solr.c |  | 1 | - |  | 33 | - |
Pass |  | fts_backend_solr_lock |  | fts-backend-solr.c |  | 0 |  | 0 |
Pass |  | fts_backend_solr_unlock |  | fts-backend-solr.c |  | 0 |  | 0 |
FAIL |  | solr_virtual_uid_map |  | fts-backend-solr.c |  | 1 | - |  | 6 | - |
FAIL |  | fts_backend_solr_lookup |  | fts-backend-solr.c |  | 1 | - |  | 14 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | fts_backend_squat_set |  | fts-backend-squat.c |  | 1 | - |  | 6 | - |
FAIL |  | fts_backend_squat_init |  | fts-backend-squat.c |  | 1 | - |  | 28 | - |
FAIL |  | fts_backend_squat_deinit |  | fts-backend-squat.c |  | 1 | - |  | 29 | - |
Pass |  | fts_backend_squat_get_last_uid |  | fts-backend-squat.c |  | 0 |  | 0 |
FAIL |  | fts_backend_squat_build_init |  | fts-backend-squat.c |  | 1 | - |  | 25 | - |
Pass |  | fts_backend_squat_build_hdr |  | fts-backend-squat.c |  | 0 |  | 0 |
Pass |  | fts_backend_squ t_build_body_begin |  | fts-backend-squat.c |  | 0 |  | 0 |
Pass |  | fts_backend_squat_build_more |  | fts-backend-squat.c |  | 0 |  | 0 |
FAIL |  | get_all_msg_uids |  | fts-backend-squat.c |  | 1 | - |  | 16 | - |
FAIL |  | fts_backend_squat_build_deinit |  | fts-backend-squat.c |  | 1 | - |  | 35 | - |
Pass |  | fts_backend_squat_expunge |  | fts-backend-squat.c |  | 0 |  | 0 |
Pass |  | fts_backend_squ t_expunge_finish |  | fts-backend-squat.c |  | 0 |  | 0 |
Pass |  | fts_backend_squat_lock |  | fts-backend-squat.c |  | 0 |  | 0 |
Pass |  | fts_backend_squat_unlock |  | fts-backend-squat.c |  | 0 |  | 0 |
Pass |  | fts_backend_squat_lookup |  | fts-backend-squat.c |  | 0 |  | 0 |
Pass |  | fts_lucene_plugin_init |  | fts-lucene-plugin.c |  | 0 |  | 0 |
Pass |  | fts_lucene_plugin_deinit |  | fts-lucene-plugin.c |  | 0 |  | 0 |
Pass |  | fts_plugin_init |  | fts-plugin.c |  | 0 |  | 0 |
Pass |  | fts_plugin_deinit |  | fts-plugin.c |  | 0 |  | 0 |
FAIL |  | uid_range_to_seqs |  | fts-search.c |  | 1 | - |  | 21 | - |
FAIL |  | fts_uid_results_to_seq |  | fts-search.c |  | 1 | - |  | 13 | - |
FAIL |  | fts_search_lookup_arg |  | fts-search.c |  | 1 | - |  | 4 | - |
FAIL |  | fts_search_lookup |  | fts-search.c |  | 1 | - |  | 11 | - |
Pass |  | arg_is_better |  | fts-search.c |  | 0 |  | 0 |
Pass |  | fts_search_args_find_best |  | fts-search.c |  | 0 |  | 0 |
Pass |  | fts_search_analyze |  | fts-search.c |  | 0 |  | 0 |
FAIL |  | fts_solr_plugin_init_settings |  | fts-solr-plugin.c |  | 1 | - |  | 1 | - |
FAIL |  | fts_solr_mail_user_create |  | fts-solr-plugin.c |  | 1 | - |  | 11 | - |
Pass |  | fts_solr_mail_user_created |  | fts-solr-plugin.c |  | 0 |  | 0 |
Pass |  | fts_solr_plugin_init |  | fts-solr-plugin.c |  | 0 |  | 0 |
Pass |  | fts_solr_plugin_deinit |  | fts-solr-plugin.c |  | 0 |  | 0 |
Pass |  | fts_squat_plugin_init |  | fts-squat-plugin.c |  | 0 |  | 0 |
Pass |  | fts_squat_plugin_deinit |  | fts-squat-plugin.c |  | 0 |  | 0 |
FAIL |  | fts_mailbox_free |  | fts-storage.c |  | 1 | - |  | 8 | - |
Pass |  | fts_build_mail_flush_headers |  | fts-storage.c |  | 0 |  | 0 |
FAIL |  | fts_build_parse_content_type |  | fts-storage.c |  | 1 | - |  | 18 | - |
FAIL |  | fts_build_parse_content_disposition |  | fts-storage.c |  | 1 | - |  | 14 | - |
Pass |  | fts_parse_mail_header |  | fts-storage.c |  | 0 |  | 0 |
Pass |  | fts_build_mail_header |  | fts-storage.c |  | 0 |  | 0 |
FAIL |  | fts_build_mail |  | fts-storage.c |  | 1 | - |  | 7 | - |
FAIL |  | fts_build_init_seq |  | fts-storage.c |  | 1 | - |  | 8 | - |
FAIL |  | fts_mailbox_get_backend |  | fts-storage.c |  | 1 | - |  | 10 | - |
FAIL |  | fts_build_init_trans |  | fts-storage.c |  | 1 | - |  | 15 | - |
FAIL |  | fts_build_init_box |  | fts-storage.c |  | 1 | - |  | 21 | - |
FAIL |  | mailbox_name_cmp |  | fts-storage.c |  | 1 | - |  | 31 | - |
Pass |  | fts_backend_uid map_mailbox_cmp |  | fts-storage.c |  | 0 |  | 0 |
FAIL |  | fts_build_init_virtual_next |  | fts-storage.c |  | 1 | - |  | 23 | - |
FAIL |  | fts_box_get_root |  | fts-storage.c |  | 1 | - |  | 4 | - |
FAIL |  | fts_build_init_virtual |  | fts-storage.c |  | 1 | - |  | 16 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | fts_build_init |  | fts-storage.c |  | 1 | - |  | 40 | - |
FAIL |  | fts_build_deinit |  | fts-storage.c |  | 1 | - |  | 31 | - |
FAIL |  | fts_build_notify |  | fts-storage.c |  | 1 | - |  | 8 | - |
Pass |  | fts_build_more |  | fts-storage.c |  | 0 |  | 0 |
Pass |  | fts_search_init_lookup |  | fts-storage.c |  | 0 |  | 0 |
Pass |  | fts_try_build_init |  | fts-storage.c |  | 0 |  | 0 |
FAIL |  | fts_mailbox_search_init |  | fts-storage.c |  | 1 | - |  | 30 | - |
FAIL |  | fts_mailbox_search_next_nonblock |  | fts-storage.c |  | 1 | - |  | 13 | - |
Pass |  | fts_mailbox_sea ch_args_definite_set |  | fts-storage.c |  | 0 |  | 0 |
FAIL |  | search_nonindexed |  | fts-storage.c |  | 1 | - |  | 83 | - |
FAIL |  | fts_mailbox_search_next_update_seq |  | fts-storage.c |  | 1 | - |  | 4 | - |
FAIL |  | fts_mailbox_search_next_update_seq_virtual |  | fts-storage.c |  | 1 | - |  | 8 | - |
FAIL |  | fts_mailbox_search_deinit |  | fts-storage.c |  | 1 | - |  | 8 | - |
FAIL |  | fts_mail_expunge |  | fts-storage.c |  | 1 | - |  | 21 | - |
Pass |  | fts_score_cmp |  | fts-storage.c |  | 0 |  | 0 |
FAIL |  | fts_mail_get_special |  | fts-storage.c |  | 1 | - |  | 10 | - |
FAIL |  | fts_mail_allocated |  | fts-storage.c |  | 1 | - |  | 13 | - |
FAIL |  | fts_box_backends_init |  | fts-storage.c |  | 1 | - |  | 5 | - |
FAIL |  | fts_transaction_begin |  | fts-storage.c |  | 1 | - |  | 33 | - |
FAIL |  | fts_storage_build_context_deinit |  | fts-storage.c |  | 1 | - |  | 13 | - |
FAIL |  | fts_transaction_finish |  | fts-storage.c |  | 1 | - |  | 8 | - |
FAIL |  | fts_transaction_rollback |  | fts-storage.c |  | 1 | - |  | 21 | - |
FAIL |  | fts_transaction_commit |  | fts-storage.c |  | 1 | - |  | 21 | - |
FAIL |  | fts_mailbox_init |  | fts-storage.c |  | 1 | - |  | 12 | - |
Pass |  | fts_mailbox_allocated |  | fts-storage.c |  | 0 |  | 0 |
FAIL |  | acl_mailbox_open_as_admin |  | imap-acl-plugin.c |  | 1 | - |  | 11 | - |
Pass |  | imap_acl_letter_map_find |  | imap-acl-plugin.c |  | 0 |  | 0 |
Pass |  | imap_acl_write_rights_list |  | imap-acl-plugin.c |  | 0 |  | 0 |
FAIL |  | imap_acl_write_right |  | imap-acl-plugin.c |  | 1 | - |  | 2 | - |
FAIL |  | imap_acl_write_aclobj |  | imap-acl-plugin.c |  | 1 | - |  | 2 | - |
FAIL |  | cmd_getacl |  | imap-acl-plugin.c |  | 1 | - |  | 13 | - |
FAIL |  | cmd_myrights |  | imap-acl-plugin.c |  | 1 | - |  | 11 | - |
FAIL |  | cmd_listrights |  | imap-acl-plugin.c |  | 1 | - |  | 12 | - |
Pass |  | imap_acl_letters_parse |  | imap-acl-plugin.c |  | 0 |  | 0 |
Pass |  | acl_anyone_allow |  | imap-acl-plugin.c |  | 0 |  | 0 |
Pass |  | imap_acl_identifier_parse |  | imap-acl-plugin.c |  | 0 |  | 0 |
Pass |  | imap_acl_update ensure_keep_admins |  | imap-acl-plugin.c |  | 0 |  | 0 |
FAIL |  | cmd_setacl |  | imap-acl-plugin.c |  | 1 | - |  | 7 | - |
FAIL |  | cmd_deleteacl |  | imap-acl-plugin.c |  | 1 | - |  | 10 | - |
Pass |  | imap_acl_client_created |  | imap-acl-plugin.c |  | 0 |  | 0 |
Pass |  | imap_acl_plugin_init |  | imap-acl-plugin.c |  | 0 |  | 0 |
Pass |  | imap_acl_plugin_deinit |  | imap-acl-plugin.c |  | 0 |  | 0 |
FAIL |  | imap_quota_root_get_name |  | imap-quota-plugin.c |  | 1 | - |  | 7 | - |
FAIL |  | quota_reply_write |  | imap-quota-plugin.c |  | 1 | - |  | 10 | - |
FAIL |  | cmd_getquotaroot |  | imap-quota-plugin.c |  | 1 | - |  | 9 | - |
FAIL |  | cmd_getquota |  | imap-quota-plugin.c |  | 1 | - |  | 11 | - |
FAIL |  | cmd_setquota |  | imap-quota-plugin.c |  | 1 | - |  | 9 | - |
Pass |  | imap_quota_client_created |  | imap-quota-plugin.c |  | 0 |  | 0 |
Pass |  | imap_quota_plugin_init |  | imap-quota-plugin.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | imap_quota_plugin_deinit |  | imap-quota-plugin.c |  | 0 |  | 0 |
FAIL |  | client_skip_line |  | imap-zlib-plugin.c |  | 1 | - |  | 7 | - |
Pass |  | client_update_i ap_parser_streams |  | imap-zlib-plugin.c |  | 0 |  | 0 |
FAIL |  | cmd_compress |  | imap-zlib-plugin.c |  | 1 | - |  | 7 | - |
FAIL |  | imap_zlib_client_created |  | imap-zlib-plugin.c |  | 1 | - |  | 7 | - |
Pass |  | imap_zlib_plugin_init |  | imap-zlib-plugin.c |  | 0 |  | 0 |
Pass |  | imap_zlib_plugin_deinit |  | imap-zlib-plugin.c |  | 0 |  | 0 |
Pass |  | i_stream_bzlib_close |  | istream-bzlib.c |  | 0 |  | 0 |
Pass |  | bzlib_read_error |  | istream-bzlib.c |  | 0 |  | 0 |
FAIL |  | i_stream_bzlib_read |  | istream-bzlib.c |  | 1 | - |  | 1 | - |
Pass |  | i_stream_bzlib_init |  | istream-bzlib.c |  | 0 |  | 0 |
Pass |  | i_stream_bzlib_reset |  | istream-bzlib.c |  | 0 |  | 0 |
Pass |  | i_stream_bzlib_seek |  | istream-bzlib.c |  | 0 |  | 0 |
FAIL |  | i_stream_bzlib_stat |  | istream-bzlib.c |  | 1 | - |  | 4 | - |
Pass |  | i_stream_bzlib_sync |  | istream-bzlib.c |  | 0 |  | 0 |
FAIL |  | i_stream_create_bz2 |  | istream-bzlib.c |  | 1 | - |  | 9 | - |
Pass |  | i_stream_zlib_close |  | istream-zlib.c |  | 0 |  | 0 |
Pass |  | zlib_read_error |  | istream-zlib.c |  | 0 |  | 0 |
FAIL |  | i_stream_zlib_read_header |  | istream-zlib.c |  | 1 | - |  | 2 | - |
Pass |  | data_get_uint32 |  | istream-zlib.c |  | 0 |  | 0 |
FAIL |  | i_stream_zlib_read_trailer |  | istream-zlib.c |  | 1 | - |  | 5 | - |
FAIL |  | i_stream_zlib_read |  | istream-zlib.c |  | 1 | - |  | 1 | - |
Pass |  | i_stream_zlib_init |  | istream-zlib.c |  | 0 |  | 0 |
Pass |  | i_stream_zlib_reset |  | istream-zlib.c |  | 0 |  | 0 |
Pass |  | i_stream_zlib_seek |  | istream-zlib.c |  | 0 |  | 0 |
FAIL |  | i_stream_zlib_stat |  | istream-zlib.c |  | 1 | - |  | 4 | - |
Pass |  | i_stream_zlib_sync |  | istream-zlib.c |  | 0 |  | 0 |
FAIL |  | i_stream_create_zlib |  | istream-zlib.c |  | 1 | - |  | 9 | - |
Pass |  | i_stream_create_gz |  | istream-zlib.c |  | 0 |  | 0 |
Pass |  | i_stream_create_deflate |  | istream-zlib.c |  | 0 |  | 0 |
FAIL |  | mailbox_open_or_create |  | lazy-expunge-plugin.c |  | 1 | - |  | 11 | - |
FAIL |  | get_lazy_ns |  | lazy-expunge-plugin.c |  | 1 | - |  | 25 | - |
FAIL |  | lazy_expunge_mail_expunge |  | lazy-expunge-plugin.c |  | 1 | - |  | 13 | - |
FAIL |  | lazy_expunge_transaction_begin |  | lazy-expunge-plugin.c |  | 1 | - |  | 50 | - |
Pass |  | lazy_expunge_transaction_free |  | lazy-expunge-plugin.c |  | 0 |  | 0 |
FAIL |  | lazy_expunge_transaction_commit |  | lazy-expunge-plugin.c |  | 1 | - |  | 9 | - |
FAIL |  | lazy_expunge_transaction_rollback |  | lazy-expunge-plugin.c |  | 1 | - |  | 25 | - |
FAIL |  | lazy_expunge_mail_allocated |  | lazy-expunge-plugin.c |  | 1 | - |  | 16 | - |
FAIL |  | mailbox_move |  | lazy-expunge-plugin.c |  | 1 | - |  | 17 | - |
FAIL |  | mailbox_move_all_mails |  | lazy-expunge-plugin.c |  | 1 | - |  | 12 | - |
FAIL |  | mailbox_mark_index_undeleted |  | lazy-expunge-plugin.c |  | 1 | - |  | 7 | - |
FAIL |  | lazy_expunge_mailbox_delete |  | lazy-expunge-plugin.c |  | 1 | - |  | 9 | - |
FAIL |  | lazy_expunge_mailbox_rename |  | lazy-expunge-plugin.c |  | 1 | - |  | 15 | - |
FAIL |  | lazy_expunge_mailbox_allocated |  | lazy-expunge-plugin.c |  | 1 | - |  | 8 | - |
FAIL |  | lazy_expunge_mail_namespace_storage_added |  | lazy-expunge-plugin.c |  | 1 | - |  | 8 | - |
FAIL |  | lazy_expunge_mail_namespaces_created |  | lazy-expunge-plugin.c |  | 1 | - |  | 5 | - |
FAIL |  | lazy_expunge_mail_user_created |  | lazy-expunge-plugin.c |  | 1 | - |  | 7 | - |
Pass |  | lazy_expunge_plugin_init |  | lazy-expunge-plugin.c |  | 0 |  | 0 |
Pass |  | lazy_expunge_plugin_deinit |  | lazy-expunge-plugin.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | list_escape |  | listescape-plugin.c |  | 1 | - |  | 3 | - |
FAIL |  | list_unescape_str |  | listescape-plugin.c |  | 1 | - |  | 4 | - |
FAIL |  | listescape_mailbox_list_iter_init |  | listescape-plugin.c |  | 1 | - |  | 15 | - |
FAIL |  | listescape_find_orig_ns |  | listescape-plugin.c |  | 1 | - |  | 2 | - |
FAIL |  | listescape_mailbox_list_iter_next |  | listescape-plugin.c |  | 1 | - |  | 10 | - |
FAIL |  | listescape_mailbox_list_iter_deinit |  | listescape-plugin.c |  | 1 | - |  | 18 | - |
FAIL |  | listescape_mailbox_alloc |  | listescape-plugin.c |  | 1 | - |  | 6 | - |
FAIL |  | listescape_set_subscribed |  | listescape-plugin.c |  | 1 | - |  | 10 | - |
FAIL |  | listescape_get_mailbox_name_status |  | listescape-plugin.c |  | 1 | - |  | 18 | - |
FAIL |  | listescape_is_valid_existing_name |  | listescape-plugin.c |  | 1 | - |  | 18 | - |
FAIL |  | listescape_is_valid_create_name |  | listescape-plugin.c |  | 1 | - |  | 18 | - |
FAIL |  | listescape_mail_storage_created |  | listescape-plugin.c |  | 1 | - |  | 25 | - |
FAIL |  | listescape_mail_namespace_storage_added |  | listescape-plugin.c |  | 1 | - |  | 5 | - |
Pass |  | listescape_plugin_init |  | listescape-plugin.c |  | 0 |  | 0 |
Pass |  | listescape_plugin_deinit |  | listescape-plugin.c |  | 0 |  | 0 |
Pass |  | mail_log_field_find |  | mail-log-plugin.c |  | 0 |  | 0 |
Pass |  | mail_log_event_find |  | mail-log-plugin.c |  | 0 |  | 0 |
FAIL |  | mail_log_parse_fields |  | mail-log-plugin.c |  | 1 | - |  | 4 | - |
FAIL |  | mail_log_parse_events |  | mail-log-plugin.c |  | 1 | - |  | 4 | - |
FAIL |  | mail_log_read_settings |  | mail-log-plugin.c |  | 1 | - |  | 14 | - |
FAIL |  | mail_log_append_mailbox_name |  | mail-log-plugin.c |  | 1 | - |  | 20 | - |
FAIL |  | mail_log_append_mail_header |  | mail-log-plugin.c |  | 1 | - |  | 18 | - |
Pass |  | mail_log_append_uid |  | mail-log-plugin.c |  | 0 |  | 0 |
FAIL |  | mail_log_append_mail_message_real |  | mail-log-plugin.c |  | 1 | - |  | 3 | - |
Pass |  | mail_log_append_mail_message |  | mail-log-plugin.c |  | 0 |  | 0 |
FAIL |  | mail_log_mail_transaction_begin |  | mail-log-plugin.c |  | 1 | - |  | 43 | - |
Pass |  | mail_log_mail_save |  | mail-log-plugin.c |  | 0 |  | 0 |
FAIL |  | mail_log_mail_copy |  | mail-log-plugin.c |  | 1 | - |  | 6 | - |
Pass |  | mail_log_mail_expunge |  | mail-log-plugin.c |  | 0 |  | 0 |
Pass |  | mail_log_mail_update_flags |  | mail-log-plugin.c |  | 0 |  | 0 |
Pass |  | mail_log_mail_update_keywords |  | mail-log-plugin.c |  | 0 |  | 0 |
FAIL |  | mail_log_mail_transaction_commit |  | mail-log-plugin.c |  | 1 | - |  | 11 | - |
Pass |  | mail_log_mail_t ansaction_rollback |  | mail-log-plugin.c |  | 0 |  | 0 |
Pass |  | mail_log_mailbox_delete_commit |  | mail-log-plugin.c |  | 0 |  | 0 |
Pass |  | mail_log_mailbox_rename |  | mail-log-plugin.c |  | 0 |  | 0 |
Pass |  | mail_log_plugin_init |  | mail-log-plugin.c |  | 0 |  | 0 |
FAIL |  | mail_log_plugin_deinit |  | mail-log-plugin.c |  | 1 | - |  | 33 | - |
FAIL |  | mbox_snarf |  | mbox-snarf-plugin.c |  | 1 | - |  | 6 | - |
FAIL |  | mbox_snarf_sync_init |  | mbox-snarf-plugin.c |  | 1 | - |  | 23 | - |
FAIL |  | mbox_snarf_mailbox_alloc |  | mbox-snarf-plugin.c |  | 1 | - |  | 16 | - |
FAIL |  | mbox_snarf_mail_storage_create |  | mbox-snarf-plugin.c |  | 1 | - |  | 29 | - |
Pass |  | mbox_snarf_mail storage_created |  | mbox-snarf-plugin.c |  | 0 |  | 0 |
Pass |  | mbox_snarf_plugin_init |  | mbox-snarf-plugin.c |  | 0 |  | 0 |
Pass |  | mbox_snarf_plugin_deinit |  | mbox-snarf-plugin.c |  | 0 |  | 0 |
Pass |  | notify_noop_mai _transaction_begin |  | notify-noop.c |  | 0 |  | 0 |
Pass |  | notify_noop_mail_save |  | notify-noop.c |  | 0 |  | 0 |
Pass |  | notify_noop_mail_copy |  | notify-noop.c |  | 0 |  | 0 |
Pass |  | notify_noop_mail_expunge |  | notify-noop.c |  | 0 |  | 0 |
Pass |  | notify_noop_mail_update_flags |  | notify-noop.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | notify_noop_mai _update_keywords |  | notify-noop.c |  | 0 |  | 0 |
Pass |  | notify_noop_mai _transaction_commit |  | notify-noop.c |  | 0 |  | 0 |
Pass |  | notify_noop_mai _transaction_rollback |  | notify-noop.c |  | 0 |  | 0 |
Pass |  | notify_noop_mai box_delete_begin |  | notify-noop.c |  | 0 |  | 0 |
Pass |  | notify_noop_mai box_delete_commit |  | notify-noop.c |  | 0 |  | 0 |
Pass |  | notify_noop_mai box_delete_rollback |  | notify-noop.c |  | 0 |  | 0 |
Pass |  | notify_noop_mailbox_rename |  | notify-noop.c |  | 0 |  | 0 |
FAIL |  | notify_context_find_mail_txn |  | notify-plugin.c |  | 1 | - |  | 5 | - |
FAIL |  | notify_contexts_mail_transaction_begin |  | notify-plugin.c |  | 1 | - |  | 7 | - |
FAIL |  | notify_contexts_mail_save |  | notify-plugin.c |  | 1 | - |  | 13 | - |
FAIL |  | notify_contexts_mail_copy |  | notify-plugin.c |  | 1 | - |  | 13 | - |
FAIL |  | notify_contexts_mail_expunge |  | notify-plugin.c |  | 1 | - |  | 13 | - |
FAIL |  | notify_contexts_mail_update_flags |  | notify-plugin.c |  | 1 | - |  | 13 | - |
FAIL |  | notify_contexts_mail_update_keywords |  | notify-plugin.c |  | 1 | - |  | 13 | - |
FAIL |  | notify_contexts_mail_transaction_commit |  | notify-plugin.c |  | 1 | - |  | 7 | - |
FAIL |  | notify_contexts_mail_transaction_rollback |  | notify-plugin.c |  | 1 | - |  | 7 | - |
FAIL |  | notify_contexts_mailbox_delete_begin |  | notify-plugin.c |  | 1 | - |  | 8 | - |
FAIL |  | notify_contexts_mailbox_delete_commit |  | notify-plugin.c |  | 1 | - |  | 7 | - |
FAIL |  | notify_contexts_mailbox_delete_rollback |  | notify-plugin.c |  | 1 | - |  | 7 | - |
FAIL |  | notify_contexts_mailbox_rename |  | notify-plugin.c |  | 1 | - |  | 8 | - |
FAIL |  | notify_register |  | notify-plugin.c |  | 1 | - |  | 17 | - |
Pass |  | notify_unregister |  | notify-plugin.c |  | 0 |  | 0 |
Pass |  | notify_plugin_init |  | notify-plugin.c |  | 0 |  | 0 |
Pass |  | notify_plugin_deinit |  | notify-plugin.c |  | 0 |  | 0 |
FAIL |  | notify_mail_expunge |  | notify-storage.c |  | 1 | - |  | 33 | - |
FAIL |  | notify_mail_update_flags |  | notify-storage.c |  | 1 | - |  | 16 | - |
FAIL |  | notify_mail_update_keywords |  | notify-storage.c |  | 1 | - |  | 10 | - |
FAIL |  | notify_mail_allocated |  | notify-storage.c |  | 1 | - |  | 29 | - |
FAIL |  | notify_copy |  | notify-storage.c |  | 1 | - |  | 12 | - |
FAIL |  | notify_save_begin |  | notify-storage.c |  | 1 | - |  | 11 | - |
FAIL |  | notify_save_finish |  | notify-storage.c |  | 1 | - |  | 7 | - |
FAIL |  | notify_transaction_begin |  | notify-storage.c |  | 1 | - |  | 47 | - |
FAIL |  | notify_transaction_commit |  | notify-storage.c |  | 1 | - |  | 18 | - |
FAIL |  | notify_transaction_rollback |  | notify-storage.c |  | 1 | - |  | 20 | - |
FAIL |  | notify_mailbox_delete |  | notify-storage.c |  | 1 | - |  | 11 | - |
FAIL |  | notify_mailbox_rename |  | notify-storage.c |  | 1 | - |  | 12 | - |
FAIL |  | notify_mailbox_allocated |  | notify-storage.c |  | 1 | - |  | 16 | - |
Pass |  | notify_plugin_init_storage |  | notify-storage.c |  | 0 |  | 0 |
Pass |  | notify_plugin_deinit_storage |  | notify-storage.c |  | 0 |  | 0 |
Pass |  | zstream_copy_error |  | ostream-bzlib.c |  | 0 |  | 0 |
Pass |  | o_stream_bzlib_close |  | ostream-bzlib.c |  | 0 |  | 0 |
FAIL |  | o_stream_bzlib_send_chunk |  | ostream-bzlib.c |  | 1 | - |  | 7 | - |
FAIL |  | o_stream_bzlib_send_flush |  | ostream-bzlib.c |  | 1 | - |  | 4 | - |
Pass |  | o_stream_bzlib_flush |  | ostream-bzlib.c |  | 0 |  | 0 |
Pass |  | o_stream_bzlib_sendv |  | ostream-bzlib.c |  | 0 |  | 0 |
FAIL |  | o_stream_create_bz2 |  | ostream-bzlib.c |  | 1 | - |  | 5 | - |
Pass |  | zstream_copy_error |  | ostream-zlib.c |  | 0 |  | 0 |
Pass |  | o_stream_zlib_close |  | ostream-zlib.c |  | 0 |  | 0 |
FAIL |  | o_stream_zlib_send_gz_header |  | ostream-zlib.c |  | 1 | - |  | 12 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | o_stream_zlib_lsb_uint32 |  | ostream-zlib.c |  | 0 |  | 0 |
Pass |  | o_stream_zlib_send_gz_trailer |  | ostream-zlib.c |  | 0 |  | 0 |
FAIL |  | o_stream_zlib_send_chunk |  | ostream-zlib.c |  | 1 | - |  | 5 | - |
FAIL |  | o_stream_zlib_send_flush |  | ostream-zlib.c |  | 1 | - |  | 3 | - |
Pass |  | o_stream_zlib_flush |  | ostream-zlib.c |  | 0 |  | 0 |
Pass |  | o_stream_zlib_sendv |  | ostream-zlib.c |  | 0 |  | 0 |
FAIL |  | o_stream_zlib_init_gz_header |  | ostream-zlib.c |  | 1 | - |  | 3 | - |
FAIL |  | o_stream_create_zlib |  | ostream-zlib.c |  | 1 | - |  | 4 | - |
Pass |  | o_stream_create_gz |  | ostream-zlib.c |  | 0 |  | 0 |
Pass |  | o_stream_create_deflate |  | ostream-zlib.c |  | 0 |  | 0 |
FAIL |  | quota_count_mailbox |  | quota-count.c |  | 1 | - |  | 11 | - |
Pass |  | quota_count_namespace |  | quota-count.c |  | 0 |  | 0 |
FAIL |  | quota_count |  | quota-count.c |  | 1 | - |  | 6 | - |
FAIL |  | dict_quota_alloc |  | quota-dict.c |  | 1 | - |  | 20 | - |
FAIL |  | dict_quota_init |  | quota-dict.c |  | 1 | - |  | 3 | - |
Pass |  | dict_quota_deinit |  | quota-dict.c |  | 0 |  | 0 |
Pass |  | dict_quota_root_get_resources |  | quota-dict.c |  | 0 |  | 0 |
FAIL |  | dict_quota_count |  | quota-dict.c |  | 1 | - |  | 3 | - |
FAIL |  | dict_quota_get_resource |  | quota-dict.c |  | 1 | - |  | 3 | - |
Pass |  | dict_quota_update_callback |  | quota-dict.c |  | 0 |  | 0 |
FAIL |  | dict_quota_update |  | quota-dict.c |  | 1 | - |  | 5 | - |
Pass |  | dirsize_quota_alloc |  | quota-dirsize.c |  | 0 |  | 0 |
FAIL |  | dirsize_quota_deinit |  | quota-dirsize.c |  | 1 | - |  | 17 | - |
Pass |  | dirsize_quota_r ot_get_resources |  | quota-dirsize.c |  | 0 |  | 0 |
FAIL |  | get_dir_usage |  | quota-dirsize.c |  | 1 | - |  | 2 | - |
FAIL |  | get_usage |  | quota-dirsize.c |  | 1 | - |  | 3 | - |
FAIL |  | quota_count_path_add |  | quota-dirsize.c |  | 1 | - |  | 2 | - |
FAIL |  | get_quota_root_usage |  | quota-dirsize.c |  | 1 | - |  | 11 | - |
Pass |  | dirsize_quota_get_resource |  | quota-dirsize.c |  | 0 |  | 0 |
Pass |  | dirsize_quota_update |  | quota-dirsize.c |  | 0 |  | 0 |
FAIL |  | fs_quota_alloc |  | quota-fs.c |  | 1 | - |  | 29 | - |
FAIL |  | quota_fs_mail_user_get_temp_prefix |  | quota-fs.c |  | 1 | - |  | 33 | - |
FAIL |  | fs_quota_init |  | quota-fs.c |  | 1 | - |  | 1 | - |
FAIL |  | fs_quota_mountpoint_free |  | quota-fs.c |  | 1 | - |  | 12 | - |
FAIL |  | fs_quota_deinit |  | quota-fs.c |  | 1 | - |  | 11 | - |
FAIL |  | fs_quota_mountpoint_get |  | quota-fs.c |  | 1 | - |  | 22 | - |
FAIL |  | fs_quota_root_find_mountpoint |  | quota-fs.c |  | 1 | - |  | 4 | - |
FAIL |  | fs_quota_mount_init |  | quota-fs.c |  | 1 | - |  | 6 | - |
FAIL |  | fs_quota_add_missing_mounts |  | quota-fs.c |  | 1 | - |  | 3 | - |
FAIL |  | fs_quota_namespace_added |  | quota-fs.c |  | 1 | - |  | 7 | - |
Pass |  | fs_quota_root_get_resources |  | quota-fs.c |  | 0 |  | 0 |
FAIL |  | do_rquota_user |  | quota-fs.c |  | 1 | - |  | 6 | - |
Pass |  | do_rquota_group |  | quota-fs.c |  | 0 |  | 0 |
Pass |  | fs_quota_root_disable |  | quota-fs.c |  | 0 |  | 0 |
Pass |  | fs_quota_get_linux |  | quota-fs.c |  | 0 |  | 0 |
Pass |  | fs_quota_get_one_resource |  | quota-fs.c |  | 0 |  | 0 |
FAIL |  | fs_quota_match_box |  | quota-fs.c |  | 1 | - |  | 2 | - |
Pass |  | fs_quota_get_resource |  | quota-fs.c |  | 0 |  | 0 |
Pass |  | fs_quota_update |  | quota-fs.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | maildir_sum_dir |  | quota-maildir.c |  | 1 | - |  | 4 | - |
FAIL |  | maildir_list_init |  | quota-maildir.c |  | 1 | - |  | 33 | - |
FAIL |  | maildir_list_next |  | quota-maildir.c |  | 1 | - |  | 4 | - |
FAIL |  | maildir_list_deinit |  | quota-maildir.c |  | 1 | - |  | 13 | - |
FAIL |  | maildirs_check_have_changed |  | quota-maildir.c |  | 1 | - |  | 6 | - |
FAIL |  | maildirsize_write |  | quota-maildir.c |  | 1 | - |  | 6 | - |
Pass |  | maildirsize_recalculate_init |  | quota-maildir.c |  | 0 |  | 0 |
FAIL |  | maildirsize_recalculate_namespace |  | quota-maildir.c |  | 1 | - |  | 5 | - |
Pass |  | maildirsize_rebuild_later |  | quota-maildir.c |  | 0 |  | 0 |
Pass |  | maildirsize_recalculate_finish |  | quota-maildir.c |  | 0 |  | 0 |
FAIL |  | maildirsize_recalculate |  | quota-maildir.c |  | 1 | - |  | 6 | - |
FAIL |  | maildir_parse_limit |  | quota-maildir.c |  | 1 | - |  | 6 | - |
Pass |  | maildirsize_parse |  | quota-maildir.c |  | 0 |  | 0 |
Pass |  | maildirsize_open |  | quota-maildir.c |  | 0 |  | 0 |
Pass |  | maildirsize_has_changed |  | quota-maildir.c |  | 0 |  | 0 |
FAIL |  | maildirsize_read |  | quota-maildir.c |  | 1 | - |  | 2 | - |
Pass |  | maildirquota_limits_init |  | quota-maildir.c |  | 0 |  | 0 |
Pass |  | maildirquota_read_limits |  | quota-maildir.c |  | 0 |  | 0 |
Pass |  | maildirquota_refresh |  | quota-maildir.c |  | 0 |  | 0 |
FAIL |  | maildirsize_update |  | quota-maildir.c |  | 1 | - |  | 6 | - |
FAIL |  | maildir_quota_alloc |  | quota-maildir.c |  | 1 | - |  | 33 | - |
FAIL |  | maildir_quota_init |  | quota-maildir.c |  | 1 | - |  | 2 | - |
Pass |  | maildir_quota_deinit |  | quota-maildir.c |  | 0 |  | 0 |
Pass |  | maildir_quota_parse_rule |  | quota-maildir.c |  | 0 |  | 0 |
Pass |  | maildir_quota_init_limits |  | quota-maildir.c |  | 0 |  | 0 |
FAIL |  | maildir_quota_root_namespace_added |  | quota-maildir.c |  | 1 | - |  | 7 | - |
FAIL |  | maildir_quota_namespace_added |  | quota-maildir.c |  | 1 | - |  | 3 | - |
Pass |  | maildir_quota_r ot_get_resources |  | quota-maildir.c |  | 0 |  | 0 |
FAIL |  | maildir_quota_get_resource |  | quota-maildir.c |  | 1 | - |  | 3 | - |
FAIL |  | maildir_quota_update |  | quota-maildir.c |  | 1 | - |  | 5 | - |
Pass |  | quota_plugin_init |  | quota-plugin.c |  | 0 |  | 0 |
Pass |  | quota_plugin_deinit |  | quota-plugin.c |  | 0 |  | 0 |
FAIL |  | quota_mail_expunge |  | quota-storage.c |  | 1 | - |  | 18 | - |
FAIL |  | quota_mailbox_transaction_begin |  | quota-storage.c |  | 1 | - |  | 47 | - |
FAIL |  | quota_mailbox_transaction_commit |  | quota-storage.c |  | 1 | - |  | 12 | - |
FAIL |  | quota_mailbox_transaction_rollback |  | quota-storage.c |  | 1 | - |  | 19 | - |
FAIL |  | quota_mail_allocated |  | quota-storage.c |  | 1 | - |  | 16 | - |
FAIL |  | quota_check |  | quota-storage.c |  | 1 | - |  | 12 | - |
FAIL |  | quota_copy |  | quota-storage.c |  | 1 | - |  | 11 | - |
FAIL |  | quota_save_begin |  | quota-storage.c |  | 1 | - |  | 13 | - |
FAIL |  | quota_save_finish |  | quota-storage.c |  | 1 | - |  | 16 | - |
Pass |  | quota_mailbox_sync_cleanup |  | quota-storage.c |  | 0 |  | 0 |
Pass |  | quota_mailbox_sync_commit |  | quota-storage.c |  | 0 |  | 0 |
FAIL |  | quota_mailbox_sync_notify |  | quota-storage.c |  | 1 | - |  | 5 | - |
FAIL |  | quota_mailbox_sync_deinit |  | quota-storage.c |  | 1 | - |  | 17 | - |
FAIL |  | quota_mailbox_delete_shrink_quota |  | quota-storage.c |  | 1 | - |  | 15 | - |
FAIL |  | quota_mailbox_delete |  | quota-storage.c |  | 1 | - |  | 4 | - |
FAIL |  | quota_mailbox_free |  | quota-storage.c |  | 1 | - |  | 6 | - |
FAIL |  | quota_mailbox_allocated |  | quota-storage.c |  | 1 | - |  | 6 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | quota_mailbox_list_deinit |  | quota-storage.c |  | 1 | - |  | 22 | - |
FAIL |  | quota_get_mail_user_quota |  | quota-storage.c |  | 1 | - |  | 13 | - |
FAIL |  | quota_user_deinit |  | quota-storage.c |  | 1 | - |  | 20 | - |
FAIL |  | quota_mail_user_created |  | quota-storage.c |  | 1 | - |  | 7 | - |
FAIL |  | quota_find_root_for_ns |  | quota-storage.c |  | 1 | - |  | 4 | - |
FAIL |  | quota_mail_namespace_storage_added |  | quota-storage.c |  | 1 | - |  | 9 | - |
FAIL |  | quota_root_set_namespace |  | quota-storage.c |  | 1 | - |  | 3 | - |
FAIL |  | quota_mail_namespaces_created |  | quota-storage.c |  | 1 | - |  | 11 | - |
FAIL |  | quota_root_add_rules |  | quota.c |  | 1 | - |  | 14 | - |
FAIL |  | quota_root_add_warning_rules |  | quota.c |  | 1 | - |  | 3 | - |
FAIL |  | quota_user_read_settings |  | quota.c |  | 1 | - |  | 9 | - |
Pass |  | quota_settings_deinit |  | quota.c |  | 0 |  | 0 |
FAIL |  | quota_backend_find |  | quota.c |  | 1 | - |  | 5 | - |
FAIL |  | quota_root_settings_init |  | quota.c |  | 1 | - |  | 8 | - |
FAIL |  | quota_root_init |  | quota.c |  | 1 | - |  | 3 | - |
Pass |  | quota_root_deinit |  | quota.c |  | 0 |  | 0 |
FAIL |  | quota_init |  | quota.c |  | 1 | - |  | 17 | - |
FAIL |  | quota_deinit |  | quota.c |  | 1 | - |  | 7 | - |
FAIL |  | quota_root_rule_find |  | quota.c |  | 1 | - |  | 5 | - |
Pass |  | quota_rule_parse_percentage |  | quota.c |  | 0 |  | 0 |
Pass |  | quota_rule_reca culate_relative_rules |  | quota.c |  | 0 |  | 0 |
Pass |  | quota_root_reca culate_relative_rules |  | quota.c |  | 0 |  | 0 |
FAIL |  | quota_rule_parse_limits |  | quota.c |  | 1 | - |  | 6 | - |
FAIL |  | quota_root_add_rule |  | quota.c |  | 1 | - |  | 5 | - |
Pass |  | quota_root_get_rule_limits |  | quota.c |  | 0 |  | 0 |
FAIL |  | quota_add_user_namespace |  | quota.c |  | 1 | - |  | 5 | - |
FAIL |  | quota_remove_user_namespace |  | quota.c |  | 1 | - |  | 5 | - |
FAIL |  | quota_root_add_warning_rule |  | quota.c |  | 1 | - |  | 4 | - |
FAIL |  | quota_root_iter_init |  | quota.c |  | 1 | - |  | 42 | - |
Pass |  | quota_root_is_n mespace_visible |  | quota.c |  | 0 |  | 0 |
Pass |  | quota_root_is_visible |  | quota.c |  | 0 |  | 0 |
FAIL |  | quota_root_iter_next |  | quota.c |  | 1 | - |  | 5 | - |
FAIL |  | quota_root_iter_deinit |  | quota.c |  | 1 | - |  | 14 | - |
FAIL |  | quota_root_lookup |  | quota.c |  | 1 | - |  | 9 | - |
Pass |  | quota_root_get_name |  | quota.c |  | 0 |  | 0 |
Pass |  | quota_root_get_resources |  | quota.c |  | 0 |  | 0 |
FAIL |  | quota_get_resource |  | quota.c |  | 1 | - |  | 6 | - |
Pass |  | quota_set_resource |  | quota.c |  | 0 |  | 0 |
FAIL |  | quota_transaction_begin |  | quota.c |  | 1 | - |  | 29 | - |
FAIL |  | quota_transaction_set_limits |  | quota.c |  | 1 | - |  | 6 | - |
FAIL |  | quota_warning_execute |  | quota.c |  | 1 | - |  | 8 | - |
FAIL |  | quota_warnings_execute |  | quota.c |  | 1 | - |  | 5 | - |
FAIL |  | quota_transaction_commit |  | quota.c |  | 1 | - |  | 4 | - |
FAIL |  | quota_transaction_rollback |  | quota.c |  | 1 | - |  | 14 | - |
FAIL |  | quota_try_alloc |  | quota.c |  | 1 | - |  | 8 | - |
Pass |  | quota_test_alloc |  | quota.c |  | 0 |  | 0 |
FAIL |  | quota_default_test_alloc |  | quota.c |  | 1 | - |  | 5 | - |
FAIL |  | quota_alloc |  | quota.c |  | 1 | - |  | 20 | - |
FAIL |  | quota_free |  | quota.c |  | 1 | - |  | 12 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
Pass |  | quota_free_bytes |  | quota.c |  | 0 |  | 0 |
Pass |  | quota_recalculate |  | quota.c |  | 0 |  | 0 |
Pass |  | curl_output_func |  | solr-connection.c |  | 0 |  | 0 |
Pass |  | solr_xml_parse |  | solr-connection.c |  | 0 |  | 0 |
Pass |  | curl_input_func |  | solr-connection.c |  | 0 |  | 0 |
FAIL |  | curl_header_func |  | solr-connection.c |  | 1 | - |  | 2 | - |
FAIL |  | solr_connection_init |  | solr-connection.c |  | 1 | - |  | 6 | - |
FAIL |  | solr_connection_deinit |  | solr-connection.c |  | 1 | - |  | 28 | - |
FAIL |  | solr_connection_http_escape |  | solr-connection.c |  | 1 | - |  | 20 | - |
Pass |  | attrs_get_name |  | solr-connection.c |  | 0 |  | 0 |
FAIL |  | solr_lookup_xml_start |  | solr-connection.c |  | 1 | - |  | 2 | - |
FAIL |  | solr_lookup_add_doc |  | solr-connection.c |  | 1 | - |  | 2 | - |
Pass |  | solr_lookup_xml_end |  | solr-connection.c |  | 0 |  | 0 |
Pass |  | uint32_parse |  | solr-connection.c |  | 0 |  | 0 |
FAIL |  | solr_lookup_xml_data |  | solr-connection.c |  | 1 | - |  | 3 | - |
FAIL |  | solr_connection_select |  | solr-connection.c |  | 1 | - |  | 19 | - |
FAIL |  | solr_connection_post_begin |  | solr-connection.c |  | 1 | - |  | 7 | - |
FAIL |  | solr_connection_post_more |  | solr-connection.c |  | 1 | - |  | 6 | - |
FAIL |  | solr_connection_post_end |  | solr-connection.c |  | 1 | - |  | 11 | - |
FAIL |  | solr_connection_post |  | solr-connection.c |  | 1 | - |  | 23 | - |
Pass |  | uni_utf8_char_bytes |  | unichar.h analysed in squat-test.c |  | 0 |  | 0 |
FAIL |  | result_print |  | squat-test.c |  | 1 | - |  | 3 | - |
FAIL |  | main |  | squat-test.c |  | 1 | - |  | 10 | - |
FAIL |  | squat_pack_num |  | squat-trie-private.h analysed in squat-trie.c |  | 1 | - |  | 15 | - |
FAIL |  | squat_unpack_num |  | squat-trie-private.h analysed in squat-trie.c |  | 1 | - |  | 3 | - |
Pass |  | squat_trie_delete |  | squat-trie.c |  | 0 |  | 0 |
Pass |  | squat_trie_set_corrupted |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | squat_trie_normalize_map_build |  | squat-trie.c |  | 1 | - |  | 2 | - |
FAIL |  | node_free |  | squat-trie.c |  | 1 | - |  | 5 | - |
FAIL |  | squat_trie_init |  | squat-trie.c |  | 1 | - |  | 18 | - |
Pass |  | squat_trie_close_fd |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | squat_trie_close |  | squat-trie.c |  | 1 | - |  | 11 | - |
FAIL |  | squat_trie_deinit |  | squat-trie.c |  | 1 | - |  | 40 | - |
Pass |  | squat_trie_set_partial_len |  | squat-trie.c |  | 0 |  | 0 |
Pass |  | squat_trie_set_full_len |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | squat_trie_header_init |  | squat-trie.c |  | 1 | - |  | 22 | - |
Pass |  | squat_trie_open_fd |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | squat_trie_open |  | squat-trie.c |  | 1 | - |  | 50 | - |
FAIL |  | squat_trie_is_file_stale |  | squat-trie.c |  | 1 | - |  | 1 | - |
FAIL |  | squat_trie_refresh |  | squat-trie.c |  | 1 | - |  | 8 | - |
FAIL |  | squat_trie_lock |  | squat-trie.c |  | 1 | - |  | 5 | - |
FAIL |  | node_make_squential |  | squat-trie.c |  | 1 | - |  | 2 | - |
Pass |  | node_add_child |  | squat-trie.c |  | 0 |  | 0 |
Pass |  | trie_file_cache_read |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | node_read_children |  | squat-trie.c |  | 1 | - |  | 4 | - |
FAIL |  | node_write_children |  | squat-trie.c |  | 1 | - |  | 2 | - |
Pass |  | node_add_uid |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | node_split_string |  | squat-trie.c |  | 1 | - |  | 5 | - |
Pass |  | node_leaf_string_add_or_split |  | squat-trie.c |  | 0 |  | 0 |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | squat_build_add |  | squat-trie.c |  | 1 | - |  | 3 | - |
FAIL |  | squat_build_word_bytes |  | squat-trie.c |  | 1 | - |  | 3 | - |
FAIL |  | squat_build_word |  | squat-trie.c |  | 1 | - |  | 2 | - |
Pass |  | squat_data_normalize |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | squat_trie_build_more_real |  | squat-trie.c |  | 1 | - |  | 3 | - |
Pass |  | squat_trie_build_more |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | node_drop_unused_children |  | squat-trie.c |  | 1 | - |  | 2 | - |
FAIL |  | squat_write_node |  | squat-trie.c |  | 1 | - |  | 3 | - |
FAIL |  | squat_write_nodes |  | squat-trie.c |  | 1 | - |  | 6 | - |
FAIL |  | squat_trie_iterate_init |  | squat-trie.c |  | 1 | - |  | 30 | - |
Pass |  | squat_trie_iterate_deinit |  | squat-trie.c |  | 0 |  | 0 |
Pass |  | squat_trie_iterate_first |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | squat_trie_iterate_next |  | squat-trie.c |  | 1 | - |  | 5 | - |
FAIL |  | squat_uidlist_update_expunged_uids |  | squat-trie.c |  | 1 | - |  | 4 | - |
FAIL |  | squat_trie_expunge_uidlists |  | squat-trie.c |  | 1 | - |  | 16 | - |
FAIL |  | squat_trie_renumber_uidlists2 |  | squat-trie.c |  | 1 | - |  | 13 | - |
FAIL |  | squat_trie_renumber_uidlists |  | squat-trie.c |  | 1 | - |  | 10 | - |
Pass |  | squat_trie_check_header |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | squat_trie_map_header |  | squat-trie.c |  | 1 | - |  | 1 | - |
FAIL |  | squat_trie_map |  | squat-trie.c |  | 1 | - |  | 6 | - |
Pass |  | squat_trie_create_fd |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | squat_trie_build_init |  | squat-trie.c |  | 1 | - |  | 8 | - |
Pass |  | squat_trie_write_lock |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | squat_trie_write |  | squat-trie.c |  | 1 | - |  | 4 | - |
FAIL |  | squat_trie_build_deinit |  | squat-trie.c |  | 1 | - |  | 10 | - |
Pass |  | squat_trie_get_last_uid |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | squat_trie_lookup_data |  | squat-trie.c |  | 1 | - |  | 2 | - |
FAIL |  | squat_trie_filter_type |  | squat-trie.c |  | 1 | - |  | 1 | - |
Pass |  | squat_trie_lookup_partial |  | squat-trie.c |  | 0 |  | 0 |
FAIL |  | squat_trie_add_unknown |  | squat-trie.c |  | 1 | - |  | 3 | - |
FAIL |  | squat_trie_lookup_real |  | squat-trie.c |  | 1 | - |  | 11 | - |
Pass |  | squat_trie_lookup |  | squat-trie.c |  | 0 |  | 0 |
Pass |  | squat_trie_get_uidlist |  | squat-trie.c |  | 0 |  | 0 |
Pass |  | squat_trie_mem_used |  | squat-trie.c |  | 0 |  | 0 |
Pass |  | squat_uidlist_delete |  | squat-uidlist.c |  | 0 |  | 0 |
Pass |  | squat_uidlist_set_corrupted |  | squat-uidlist.c |  | 0 |  | 0 |
FAIL |  | uidlist_write_array |  | squat-uidlist.c |  | 1 | - |  | 4 | - |
FAIL |  | uidlist_write |  | squat-uidlist.c |  | 1 | - |  | 3 | - |
FAIL |  | squat_uidlist_map_blocks_set_pointers |  | squat-uidlist.c |  | 1 | - |  | 6 | - |
Pass |  | uidlist_file_cache_read |  | squat-uidlist.c |  | 0 |  | 0 |
FAIL |  | squat_uidlist_map_blocks |  | squat-uidlist.c |  | 1 | - |  | 2 | - |
FAIL |  | squat_uidlist_map_header |  | squat-uidlist.c |  | 1 | - |  | 2 | - |
Pass |  | squat_uidlist_unmap |  | squat-uidlist.c |  | 0 |  | 0 |
FAIL |  | squat_uidlist_mmap |  | squat-uidlist.c |  | 1 | - |  | 5 | - |
FAIL |  | squat_uidlist_map |  | squat-uidlist.c |  | 1 | - |  | 3 | - |
Pass |  | squat_uidlist_read_to_memory |  | squat-uidlist.c |  | 0 |  | 0 |
Pass |  | squat_uidlist_free_from_memory |  | squat-uidlist.c |  | 0 |  | 0 |
FAIL |  | squat_uidlist_init |  | squat-uidlist.c |  | 1 | - |  | 38 | - |
FAIL |  | squat_uidlist_deinit |  | squat-uidlist.c |  | 1 | - |  | 31 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | squat_uidlist_open |  | squat-uidlist.c |  | 1 | - |  | 12 | - |
Pass |  | squat_uidlist_close |  | squat-uidlist.c |  | 0 |  | 0 |
Pass |  | squat_uidlist_refresh |  | squat-uidlist.c |  | 0 |  | 0 |
FAIL |  | squat_uidlist_is_file_stale |  | squat-uidlist.c |  | 1 | - |  | 2 | - |
Pass |  | squat_uidlist_lock |  | squat-uidlist.c |  | 0 |  | 0 |
FAIL |  | squat_uidlist_open_or_create |  | squat-uidlist.c |  | 1 | - |  | 7 | - |
FAIL |  | squat_uidlist_build_init |  | squat-uidlist.c |  | 1 | - |  | 3 | - |
Pass |  | uidlist_write_b ock_list_and_header |  | squat-uidlist.c |  | 0 |  | 0 |
FAIL |  | squat_uidlist_build_flush |  | squat-uidlist.c |  | 1 | - |  | 4 | - |
FAIL |  | squat_uidlist_build_finish |  | squat-uidlist.c |  | 1 | - |  | 3 | - |
FAIL |  | squat_uidlist_build_deinit |  | squat-uidlist.c |  | 1 | - |  | 2 | - |
FAIL |  | squat_uidlist_rebuild_init |  | squat-uidlist.c |  | 1 | - |  | 3 | - |
FAIL |  | uidlist_rebuild_flush_block |  | squat-uidlist.c |  | 1 | - |  | 6 | - |
Pass |  | squat_uidlist_rebuild_next |  | squat-uidlist.c |  | 0 |  | 0 |
FAIL |  | squat_uidlist_rebuild_nextu |  | squat-uidlist.c |  | 1 | - |  | 5 | - |
FAIL |  | squat_uidlist_rebuild_finish |  | squat-uidlist.c |  | 1 | - |  | 5 | - |
Pass |  | uidlist_flush |  | squat-uidlist.c |  | 0 |  | 0 |
FAIL |  | uidlist_add_new |  | squat-uidlist.c |  | 1 | - |  | 11 | - |
FAIL |  | squat_uidlist_build_add_uid |  | squat-uidlist.c |  | 1 | - |  | 5 | - |
Pass |  | uidlist_array_append |  | squat-uidlist.c |  | 0 |  | 0 |
Pass |  | uidlist_array_append_range |  | squat-uidlist.c |  | 0 |  | 0 |
FAIL |  | squat_uidlist_get_at_offset |  | squat-uidlist.c |  | 1 | - |  | 4 | - |
Pass |  | uint32_cmp |  | squat-uidlist.c |  | 0 |  | 0 |
FAIL |  | squat_uidlist_get_offset |  | squat-uidlist.c |  | 1 | - |  | 4 | - |
FAIL |  | squat_uidlist_get |  | squat-uidlist.c |  | 1 | - |  | 9 | - |
Pass |  | squat_uidlist_s ngleton_last_uid |  | squat-uidlist.c |  | 0 |  | 0 |
FAIL |  | squat_uidlist_get_seqrange |  | squat-uidlist.c |  | 1 | - |  | 11 | - |
FAIL |  | squat_uidlist_filter |  | squat-uidlist.c |  | 1 | - |  | 7 | - |
Pass |  | squat_uidlist_mem_used |  | squat-uidlist.c |  | 0 |  | 0 |
FAIL |  | trash_clean_mailbox_open |  | trash-plugin.c |  | 1 | - |  | 4 | - |
Pass |  | trash_clean_mailbox_get_next |  | trash-plugin.c |  | 0 |  | 0 |
FAIL |  | trash_try_clean_mails |  | trash-plugin.c |  | 1 | - |  | 3 | - |
Pass |  | trash_quota_test_alloc |  | trash-plugin.c |  | 0 |  | 0 |
FAIL |  | trash_find_storage |  | trash-plugin.c |  | 1 | - |  | 3 | - |
Pass |  | trash_mailbox_priority_cmp |  | trash-plugin.c |  | 0 |  | 0 |
FAIL |  | read_configuration |  | trash-plugin.c |  | 1 | - |  | 6 | - |
FAIL |  | trash_mail_namespaces_created |  | trash-plugin.c |  | 1 | - |  | 2 | - |
Pass |  | trash_plugin_init |  | trash-plugin.c |  | 0 |  | 0 |
Pass |  | trash_plugin_deinit |  | trash-plugin.c |  | 0 |  | 0 |
FAIL |  | virtual_search_args_parse |  | virtual-config.c |  | 1 | - |  | 19 | - |
FAIL |  | virtual_config_add_rule |  | virtual-config.c |  | 1 | - |  | 3 | - |
FAIL |  | virtual_config_parse_line |  | virtual-config.c |  | 1 | - |  | 3 | - |
FAIL |  | virtual_mailbox_get_list_patterns |  | virtual-config.c |  | 1 | - |  | 5 | - |
FAIL |  | separate_wildcard_mailboxes |  | virtual-config.c |  | 1 | - |  | 1 | - |
FAIL |  | virtual_config_copy_expanded |  | virtual-config.c |  | 1 | - |  | 8 | - |
FAIL |  | virtual_config_match |  | virtual-config.c |  | 1 | - |  | 2 | - |
FAIL |  | virtual_config_expand_wildcards |  | virtual-config.c |  | 1 | - |  | 9 | - |
FAIL |  | virtual_config_search_args_dup |  | virtual-config.c |  | 1 | - |  | 11 | - |
FAIL |  | virtual_config_read |  | virtual-config.c |  | 1 | - |  | 10 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | virtual_config_free |  | virtual-config.c |  | 1 | - |  | 3 | - |
FAIL |  | virtual_mail_alloc |  | virtual-mail.c |  | 1 | - |  | 13 | - |
FAIL |  | virtual_mail_free |  | virtual-mail.c |  | 1 | - |  | 3 | - |
FAIL |  | backend_mail_find |  | virtual-mail.c |  | 1 | - |  | 5 | - |
FAIL |  | virtual_mail_set_backend_mail |  | virtual-mail.c |  | 1 | - |  | 10 | - |
FAIL |  | virtual_mail_set_seq |  | virtual-mail.c |  | 1 | - |  | 13 | - |
FAIL |  | virtual_mail_set_uid |  | virtual-mail.c |  | 1 | - |  | 13 | - |
Pass |  | virtual_mail_se _uid_cache_updates |  | virtual-mail.c |  | 0 |  | 0 |
Pass |  | virtual_mail_handle_lost |  | virtual-mail.c |  | 0 |  | 0 |
Pass |  | virtual_mail_get_parts |  | virtual-mail.c |  | 0 |  | 0 |
FAIL |  | virtual_mail_get_date |  | virtual-mail.c |  | 1 | - |  | 7 | - |
Pass |  | virtual_mail_get_received_date |  | virtual-mail.c |  | 0 |  | 0 |
Pass |  | virtual_mail_get_save_date |  | virtual-mail.c |  | 0 |  | 0 |
Pass |  | virtual_mail_ge _virtual_mail_size |  | virtual-mail.c |  | 0 |  | 0 |
Pass |  | virtual_mail_get_physical_size |  | virtual-mail.c |  | 0 |  | 0 |
Pass |  | virtual_mail_get_first_header |  | virtual-mail.c |  | 0 |  | 0 |
Pass |  | virtual_mail_get_headers |  | virtual-mail.c |  | 0 |  | 0 |
FAIL |  | virtual_mail_get_header_stream |  | virtual-mail.c |  | 1 | - |  | 4 | - |
Pass |  | virtual_mail_get_stream |  | virtual-mail.c |  | 0 |  | 0 |
FAIL |  | virtual_mail_get_special |  | virtual-mail.c |  | 1 | - |  | 5 | - |
Pass |  | virtual_mail_get_real_mail |  | virtual-mail.c |  | 0 |  | 0 |
Pass |  | virtual_mail_update_pop3_uidl |  | virtual-mail.c |  | 0 |  | 0 |
Pass |  | virtual_mail_expunge |  | virtual-mail.c |  | 0 |  | 0 |
Pass |  | virtual_mail_se _cache_corrupted |  | virtual-mail.c |  | 0 |  | 0 |
Pass |  | virtual_plugin_init |  | virtual-plugin.c |  | 0 |  | 0 |
Pass |  | virtual_plugin_deinit |  | virtual-plugin.c |  | 0 |  | 0 |
FAIL |  | virtual_save_alloc |  | virtual-save.c |  | 1 | - |  | 9 | - |
FAIL |  | virtual_copy_keywords |  | virtual-save.c |  | 1 | - |  | 9 | - |
FAIL |  | virtual_save_begin |  | virtual-save.c |  | 1 | - |  | 3 | - |
Pass |  | virtual_save_continue |  | virtual-save.c |  | 0 |  | 0 |
Pass |  | virtual_save_finish |  | virtual-save.c |  | 0 |  | 0 |
Pass |  | virtual_save_cancel |  | virtual-save.c |  | 0 |  | 0 |
Pass |  | virtual_save_free |  | virtual-save.c |  | 0 |  | 0 |
Pass |  | virtual_search_record_cmp |  | virtual-search.c |  | 0 |  | 0 |
Pass |  | mail_search_get_result |  | virtual-search.c |  | 0 |  | 0 |
FAIL |  | virtual_search_get_records |  | virtual-search.c |  | 1 | - |  | 6 | - |
FAIL |  | virtual_search_init |  | virtual-search.c |  | 1 | - |  | 17 | - |
FAIL |  | virtual_search_deinit |  | virtual-search.c |  | 1 | - |  | 15 | - |
FAIL |  | virtual_search_next_nonblock |  | virtual-search.c |  | 1 | - |  | 5 | - |
Pass |  | search_args_set_full_match |  | virtual-search.c |  | 0 |  | 0 |
FAIL |  | virtual_search_next_update_seq |  | virtual-search.c |  | 1 | - |  | 5 | - |
Pass |  | ns_is_visible |  | virtual-storage.c |  | 0 |  | 0 |
Pass |  | get_user_visible_mailbox_name |  | virtual-storage.c |  | 0 |  | 0 |
FAIL |  | virtual_box_copy_error |  | virtual-storage.c |  | 1 | - |  | 63 | - |
FAIL |  | virtual_storage_alloc |  | virtual-storage.c |  | 1 | - |  | 18 | - |
Pass |  | virtual_storage get_list_settings |  | virtual-storage.c |  | 0 |  | 0 |
FAIL |  | virtual_backend_box_lookup_name |  | virtual-storage.c |  | 1 | - |  | 5 | - |
FAIL |  | virtual_backend_box_lookup |  | virtual-storage.c |  | 1 | - |  | 3 | - |
FAIL |  | virtual_mailbox_is_in_open_stack |  | virtual-storage.c |  | 1 | - |  | 4 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | virtual_backend_box_open_failed |  | virtual-storage.c |  | 1 | - |  | 16 | - |
FAIL |  | virtual_backend_box_open |  | virtual-storage.c |  | 1 | - |  | 6 | - |
FAIL |  | virtual_mailboxes_open |  | virtual-storage.c |  | 1 | - |  | 2 | - |
FAIL |  | virtual_mailbox_alloc |  | virtual-storage.c |  | 1 | - |  | 13 | - |
FAIL |  | virtual_mailbox_close_internal |  | virtual-storage.c |  | 1 | - |  | 2 | - |
Pass |  | virtual_mailbox_open |  | virtual-storage.c |  | 0 |  | 0 |
Pass |  | virtual_mailbox_close |  | virtual-storage.c |  | 0 |  | 0 |
Pass |  | virtual_mailbox_free |  | virtual-storage.c |  | 0 |  | 0 |
Pass |  | virtual_mailbox_create |  | virtual-storage.c |  | 0 |  | 0 |
Pass |  | virtual_mailbox_update |  | virtual-storage.c |  | 0 |  | 0 |
Pass |  | virtual_mailbox_get_guid |  | virtual-storage.c |  | 0 |  | 0 |
Pass |  | virtual_notify_changes |  | virtual-storage.c |  | 0 |  | 0 |
FAIL |  | virtual_list_get_mailbox_flags |  | virtual-storage.c |  | 1 | - |  | 7 | - |
FAIL |  | virtual_storage_add_list |  | virtual-storage.c |  | 1 | - |  | 11 | - |
Pass |  | virtual_backend_uidmap_cmp |  | virtual-storage.c |  | 0 |  | 0 |
FAIL |  | virtual_get_virtual_uid |  | virtual-storage.c |  | 1 | - |  | 3 | - |
Pass |  | virtual_get_vir ual_backend_boxes |  | virtual-storage.c |  | 0 |  | 0 |
Pass |  | virtual_get_vir ual_box_patterns |  | virtual-storage.c |  | 0 |  | 0 |
Pass |  | virtual_is_inconsistent |  | virtual-storage.c |  | 0 |  | 0 |
Pass |  | virtual_sync_set_uidvalidity |  | virtual-sync.c |  | 0 |  | 0 |
FAIL |  | virtual_sync_external_flags |  | virtual-sync.c |  | 1 | - |  | 13 | - |
Pass |  | virtual_sync_mail_cmp |  | virtual-sync.c |  | 0 |  | 0 |
FAIL |  | virtual_backend_box_sync_mail_set |  | virtual-sync.c |  | 1 | - |  | 10 | - |
FAIL |  | virtual_backend_box_sync_mail_unset |  | virtual-sync.c |  | 1 | - |  | 9 | - |
Pass |  | bbox_mailbox_id_cmp |  | virtual-sync.c |  | 0 |  | 0 |
Pass |  | virtual_sync_get_backend_box |  | virtual-sync.c |  | 0 |  | 0 |
FAIL |  | virtual_sync_ext_header_read |  | virtual-sync.c |  | 1 | - |  | 4 | - |
FAIL |  | virtual_sync_ext_header_rewrite |  | virtual-sync.c |  | 1 | - |  | 7 | - |
Pass |  | virtual_sync_ext_header_update |  | virtual-sync.c |  | 0 |  | 0 |
FAIL |  | virtual_sync_index_rec |  | virtual-sync.c |  | 1 | - |  | 9 | - |
FAIL |  | virtual_sync_index_changes |  | virtual-sync.c |  | 1 | - |  | 5 | - |
FAIL |  | virtual_sync_index_finish |  | virtual-sync.c |  | 1 | - |  | 11 | - |
FAIL |  | virtual_sync_backend_box_init |  | virtual-sync.c |  | 1 | - |  | 12 | - |
Pass |  | virtual_backend uidmap_bsearch_cmp |  | virtual-sync.c |  | 0 |  | 0 |
FAIL |  | virtual_sync_mailbox_box_remove |  | virtual-sync.c |  | 1 | - |  | 4 | - |
FAIL |  | virtual_sync_mailbox_box_add |  | virtual-sync.c |  | 1 | - |  | 4 | - |
Pass |  | virtual_backend_uidmap_cmp |  | virtual-sync.c |  | 0 |  | 0 |
Pass |  | virtual_sync_bbox_uids_sort |  | virtual-sync.c |  | 0 |  | 0 |
FAIL |  | virtual_sync_backend_boxes_sort_uids |  | virtual-sync.c |  | 1 | - |  | 5 | - |
FAIL |  | virtual_sync_backend_handle_old_vmsgs |  | virtual-sync.c |  | 1 | - |  | 11 | - |
FAIL |  | virtual_sync_backend_box_continue |  | virtual-sync.c |  | 1 | - |  | 20 | - |
FAIL |  | virtual_sync_drop_existing |  | virtual-sync.c |  | 1 | - |  | 14 | - |
FAIL |  | virtual_sync_drop_nonexisting |  | virtual-sync.c |  | 1 | - |  | 14 | - |
FAIL |  | virtual_sync_mailbox_box_update |  | virtual-sync.c |  | 1 | - |  | 14 | - |
FAIL |  | virtual_sync_find_seqs |  | virtual-sync.c |  | 1 | - |  | 10 | - |
FAIL |  | virtual_sync_expunge_add |  | virtual-sync.c |  | 1 | - |  | 11 | - |
FAIL |  | virtual_sync_backend_box_sync |  | virtual-sync.c |  | 1 | - |  | 15 | - |
FAIL |  | virtual_sync_backend_ext_header |  | virtual-sync.c |  | 1 | - |  | 33 | - |
FAIL |  | virtual_sync_backend_box |  | virtual-sync.c |  | 1 | - |  | 14 | - |

`Quality Result` |  | `Procedure` |  | `Source File` |  | `Unique Violations` |  | `Failure Density` |
`` |  |  |  |  | `(Viols/R.Line %)` |
FAIL |  | virtual_sync_backend_map_uids |  | virtual-sync.c |  | 1 | - |  | 6 | - |
FAIL |  | virtual_sync_new_backend_boxes |  | virtual-sync.c |  | 1 | - |  | 5 | - |
Pass |  | virtual_add_record_cmp |  | virtual-sync.c |  | 0 |  | 0 |
FAIL |  | virtual_sync_backend_sort_new |  | virtual-sync.c |  | 1 | - |  | 4 | - |
FAIL |  | virtual_sync_backend_add_new |  | virtual-sync.c |  | 1 | - |  | 10 | - |
FAIL |  | virtual_sync_apply_existing_appends |  | virtual-sync.c |  | 1 | - |  | 9 | - |
FAIL |  | virtual_sync_apply_existing_expunges |  | virtual-sync.c |  | 1 | - |  | 23 | - |
FAIL |  | virtual_sync_backend_boxes |  | virtual-sync.c |  | 1 | - |  | 4 | - |
FAIL |  | virtual_sync_backend_boxes_finish |  | virtual-sync.c |  | 1 | - |  | 6 | - |
Pass |  | virtual_sync_finish |  | virtual-sync.c |  | 0 |  | 0 |
FAIL |  | virtual_sync |  | virtual-sync.c |  | 1 | - |  | 13 | - |
FAIL |  | virtual_storage_sync_init |  | virtual-sync.c |  | 1 | - |  | 6 | - |
FAIL |  | virtual_transaction_get |  | virtual-transaction.c |  | 1 | - |  | 8 | - |
FAIL |  | virtual_transaction_begin |  | virtual-transaction.c |  | 1 | - |  | 36 | - |
FAIL |  | virtual_transaction_commit |  | virtual-transaction.c |  | 1 | - |  | 2 | - |
FAIL |  | virtual_transaction_rollback |  | virtual-transaction.c |  | 1 | - |  | 4 | - |
FAIL |  | is_compressed_zlib |  | zlib-plugin.c |  | 1 | - |  | 12 | - |
FAIL |  | is_compressed_bzlib |  | zlib-plugin.c |  | 1 | - |  | 7 | - |
Pass |  | zlib_find_zlib_handler |  | zlib-plugin.c |  | 0 |  | 0 |
Pass |  | zlib_get_zlib_handler |  | zlib-plugin.c |  | 0 |  | 0 |
Pass |  | zlib_get_zlib_handler_ext |  | zlib-plugin.c |  | 0 |  | 0 |
FAIL |  | zlib_permail_get_stream |  | zlib-plugin.c |  | 1 | - |  | 9 | - |
FAIL |  | zlib_mail_allocated |  | zlib-plugin.c |  | 1 | - |  | 13 | - |
FAIL |  | zlib_mailbox_transaction_begin |  | zlib-plugin.c |  | 1 | - |  | 57 | - |
FAIL |  | zlib_mailbox_transaction_rollback |  | zlib-plugin.c |  | 1 | - |  | 14 | - |
FAIL |  | zlib_mailbox_transaction_commit |  | zlib-plugin.c |  | 1 | - |  | 13 | - |
FAIL |  | zlib_mail_save_begin |  | zlib-plugin.c |  | 1 | - |  | 6 | - |
FAIL |  | zlib_mail_save_finish |  | zlib-plugin.c |  | 1 | - |  | 14 | - |
FAIL |  | zlib_mail_save_compress_begin |  | zlib-plugin.c |  | 1 | - |  | 27 | - |
FAIL |  | zlib_permail_alloc_init |  | zlib-plugin.c |  | 1 | - |  | 6 | - |
FAIL |  | zlib_mailbox_open_input |  | zlib-plugin.c |  | 1 | - |  | 3 | - |
Pass |  | zlib_mailbox_open |  | zlib-plugin.c |  | 0 |  | 0 |
FAIL |  | zlib_mailbox_allocated |  | zlib-plugin.c |  | 1 | - |  | 4 | - |
FAIL |  | zlib_mail_user_created |  | zlib-plugin.c |  | 1 | - |  | 2 | - |
Pass |  | zlib_plugin_init |  | zlib-plugin.c |  | 0 |  | 0 |
Pass |  | zlib_plugin_deinit |  | zlib-plugin.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\plugins\zlib\zlib-plugin.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\zlib\ostream-zlib.c | Thu Apr 29 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\zlib\ostream-bzlib.c | Thu Apr 29 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\zlib\istream-zlib.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\zlib\istream-bzlib.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\virtual\virtual-transaction.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\virtual\virtual-sync.c | Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\virtual\virtual-storage.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\virtual\virtual-search.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\virtual\virtual-save.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\virtual\virtual-plugin.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\virtual\virtual-mail.c | Thu May 13 03:40:20 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\virtual\virtual-config.c | Mon Jun 21 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\trash\trash-plugin.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\quota\quota.c | Wed Jun 02 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\quota\quota-storage.c | Wed Jun 23 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\quota\quota-plugin.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\quota\quota-maildir.c | Thu Jun 17 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\quota\quota-fs.c | Fri Jun 11 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\quota\quota-dirsize.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\quota\quota-dict.c | Wed Jun 16 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\quota\quota-count.c | Thu Jun 17 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\quota\doveadm-quota.c | Wed Jun 16 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\notify\notify-storage.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\notify\notify-plugin.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\notify\notify-noop.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\mbox-snarf\mbox-snarf-plugin.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\mail-log\mail-log-plugin.c | Fri Jun 04 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\listescape\listescape-plugin.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\lazy-expunge\lazy-expunge-plugin.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\imap-zlib\imap-zlib-plugin.c | Sat Apr 10 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\imap-quota\imap-quota-plugin.c | Thu May 20 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\imap-acl\imap-acl-plugin.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts\fts-storage.c | Tue Jun 22 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts\fts-search.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts\fts-plugin.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts\fts-api.c | Mon May 17 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts-squat\squat-uidlist.c | Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts-squat\squat-trie.c | Sun Apr 04 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts-squat\squat-test.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts-squat\fts-squat-plugin.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts-squat\fts-backend-squat.c | Mon May 17 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts-solr\solr-connection.c | Mon Apr 05 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts-solr\fts-solr-plugin.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts-solr\fts-backend-solr.c | Tue Jun 22 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts-lucene\fts-lucene-plugin.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\fts-lucene\fts-backend-lucene.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\expire\expire-set.c | Thu May 27 19:00:08 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\expire\expire-plugin.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\expire\doveadm-expire.c | Tue Jun 15 19:00:04 2010

Name | Last Modification Date
--- | ---
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\autocreate\autocreate-plugin.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\acl\acl-storage.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\acl\acl-shared-storage.c | Thu Jun 17 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\acl\acl-plugin.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\acl\acl-mailbox.c | Mon Jun 07 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\acl\acl-mailbox-list.c | Thu Jun 17 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\acl\acl-lookup-dict.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\acl\acl-cache.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\acl\acl-backend.c | Fri Mar 26 07:16:36 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\acl\acl-backend-vfile.c | Tue Jun 01 19:00:04 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\acl\acl-backend-vfile-acllist.c | Thu Jun 17 19:00:06 2010
C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\plugins\acl\acl-api.c | Fri Mar 26 07:16:36 2010

#### Global Basic Information

Number of procedures: | 966
Number of locally uncalled procedures: | 0
Maximum loop depth: | 3
Total Cyclomatic Complexity: | 3622
Number of reformatted executable lines: | 40373
Number of lines of comments: | 65511

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

Code | File: Src Line | Violation | Standard
--- | --- | --- | ---
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 | istream.h: 53 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | istream.h: 53 | Macro replacement list needs parentheses. | CERT PRE02-C
M | 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 | 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 | module-context.h: 45 | Macro replacement list needs parentheses. | CERT PRE02-C
M | module-context.h: 48 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | module-context.h: 62 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | module-context.h: 62 | Macro replacement list needs parentheses. | CERT PRE02-C
M | module-context.h: 66 | Macro replacement list needs parentheses. | CERT PRE02-C
M | module-context.h: 70 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | module-context.h: 70 | Macro replacement list needs parentheses. | CERT PRE02-C
M | module-context.h: 89 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | module-context.h: 89 | Macro replacement list needs parentheses. | CERT PRE02-C
M | module-context.h: 98 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | module-context.h: 98 | Macro replacement list needs parentheses. | CERT PRE02-C
M | module-context.h: 100 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | module-context.h: 100 | Macro replacement list needs parentheses. | CERT PRE02-C
M | module-context.h: 103 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-storage-private.h: 442 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-storage-private.h: 442 | Macro replacement list needs parentheses. | CERT PRE02-C
M | acl-plugin.h: 9 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | acl-plugin.h: 9 | Macro replacement list needs parentheses. | CERT PRE02-C
M | acl-plugin.h: 11 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | acl-plugin.h: 11 | Macro replacement list needs parentheses. | CERT PRE02-C
M | acl-plugin.h: 13 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | acl-plugin.h: 13 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-index-transaction-private.h: 103 | Global not initialised at declaration. : hook_mail_index_transaction_created | CERT EXP33-C
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 | acl-backend-vfile.c: 27 | Macro replacement list needs parentheses. | CERT PRE02-C
M | acl-cache.c: 38 | Global not initialised at declaration. : negative_cache_entry | CERT EXP33-C
M | acl-mailbox.c: 16 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | acl-mailbox.c: 16 | Macro replacement list needs parentheses. | CERT PRE02-C
M | acl-mailbox.c: 31 | Global not initialised at declaration. : acl_transaction_failure | CERT EXP33-C
M | mail-search.h: 115 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-search.h: 156 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | doveadm-expire.c: 13 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | doveadm-expire.c: 13 | Macro replacement list needs parentheses. | CERT PRE02-C
M | doveadm-expire.c: 41 | Global not initialised at declaration. : next_hook_doveadm_mail_init | CERT EXP33-C
M | quota-plugin.h: 11 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | quota-plugin.h: 11 | Macro replacement list needs parentheses. | CERT PRE02-C
M | expire-plugin.c: 17 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | expire-plugin.c: 17 | Macro replacement list needs parentheses. | CERT PRE02-C
M | expire-plugin.c: 19 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | expire-plugin.c: 19 | Macro replacement list needs parentheses. | CERT PRE02-C
M | expire-plugin.c: 21 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | expire-plugin.c: 21 | Macro replacement list needs parentheses. | CERT PRE02-C

Code | File: Src Line | Violation | Standard
--- | --- | --- | ---
M | fts-api.c: 7 | Global not initialised at declaration. : backends | CERT EXP33-C
M | fts-backend-lucene.c: 13 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | fts-backend-lucene.c: 13 | Macro replacement list needs parentheses. | CERT PRE02-C
M | fts-solr-plugin.h: 7 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | fts-solr-plugin.h: 7 | Macro replacement list needs parentheses. | CERT PRE02-C
M | fts-lucene-plugin.c: 9 | Global not initialised at declaration. : fts_lucene_storage_module_id | CERT EXP33-C
M | fts-solr-plugin.c: 85 | Declaration types do not match across a system. : fts_solr_plugin_dependencies | CERT ARR31-C
| 21 (fts-solr-plugin.h) |  |
M | fts-squat-plugin.c: 18 | Declaration types do not match across a system. : fts_squat_plugin_dependencies | CERT ARR31-C
| 8 (fts-squat-plugin.h) |  |
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 | fts-storage.c: 21 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | fts-storage.c: 21 | Macro replacement list needs parentheses. | CERT PRE02-C
M | fts-storage.c: 23 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | fts-storage.c: 23 | Macro replacement list needs parentheses. | CERT PRE02-C
M | imap-quote.h: 9 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | imap-quote.h: 9 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-storage.h: 419 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-storage.h: 419 | Macro replacement list needs parentheses. | CERT PRE02-C
M | imap-acl-plugin.c: 52 | Global not initialised at declaration. : imap_acl_module | CERT EXP33-C
M | imap-acl-plugin.c: 53 | Global not initialised at declaration. : next_hook_client_created | CERT EXP33-C
M | ioloop.h: 61 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | ioloop.h: 61 | Macro replacement list needs parentheses. | CERT PRE02-C
M | imap-quota-plugin.c: 19 | Global not initialised at declaration. : imap_quota_module | CERT EXP33-C
M | imap-quota-plugin.c: 20 | Global not initialised at declaration. : next_hook_client_created | CERT EXP33-C
M | array.h: 272 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | array.h: 272 | Macro replacement list needs parentheses. | CERT PRE02-C
M | array.h: 285 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | array.h: 285 | Macro replacement list needs parentheses. | CERT PRE02-C
M | imap-zlib-plugin.c: 16 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | imap-zlib-plugin.c: 16 | Macro replacement list needs parentheses. | CERT PRE02-C
M | imap-zlib-plugin.c: 27 | Global not initialised at declaration. : imap_zlib_module | CERT EXP33-C
M | imap-zlib-plugin.c: 28 | Global not initialised at declaration. : next_hook_client_created | CERT EXP33-C
M | lazy-expunge-plugin.c: 21 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | lazy-expunge-plugin.c: 21 | Macro replacement list needs parentheses. | CERT PRE02-C
M | lazy-expunge-plugin.c: 23 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | lazy-expunge-plugin.c: 23 | Macro replacement list needs parentheses. | CERT PRE02-C
M | lazy-expunge-plugin.c: 25 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | lazy-expunge-plugin.c: 25 | Macro replacement list needs parentheses. | CERT PRE02-C
M | lazy-expunge-plugin.c: 27 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | lazy-expunge-plugin.c: 27 | Macro replacement list needs parentheses. | CERT PRE02-C
M | listescape-plugin.c: 16 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | listescape-plugin.c: 16 | Macro replacement list needs parentheses. | CERT PRE02-C
M | listescape-plugin.c: 18 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | listescape-plugin.c: 18 | 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

Code | File: Src Line | Violation | Standard
--- | --- | --- | ---
M | llist.h: 25 | Macro replacement list needs parentheses. | CERT PRE02-C
M | llist.h: 32 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | llist.h: 32 | Macro replacement list needs parentheses. | CERT PRE02-C
M | llist.h: 39 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-log-plugin.c: 19 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-log-plugin.c: 19 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-log-plugin.c: 21 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-log-plugin.c: 21 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-log-plugin.c: 23 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mail-log-plugin.c: 23 | Macro replacement list needs parentheses. | CERT PRE02-C
M | mail-log-plugin.c: 94 | Global not initialised at declaration. : mail_log_set | CERT EXP33-C
M | mail-log-plugin.c: 423 | Global not initialised at declaration. : mail_log_ctx | CERT EXP33-C
M | mbox-snarf-plugin.c: 15 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | mbox-snarf-plugin.c: 15 | Macro replacement list needs parentheses. | CERT PRE02-C
M | notify-storage.c: 7 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | notify-storage.c: 7 | Macro replacement list needs parentheses. | CERT PRE02-C
M | notify-storage.c: 9 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | notify-storage.c: 9 | Macro replacement list needs parentheses. | CERT PRE02-C
M | quota-fs.c: 193 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | quota-storage.c: 15 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | quota-storage.c: 15 | Macro replacement list needs parentheses. | CERT PRE02-C
M | quota-storage.c: 17 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | quota-storage.c: 17 | Macro replacement list needs parentheses. | CERT PRE02-C
M | quota-storage.c: 19 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | quota-storage.c: 19 | Macro replacement list needs parentheses. | CERT PRE02-C
M | unichar.h: 28 | Procedure contains UR data flow anomalies. : uni_utf8_non1_bytes | CERT EXP33-C
| 57 (squat-uidlist.h) |  |
M | trash-plugin.c: 19 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | trash-plugin.c: 19 | Macro replacement list needs parentheses. | CERT PRE02-C
M | trash-plugin.c: 48 | Global not initialised at declaration. : trash_next_quota_test_alloc | CERT EXP33-C
M | virtual-storage.h: 12 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | virtual-storage.h: 12 | Macro replacement list needs parentheses. | CERT PRE02-C
M | zlib-plugin.c: 19 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | zlib-plugin.c: 19 | Macro replacement list needs parentheses. | CERT PRE02-C
M | zlib-plugin.c: 21 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | zlib-plugin.c: 21 | Macro replacement list needs parentheses. | CERT PRE02-C
M | zlib-plugin.c: 23 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | zlib-plugin.c: 23 | Macro replacement list needs parentheses. | CERT PRE02-C
M | virtual-storage.c: 23 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C
M | virtual-storage.c: 23 | Macro replacement list needs parentheses. | CERT PRE02-C
M | virtual-storage.c: 33 | Declaration types do not match across a system. : virtual_storage_module | CERT ARR31-C
M | imap-arg.h: 51 | Macro replacement list needs parentheses. | CERT PRE02-C

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

acl_backend_mask_get_names (46 to 76 acl-api.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 61 | Negative (or potentially negative) shift. | CERT INT34-C
M | 67 | Pointer not checked for null before use : names | CERT EXP08-C,EXP34-C
| 54 |  |
M | 74 | Pointer not checked for null before use : buf | CERT EXP08-C,EXP34-C
| 55 |  |
M | 51 | Declaration types do not match across a system. : rights | CERT ARR31-C

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

acl_rights_has_nonowner_lookup_changes (195 to 212 acl-api.c) - FAIL

#### Standards Violation Summary

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

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

array_create_i (93 to 101 array.h analysed in acl-backend-vfile-acllist.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 | ]

acl_list_get_root_dir (41 to 63 acl-backend-vfile-acllist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 50 | Pointer not checked for null before use : storage | CERT EXP08-C,EXP34-C
| 49 |  |
M | 53 | Pointer not checked for null before use : maildir | CERT EXP08-C,EXP34-C
| 51 |  |
M | 53 | Pointer not checked for null before use : rootdir | CERT EXP08-C,EXP34-C
| 46 |  |

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

acl_backend_vfile_acllist_read (71 to 140 acl-backend-vfile-acllist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 131 | Pointer not checked for null before use : acllist.name | CERT EXP08-C,EXP34-C
| 130 |  |
M | 119 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 118 |  |
M | 115 | User input not checked before use. : st | CERT FIO30-C
| 110 |  |

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

acl_backend_vfile_acllist_refresh (142 to 155 acl-backend-vfile-acllist.c) - FAIL

#### Standards Violation Summary

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

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

acllist_append (157 to 196 acl-backend-vfile-acllist.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 170 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 168 |  |
M | 173 | Pointer not checked for null before use : aclobj | CERT EXP08-C,EXP34-C
| 171 |  |
M | 185 | Pointer not checked for null before use : acllist.name | CERT EXP08-C,EXP34-C
| 184 |  |
M | 191 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C
| 189 |  |
M | 164 | Procedure contains UR data flow anomalies. : acllist.mtime | CERT EXP33-C
| 185 |  |
M | 163 | Procedure contains UR data flow anomalies. : rights.global | CERT EXP33-C
| 174 |  |
M | 163 | Procedure contains UR data flow anomalies. : rights.id_type | CERT EXP33-C
| 174 |  |
M | 163 | Procedure contains UR data flow anomalies. : rights.identifier | CERT EXP33-C
| 174 |  |
M | 163 | Procedure contains UR data flow anomalies. : rights.neg_rights | CERT EXP33-C
| 174 |  |
M | 163 | Procedure contains UR data flow anomalies. : rights.rights | CERT EXP33-C
| 174 |  |
M | 163 | Declaration types do not match across a system. : rights | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-backend-vfile-acllist.c | 164 | acl-backend-vfile-acllist.c | 185 | acllist.mtime
acl-backend-vfile-acllist.c | 163 | acl-backend-vfile-acllist.c | 174 | rights.global
acl-backend-vfile-acllist.c | 163 | acl-backend-vfile-acllist.c | 174 | rights.id_type
acl-backend-vfile-acllist.c | 163 | acl-backend-vfile-acllist.c | 174 | rights.identifier
acl-backend-vfile-acllist.c | 163 | acl-backend-vfile-acllist.c | 174 | rights.neg_rights
acl-backend-vfile-acllist.c | 163 | acl-backend-vfile-acllist.c | 174 | rights.rights

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

acl_backend_vfile_acllist_try_rebuild (198 to 306 acl-backend-vfile-acllist.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 220 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 219 |  |
M | 226 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 225 |  |
M | 286 | Pointer not checked for null before use : acllist_path | CERT EXP08-C,EXP34-C
| 285 |  |
M | 298 | Pointer not checked for null before use : auser | CERT EXP08-C,EXP34-C
| 293 |  |
M | 259 | Pointer not checked for null before use : output | CERT EXP08-C,EXP34-C
| 248 |  |
M | 295 | User input not checked before use. : st | CERT FIO30-C
| 274 |  |
M | 300 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 259 |  |
M | 300 | Pointer not checked for null before use : backend.acllist_pool | CERT EXP08-C,EXP34-C
| 251 |  |
M | 210 | Procedure contains UR data flow anomalies. : gid | CERT EXP33-C
| 231 |  |
M | 209 | Procedure contains UR data flow anomalies. : mode | CERT EXP33-C
| 231 |  |
M | 205 | Procedure contains UR data flow anomalies. : origin | CERT EXP33-C
| 231 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-backend-vfile-acllist.c | 210 | acl-backend-vfile-acllist.c | 231 | gid
acl-backend-vfile-acllist.c | 209 | acl-backend-vfile-acllist.c | 231 | mode
acl-backend-vfile-acllist.c | 205 | acl-backend-vfile-acllist.c | 231 | origin

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

acl_backend_vfile_acllist_rebuild (308 to 321 acl-backend-vfile-acllist.c) - FAIL

#### Standards Violation Summary

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

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

acl_backend_vfile_acllist_find (323 to 334 acl-backend-vfile-acllist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 331 | Local structure returned in function result : acllist |

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

acl_backend_vfile_acllist_verify (336 to 348 acl-backend-vfile-acllist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 347 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 344 |  |
M | 347 | Pointer not checked for null before use : acl_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 344 |  |
M | 347 | Pointer not checked for null before use : backend.acllist_pool | CERT EXP08-C,EXP34-C
| 344 |  |

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

acl_backend_vfile_nonowner_iter_init (350 to 363 acl-backend-vfile-acllist.c) - FAIL

#### Standards Violation Summary

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

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

acl_backend_vfile_nonowner_iter_next (365 to 381 acl-backend-vfile-acllist.c) - FAIL

#### Standards Violation Summary

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

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

acl_backend_vfile_nonowner_iter_deinit (383 to 391 acl-backend-vfile-acllist.c) - FAIL

#### Standards Violation Summary

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

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

acl_backend_vfile_alloc (67 to 76 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 73 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 72 |  |
M | 74 | Pointer not checked for null before use : backend | CERT EXP08-C,EXP34-C
| 73 |  |

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

acl_backend_vfile_init (78 to 112 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 86 | Pointer not checked for null before use : tmp | CERT EXP08-C,EXP34-C
| 85 |  |
M | 91 | Pointer not checked for null before use : tmp | CERT EXP08-C,EXP34-C
| 91 |  |

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

acl_backend_vfile_get_local_dir (126 to 141 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

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

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

acl_backend_vfile_object_init (143 to 176 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 153 | Pointer not checked for null before use : aclobj | CERT EXP08-C,EXP34-C
| 152 |  |
M | 162 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 157 |  |
M | 162 | Pointer not checked for null before use : vname | CERT EXP08-C,EXP34-C
| 161 |  |
M | 152 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 787) |  |
M | 173 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 171 |  |
M | 169 | Procedure contains UR data flow anomalies. : dir | CERT EXP33-C
| 150 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-backend-vfile.c | 169 | acl-backend-vfile.c | 173 | dir

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

acl_backend_vfile_exists (189 to 216 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

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

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

acl_backend_vfile_has_acl (218 to 254 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 238 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 236 |  |
M | 243 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 242 |  |
M | 244 | Pointer not checked for null before use : local_path | CERT EXP08-C,EXP34-C
| 243 |  |
M | 249 | Pointer not checked for null before use : global_path | CERT EXP08-C,EXP34-C
| 248 |  |

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

acl_backend_vfile_object_init_parent (256 to 276 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

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

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

acl_backend_vfile_object_deinit (278 to 291 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 289 | free parameter is not heap item. | CERT MEM34-C
M | 288 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 287 |  |
M | 289 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 288 |  |
M | 290 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 289 |  |

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

acl_rights_alloc (293 to 319 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 307 | Pointer not checked for null before use : rights | CERT EXP08-C,EXP34-C
| 304 |  |
M | 297 | Declaration types do not match across a system. : rights | CERT ARR31-C

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

acl_parse_rights (321 to 364 acl-backend-vfile.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 : name | CERT EXP08-C,EXP34-C
| 358 |  |
M | 357 | Pointer not checked for null before use : names | CERT EXP08-C,EXP34-C
| 356 |  |
M | 344 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 332 |  |
M | 344 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 332 |  |
M | 324 | Procedure contains UR data flow anomalies. : rights.arr.buffer | CERT EXP33-C
| 363 |  |
M | 324 | Procedure contains UR data flow anomalies. : rights.arr.element_size | CERT EXP33-C
| 363 |  |
M | 324 | Declaration types do not match across a system. : rights | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-backend-vfile.c | 324 | acl-backend-vfile.c | 363 | rights.arr.buffer
acl-backend-vfile.c | 324 | acl-backend-vfile.c | 363 | rights.arr.element_size

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

acl_object_vfile_parse_line (366 to 461 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 391 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C
| 391 |  |
M | 459 | Pointer not checked for null before use : rights.identifier | CERT EXP08-C,EXP34-C
| 458 |  |
M | 459 | Pointer not checked for null before use : rights.neg_rights | CERT EXP08-C,EXP34-C
| 411 |  |
M | 459 | Pointer not checked for null before use : rights.rights | CERT EXP08-C,EXP34-C
| 408 |  |
M | 458 | Pointer not checked for null before use : rights.identifier | CERT EXP08-C,EXP34-C
| 419 |  |
M | 379 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 381 |  |
M | 408 | Pointer not checked for null before use : right_names | CERT EXP08-C,EXP34-C
| 406 |  |
M | 411 | Pointer not checked for null before use : right_names | CERT EXP08-C,EXP34-C
| 406 |  |
M | 371 | Declaration types do not match across a system. : rights | CERT ARR31-C

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

acl_backend_remove_all_access (463 to 476 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 471 | Pointer not checked for null before use : rights.neg_rights | CERT EXP08-C,EXP34-C
| 468 |  |
M | 471 | Pointer not checked for null before use : rights.identifier | CERT EXP08-C,EXP34-C
| 468 |  |
M | 466 | Declaration types do not match across a system. : rights | CERT ARR31-C

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

acl_backend_vfile_read (478 to 582 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 536 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 535 |  |
M | 568 | User input not checked before use. : st | CERT FIO30-C
| 558 |  |

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

acl_backend_vfile_read_with_retry (584 to 612 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

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

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

acl_backend_vfile_refresh (614 to 664 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

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

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

acl_rights_merge (701 to 720 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 712 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 709 |  |
M | 712 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 709 |  |
M | 706 | Procedure contains UR data flow anomalies. : rights.arr.buffer | CERT EXP33-C
| 719 |  |
M | 706 | Procedure contains UR data flow anomalies. : rights.arr.element_size | CERT EXP33-C
| 719 |  |
M | 706 | Declaration types do not match across a system. : rights | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-backend-vfile.c | 706 | acl-backend-vfile.c | 719 | rights.arr.buffer
acl-backend-vfile.c | 706 | acl-backend-vfile.c | 719 | rights.arr.element_size

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

acl_backend_vfile_rights_sort (722 to 750 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 735 | Pointer not checked for null before use : rights | CERT EXP08-C,EXP34-C
| 733 |  |
M | 724 | Declaration types do not match across a system. : rights | CERT ARR31-C

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

apply_owner_rights (752 to 764 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 763 | Pointer not checked for null before use : ru.rights.rights | CERT EXP08-C,EXP34-C
| 761 |  |
M | 763 | Pointer not checked for null before use : ru.rights.identifier | CERT EXP08-C,EXP34-C
| 757 |  |

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

acl_backend_vfile_cache_rebuild (766 to 817 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 782 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 781 |  |
M | 813 | Pointer not checked for null before use : ru.rights.neg_rights | CERT EXP08-C,EXP34-C
| 806 |  |
M | 813 | Pointer not checked for null before use : ru.rights.rights | CERT EXP08-C,EXP34-C
| 806 |  |
M | 813 | Pointer not checked for null before use : ru.rights.identifier | CERT EXP08-C,EXP34-C
| 806 |  |
M | 816 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 776 |  |
M | 772 | Declaration types do not match across a system. : rights | CERT ARR31-C

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

acl_backend_vfile_object_refresh_cache (819 to 869 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 831 | Attempt to use already freed object. | CERT MEM31-C
M | 835 | Attempt to use already freed object. | CERT MEM31-C
M | 849 | Attempt to use already freed object. | CERT MEM31-C
M | 853 | Attempt to use already freed object. | CERT MEM31-C
M | 853 | Attempt to use already freed object. | CERT MEM31-C
M | 856 | Attempt to use already freed object. | CERT MEM31-C
M | 867 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 862 |  |
M | 826 | Procedure contains UR data flow anomalies. : mtime | CERT EXP33-C
| 867 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-backend-vfile.c | 826 | acl-backend-vfile.c | 867 | mtime

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

acl_backend_vfile_update_begin (871 to 898 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 893 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 892 |  |
M | 883 | Pointer not checked for null before use : dotlock_set.context | CERT EXP08-C,EXP34-C
| 62 |  |
M | 883 | Pointer not checked for null before use : dotlock_set.lock_suffix | CERT EXP08-C,EXP34-C
| 62 |  |
M | 883 | Pointer not checked for null before use : dotlock_set.temp_prefix | CERT EXP08-C,EXP34-C
| 62 |  |
M | 877 | Procedure contains UR data flow anomalies. : gid | CERT EXP33-C
| 881 |  |
M | 875 | Procedure contains UR data flow anomalies. : gid_origin | CERT EXP33-C
| 881 |  |
M | 876 | Procedure contains UR data flow anomalies. : mode | CERT EXP33-C
| 881 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-backend-vfile.c | 877 | acl-backend-vfile.c | 881 | gid
acl-backend-vfile.c | 875 | acl-backend-vfile.c | 881 | gid_origin
acl-backend-vfile.c | 876 | acl-backend-vfile.c | 881 | mode

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

modify_right_list (900 to 964 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 938 | Pointer not checked for null before use : new_rights | CERT EXP08-C,EXP34-C
| 937 |  |
M | 953 | Pointer not checked for null before use : new_rights | CERT EXP08-C,EXP34-C
| 934 |  |
M | 929 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 922 |  |
M | 929 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 922 |  |
M | 908 | Procedure contains UR data flow anomalies. : rights.arr.buffer | CERT EXP33-C
| 933 |  |
M | 908 | Procedure contains UR data flow anomalies. : rights.arr.element_size | CERT EXP33-C
| 933 |  |
M | 906 | Declaration types do not match across a system. : new_rights | CERT ARR31-C
M | 908 | Declaration types do not match across a system. : rights | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-backend-vfile.c | 908 | acl-backend-vfile.c | 933 | rights.arr.buffer
acl-backend-vfile.c | 908 | acl-backend-vfile.c | 933 | rights.arr.element_size

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

vfile_object_modify_right (966 to 986 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

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

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

vfile_object_add_right (988 to 1006 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1004 | Pointer not checked for null before use : right.neg_rights | CERT EXP08-C,EXP34-C
| 1000 |  |
M | 1004 | Pointer not checked for null before use : right.rights | CERT EXP08-C,EXP34-C
| 1000 |  |
M | 1004 | Pointer not checked for null before use : right.identifier | CERT EXP08-C,EXP34-C
| 1002 |  |

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

vfile_write_right (1037 to 1056 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1041 | Declaration types do not match across a system. : rights | CERT ARR31-C

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

acl_backend_vfile_update_write (1058 to 1096 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1069 | Pointer not checked for null before use : output | CERT EXP08-C,EXP34-C
| 1068 |  |
M | 1071 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 787) |  |
M | 1083 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 1071 |  |
M | 1077 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 1071 |  |
M | 1064 | Declaration types do not match across a system. : rights | CERT ARR31-C

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

acl_backend_vfile_update_cache (1098 to 1114 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1111 | Pointer not checked for null before use : validity | CERT EXP08-C,EXP34-C
| 1109 |  |
M | 1112 | User input not checked before use. : st | CERT FIO30-C
| 1103 |  |

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

acl_backend_vfile_object_update (1116 to 1163 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1132 | Attempt to use already freed object. | CERT MEM31-C
M | 1138 | Attempt to use already freed object. | CERT MEM31-C
M | 1140 | Attempt to use already freed object. | CERT MEM31-C
M | 1148 | Attempt to use already freed object. | CERT MEM31-C
M | 1148 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 1147 |  |
M | 1155 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1153 |  |
M | 1161 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1153 |  |
M | 1148 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1132 |  |
M | 1161 | Pointer not checked for null before use : acl_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 1132 |  |
M | 1123 | Procedure contains UR data flow anomalies. : dotlock | CERT EXP33-C
| 1154 |  |
M | 1125 | Procedure contains UR data flow anomalies. : i | CERT EXP33-C
| 1136 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-backend-vfile.c | 1123 | acl-backend-vfile.c | 1154 | dotlock
acl-backend-vfile.c | 1125 | acl-backend-vfile.c | 1136 | i

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

acl_backend_vfile_object_list_init (1165 to 1184 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1183 | Local structure returned in function result : iter |
M | 1173 | Pointer not checked for null before use : iter | CERT EXP08-C,EXP34-C
| 1172 |  |
M | 1172 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 787) |  |

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

acl_backend_vfile_object_list_next (1186 to 1200 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1198 | Pointer not checked for null before use : rights | CERT EXP08-C,EXP34-C
| 1197 |  |
M | 1192 | Declaration types do not match across a system. : rights | CERT ARR31-C

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

acl_backend_vfile_object_list_deinit (1202 to 1206 acl-backend-vfile.c) - FAIL

#### Standards Violation Summary

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

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

acl_backend_init (32 to 87 acl-backend.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 86 | Local structure returned in function result : backend |
M | 41 | Pointer not checked for null before use : user | CERT EXP08-C,EXP34-C
| 37 |  |
M | 57 | Pointer not checked for null before use : backend | CERT EXP08-C,EXP34-C
| 56 |  |
M | 74 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 50 |  |

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

acl_cache_init (40 to 57 acl-cache.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 56 | Local structure returned in function result : cache |
M | 46 | Pointer not checked for null before use : cache | CERT EXP08-C,EXP34-C
| 45 |  |
M | 45 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 789) |  |

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

acl_cache_deinit (59 to 71 acl-cache.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 70 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 65 |  |
M | 65 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 789) |  |

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

acl_cache_free_object_cache (73 to 80 acl-cache.c) - FAIL

#### Standards Violation Summary

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

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

acl_cache_mask_init_real (82 to 106 acl-cache.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 105 | Local structure returned in function result : mask |
M | 97 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 96 |  |
M | 102 | Pointer not checked for null before use : mask | CERT EXP08-C,EXP34-C
| 101 |  |
M | 101 | Pointer not checked for null before use : bitmask | CERT EXP08-C,EXP34-C
| 92 |  |
M | 96 | Pointer not checked for null before use : bitmask | CERT EXP08-C,EXP34-C
| 92 |  |

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

acl_cache_mask_dup (119 to 129 acl-cache.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 128 | Local structure returned in function result : mask |
M | 125 | Pointer not checked for null before use : mask | CERT EXP08-C,EXP34-C
| 124 |  |

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

acl_cache_right_lookup (139 to 161 acl-cache.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 154 | Pointer not checked for null before use : const_name | CERT EXP08-C,EXP34-C
| 151 |  |
M | 155 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 151 |  |

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

acl_cache_flush_all (174 to 188 acl-cache.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 : value | CERT EXP08-C,EXP34-C
| 183 |  |
M | 183 | Attempt to read from freed memory. : value | CERT MEM30-C
M | 177 | Procedure contains UR data flow anomalies. : key | CERT EXP33-C
| 180 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-cache.c | 177 | acl-cache.c | 180 | key

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

acl_cache_update_rights_mask (190 to 266 acl-cache.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 204 | Pointer not checked for null before use : old_mask | CERT EXP08-C,EXP34-C
| 203 |  |
M | 209 | Pointer not checked for null before use : change_mask | CERT EXP08-C,EXP34-C
| 201 |  |

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

acl_cache_object_get (268 to 285 acl-cache.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 284 | Local structure returned in function result : obj_cache |
M | 278 | Pointer not checked for null before use : obj_cache | CERT EXP08-C,EXP34-C
| 276 |  |

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

acl_cache_update_rights (287 to 311 acl-cache.c) - FAIL

#### Standards Violation Summary

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

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

acl_cache_set_validity (344 to 359 acl-cache.c) - FAIL

#### Standards Violation Summary

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

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

acl_cache_my_current_rights_recalculate (376 to 400 acl-cache.c) - FAIL

#### Standards Violation Summary

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

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

acl_lookup_dict_init (37 to 56 acl-lookup-dict.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 55 | Local structure returned in function result : dict |
M | 43 | Pointer not checked for null before use : dict | CERT EXP08-C,EXP34-C
| 42 |  |
M | 42 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 790) |  |

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

acl_lookup_dict_deinit (58 to 66 acl-lookup-dict.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 65 | free parameter is not heap item. | CERT MEM34-C

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

acl_lookup_dict_rebuild_add_backend (92 to 131 acl-lookup-dict.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 : backend | CERT EXP08-C,EXP34-C
| 108 |  |
M | 113 | Pointer not checked for null before use : aclobj | CERT EXP08-C,EXP34-C
| 111 |  |
M | 121 | Pointer not checked for null before use : id_dup | CERT EXP08-C,EXP34-C
| 120 |  |
M | 116 | Pointer not checked for null before use : id | CERT EXP08-C,EXP34-C
| 107 |  |
M | 100 | Procedure contains UR data flow anomalies. : name | CERT EXP33-C
| 110 |  |
M | 99 | Procedure contains UR data flow anomalies. : rights.global | CERT EXP33-C
| 114 |  |
M | 99 | Procedure contains UR data flow anomalies. : rights.id_type | CERT EXP33-C
| 114 |  |
M | 99 | Procedure contains UR data flow anomalies. : rights.identifier | CERT EXP33-C
| 114 |  |
M | 99 | Procedure contains UR data flow anomalies. : rights.neg_rights | CERT EXP33-C
| 114 |  |
M | 99 | Procedure contains UR data flow anomalies. : rights.rights | CERT EXP33-C
| 114 |  |
M | 99 | Declaration types do not match across a system. : rights | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-lookup-dict.c | 100 | acl-lookup-dict.c | 110 | name
acl-lookup-dict.c | 99 | acl-lookup-dict.c | 114 | rights.global
acl-lookup-dict.c | 99 | acl-lookup-dict.c | 114 | rights.id_type
acl-lookup-dict.c | 99 | acl-lookup-dict.c | 114 | rights.identifier
acl-lookup-dict.c | 99 | acl-lookup-dict.c | 114 | rights.neg_rights
acl-lookup-dict.c | 99 | acl-lookup-dict.c | 114 | rights.rights

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

acl_lookup_dict_rebuild_update (133 to 208 acl-lookup-dict.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 160 | Pointer not checked for null before use : key | CERT EXP08-C,EXP34-C
| 159 |  |
M | 163 | Pointer not checked for null before use : key | CERT EXP08-C,EXP34-C
| 162 |  |
M | 176 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 175 |  |
M | 184 | Pointer not checked for null before use : new_ids | CERT EXP08-C,EXP34-C
| 180 |  |
M | 163 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 153 |  |
M | 163 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 153 |  |
M | 141 | Procedure contains UR data flow anomalies. : key | CERT EXP33-C
| 157 |  |
M | 142 | Procedure contains UR data flow anomalies. : old_ids_arr.arr.buffer | CERT EXP33-C
| 179 |  |
M | 142 | Procedure contains UR data flow anomalies. : old_ids_arr.arr.element_size | CERT EXP33-C
| 179 |  |
M | 141 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 157 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-lookup-dict.c | 141 | acl-lookup-dict.c | 157 | key
acl-lookup-dict.c | 142 | acl-lookup-dict.c | 179 | old_ids_arr.arr.buffer
acl-lookup-dict.c | 142 | acl-lookup-dict.c | 179 | old_ids_arr.arr.element_size
acl-lookup-dict.c | 141 | acl-lookup-dict.c | 157 | value

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

acl_lookup_dict_rebuild (210 to 246 acl-lookup-dict.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 233 | Pointer not checked for null before use : ids | CERT EXP08-C,EXP34-C
| 231 |  |
M | 229 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 222 |  |
M | 229 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 222 |  |
M | 213 | Procedure contains UR data flow anomalies. : ids_arr.arr.buffer | CERT EXP33-C
| 224 |  |
M | 213 | Procedure contains UR data flow anomalies. : ids_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
--- | --- | --- | --- | ---
acl-lookup-dict.c | 213 | acl-lookup-dict.c | 224 | ids_arr.arr.buffer
acl-lookup-dict.c | 213 | acl-lookup-dict.c | 243 | ids_arr.arr.buffer
acl-lookup-dict.c | 213 | acl-lookup-dict.c | 224 | ids_arr.arr.element_size
acl-lookup-dict.c | 213 | acl-lookup-dict.c | 243 | ids_arr.arr.element_size

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

acl_lookup_dict_iterate_start (248 to 260 acl-lookup-dict.c) - FAIL

#### Standards Violation Summary

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

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

acl_lookup_dict_iterate_visible_init (262 to 296 acl-lookup-dict.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 295 | Local structure returned in function result : iter |
M | 272 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 271 |  |
M | 273 | Pointer not checked for null before use : iter | CERT EXP08-C,EXP34-C
| 272 |  |
M | 278 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 276 |  |
M | 278 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 276 |  |
M | 280 | Pointer not checked for null before use : id | CERT EXP08-C,EXP34-C
| 279 |  |
M | 283 | Pointer not checked for null before use : auser | CERT EXP08-C,EXP34-C
| 265 |  |
M | 287 | Pointer not checked for null before use : id | CERT EXP08-C,EXP34-C
| 285 |  |
M | 265 | Pointer not checked for null before use : acl_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 422 (mail-storage-private.h) |  |

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

acl_lookup_dict_iterate_visible_next (298 to 319 acl-lookup-dict.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 301 | Procedure contains UR data flow anomalies. : key | CERT EXP33-C
| 306 |  |
M | 301 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 306 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-lookup-dict.c | 301 | acl-lookup-dict.c | 306 | key
acl-lookup-dict.c | 301 | acl-lookup-dict.c | 306 | value

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

acl_mailbox_list_get_backend (46 to 51 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 48 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 124 (mail-storage-private.h) |  |

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

acl_mailbox_list_have_right (53 to 80 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 58 | Pointer not checked for null before use : alist | CERT EXP08-C,EXP34-C
| 57 |  |
M | 57 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 124 (mail-storage-private.h) |  |
M | 66 | Pointer not checked for null before use : aclobj | CERT EXP08-C,EXP34-C
| 63 |  |

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

acl_mailbox_try_list_fast (82 to 139 acl-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 | 86 | Pointer not checked for null before use : alist | CERT EXP08-C,EXP34-C
| 85 |  |
M | 85 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 124 (mail-storage-private.h) |  |
M | 110 | Pointer not checked for null before use : idxp | CERT EXP08-C,EXP34-C
| 108 |  |
M | 131 | Pointer not checked for null before use : update_ctx.glob | CERT EXP08-C,EXP34-C
| 119 |  |
M | 138 | Pointer not checked for null before use : update_ctx.tree_ctx | CERT EXP08-C,EXP34-C
| 124 |  |
M | 131 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 130 |  |
M | 88 | Procedure contains UR data flow anomalies. : acl_mask | CERT EXP33-C
| 110 |  |
M | 92 | Procedure contains UR data flow anomalies. : name | CERT EXP33-C
| 127 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-mailbox-list.c | 88 | acl-mailbox-list.c | 110 | acl_mask
acl-mailbox-list.c | 92 | acl-mailbox-list.c | 127 | name

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

acl_mailbox_list_iter_init_shared (141 to 158 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 157 | Local structure returned in function result : ctx |
M | 154 | Pointer not checked for null before use : alist | CERT EXP08-C,EXP34-C
| 146 |  |
M | 146 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 124 (mail-storage-private.h) |  |
M | 156 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 154 |  |

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

acl_mailbox_list_iter_init (160 to 200 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 172 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 171 |  |
M | 165 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 124 (mail-storage-private.h) |  |
M | 171 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 791) |  |
M | 197 | Pointer not checked for null before use : alist | CERT EXP08-C,EXP34-C
| 165 |  |
M | 195 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 165 |  |

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

acl_mailbox_list_iter_next_info (202 to 219 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 218 | Local structure returned in function result : info |
M | 205 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 124 (mail-storage-private.h) |  |
M | 209 | Pointer not checked for null before use : alist | CERT EXP08-C,EXP34-C
| 205 |  |

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

acl_mailbox_list_iter_get_name (221 to 238 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

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

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

iter_is_listing_all_children (240 to 251 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

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

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

iter_mailbox_has_visible_children (253 to 312 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 291 | Pointer not checked for null before use : pattern | CERT EXP08-C,EXP34-C
| 282 |  |
M | 307 | Pointer not checked for null before use : prefix | CERT EXP08-C,EXP34-C
| 293 |  |

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

acl_mailbox_list_info_is_visible (314 to 361 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

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

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

acl_mailbox_list_iter_next (363 to 385 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 374 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 371 |  |
M | 371 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 374 |  |

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

acl_mailbox_list_iter_deinit (387 to 403 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 392 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 124 (mail-storage-private.h) |  |
M | 395 | Pointer not checked for null before use : alist | CERT EXP08-C,EXP34-C
| 392 |  |

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

acl_mailbox_have_any_rights (405 to 419 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 413 | Pointer not checked for null before use : aclobj | CERT EXP08-C,EXP34-C
| 412 |  |
M | 409 | Declaration types do not match across a system. : rights | CERT ARR31-C

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

acl_get_mailbox_name_status (421 to 467 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 429 | Pointer not checked for null before use : alist | CERT EXP08-C,EXP34-C
| 425 |  |
M | 453 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 425 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 124 (mail-storage-private.h) |  |
M | 452 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 425 |  |

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

acl_mailbox_list_create_dir (469 to 491 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 477 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 473 |  |
M | 477 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 473 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 124 (mail-storage-private.h) |  |

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

acl_mailbox_list_init_shared (493 to 504 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 499 | Pointer not checked for null before use : alist | CERT EXP08-C,EXP34-C
| 498 |  |
M | 503 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 503 |  |
M | 503 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 124 (mail-storage-private.h) |  |

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

acl_mailbox_list_init_default (519 to 565 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 530 | Pointer not checked for null before use : auser | CERT EXP08-C,EXP34-C
| 521 |  |
M | 540 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 539 |  |
M | 555 | Pointer not checked for null before use : alist | CERT EXP08-C,EXP34-C
| 554 |  |
M | 564 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 564 |  |
M | 521 | Pointer not checked for null before use : acl_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 114 (mail-storage-private.h) |  |
M | 543 | Pointer not checked for null before use : current_username | CERT EXP08-C,EXP34-C
| 532 |  |
M | 532 | Pointer not checked for null before use : owner_username | CERT EXP08-C,EXP34-C
| 529 |  |
M | 534 | Pointer not checked for null before use : owner_username | CERT EXP08-C,EXP34-C
| 529 |  |

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

acl_mail_namespace_storage_added (567 to 580 acl-mailbox-list.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 569 | Pointer not checked for null before use : acl_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 114 (mail-storage-private.h) |  |
M | 578 | Pointer not checked for null before use : acl_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 569 |  |

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

acl_mailbox_get_aclobj (33 to 38 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 35 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |

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

acl_mailbox_right_lookup (40 to 61 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 46 | Pointer not checked for null before use : abox | CERT EXP08-C,EXP34-C
| 42 |  |
M | 42 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |
M | 43 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 267 (mail-storage-private.h) |  |
M | 49 | Pointer not checked for null before use : alist | CERT EXP08-C,EXP34-C
| 43 |  |

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

acl_is_readonly (63 to 89 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 68 | Pointer not checked for null before use : abox | CERT EXP08-C,EXP34-C
| 65 |  |
M | 65 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |
M | 75 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 73 |  |
M | 79 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 75 |  |
M | 82 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 79 |  |
M | 73 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 65 |  |
M | 85 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 82 |  |
M | 75 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 73 |  |
M | 79 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 75 |  |
M | 82 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 79 |  |
M | 85 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 82 |  |

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

acl_allow_new_keywords (91 to 99 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 95 | Pointer not checked for null before use : abox | CERT EXP08-C,EXP34-C
| 93 |  |
M | 93 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |
M | 98 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 93 |  |

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

acl_mailbox_free (101 to 107 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 105 | Pointer not checked for null before use : abox | CERT EXP08-C,EXP34-C
| 103 |  |
M | 103 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |

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

acl_mailbox_copy_acls_from_parent (109 to 131 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 121 | Pointer not checked for null before use : alist | CERT EXP08-C,EXP34-C
| 112 |  |
M | 123 | Pointer not checked for null before use : parent_aclobj | CERT EXP08-C,EXP34-C
| 121 |  |
M | 111 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |
M | 112 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 267 (mail-storage-private.h) |  |
M | 127 | Pointer not checked for null before use : abox | CERT EXP08-C,EXP34-C
| 111 |  |
M | 127 | Pointer not checked for null before use : update.rights.neg_rights | CERT EXP08-C,EXP34-C
| 117 |  |
M | 127 | Pointer not checked for null before use : update.rights.rights | CERT EXP08-C,EXP34-C
| 117 |  |
M | 127 | Pointer not checked for null before use : update.rights.identifier | CERT EXP08-C,EXP34-C
| 117 |  |

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

acl_mailbox_create (133 to 145 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 140 | Pointer not checked for null before use : abox | CERT EXP08-C,EXP34-C
| 137 |  |
M | 137 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |
M | 143 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 137 |  |

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

acl_mailbox_update (147 to 157 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 153 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 150 |  |
M | 150 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |

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

acl_mailbox_delete (173 to 192 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 179 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 176 |  |
M | 176 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |
M | 188 | Pointer not checked for null before use : abox | CERT EXP08-C,EXP34-C
| 176 |  |
M | 182 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 179 |  |
M | 182 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 179 |  |

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

acl_mailbox_rename (194 to 229 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 202 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 198 |  |
M | 211 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 198 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |
M | 205 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 202 |  |
M | 211 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 202 |  |
M | 205 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 202 |  |

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

acl_get_write_rights (231 to 252 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 242 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 237 |  |
M | 247 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 242 |  |
M | 242 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 237 |  |
M | 247 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 242 |  |

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

acl_transaction_set_failure (254 to 258 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 256 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 256 |  |
M | 256 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |

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

acl_mail_update_flags (260 to 299 acl-mailbox.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 298 | Pointer not checked for null before use : amail | CERT EXP08-C,EXP34-C
| 265 |  |
M | 270 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 268 |  |
M | 265 | Pointer not checked for null before use : acl_mail_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 30 |  |
M | 294 | Pointer not checked for null before use : acl_mail_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 292 |  |
M | 292 | Pointer not checked for null before use : acl_mail_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 265 |  |
M | 294 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 292 |  |
M | 292 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 268 |  |
M | 294 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 292 |  |
M | 292 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 268 |  |
M | 266 | Procedure contains UR data flow anomalies. : acl_flag_del | CERT EXP33-C
| 281 |  |
M | 266 | Procedure contains UR data flow anomalies. : acl_flag_seen | CERT EXP33-C
| 279 |  |
M | 266 | Procedure contains UR data flow anomalies. : acl_flags | CERT EXP33-C
| 277 |  |
M | 264 | Declaration types do not match across a system. : mail | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-mailbox.c | 266 | acl-mailbox.c | 281 | acl_flag_del
acl-mailbox.c | 266 | acl-mailbox.c | 279 | acl_flag_seen
acl-mailbox.c | 266 | acl-mailbox.c | 277 | acl_flags

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

acl_mail_update_keywords (301 to 318 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 306 | Pointer not checked for null before use : acl_mail_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 30 |  |
M | 317 | Pointer not checked for null before use : amail | CERT EXP08-C,EXP34-C
| 306 |  |
M | 313 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 309 |  |
M | 305 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

acl_mail_expunge (320 to 337 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 323 | Pointer not checked for null before use : acl_mail_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 30 |  |
M | 336 | Pointer not checked for null before use : amail | CERT EXP08-C,EXP34-C
| 323 |  |
M | 332 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 326 |  |
M | 322 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

acl_mail_allocated (339 to 357 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 350 | Pointer not checked for null before use : amail | CERT EXP08-C,EXP34-C
| 349 |  |
M | 356 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 356 |  |
M | 341 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |
M | 342 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

acl_save_get_flags (359 to 377 acl-mailbox.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. : acl_flag_del | CERT EXP33-C
| 370 |  |
M | 362 | Procedure contains UR data flow anomalies. : acl_flag_seen | CERT EXP33-C
| 368 |  |
M | 362 | Procedure contains UR data flow anomalies. : acl_flags | CERT EXP33-C
| 372 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
acl-mailbox.c | 362 | acl-mailbox.c | 370 | acl_flag_del
acl-mailbox.c | 362 | acl-mailbox.c | 368 | acl_flag_seen
acl-mailbox.c | 362 | acl-mailbox.c | 372 | acl_flags

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

acl_save_begin (379 to 394 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 383 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |
M | 390 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 388 |  |
M | 388 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 383 |  |
M | 390 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 388 |  |
M | 382 | Declaration types do not match across a system. : box | CERT ARR31-C

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

acl_copy (396 to 411 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 400 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |
M | 407 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 405 |  |
M | 405 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 400 |  |
M | 407 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 405 |  |

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

acl_transaction_commit (413 to 426 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 418 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 417 |  |
M | 417 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |
M | 421 | Pointer not checked for null before use : abox | CERT EXP08-C,EXP34-C
| 417 |  |

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

acl_keywords_create (428 to 455 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 435 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 432 |  |
M | 432 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |

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

acl_mailbox_open_check_acl (457 to 487 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 461 | Pointer not checked for null before use : alist | CERT EXP08-C,EXP34-C
| 460 |  |
M | 459 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |
M | 460 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 267 (mail-storage-private.h) |  |
M | 468 | Pointer not checked for null before use : abox | CERT EXP08-C,EXP34-C
| 459 |  |
M | 478 | Pointer not checked for null before use : abox | CERT EXP08-C,EXP34-C
| 459 |  |
M | 482 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 459 |  |
M | 482 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 460 |  |

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

acl_mailbox_open (489 to 497 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 493 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 491 |  |
M | 491 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 260 (mail-storage-private.h) |  |

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

acl_mailbox_allocated (499 to 532 acl-mailbox.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 511 | Pointer not checked for null before use : abox | CERT EXP08-C,EXP34-C
| 510 |  |
M | 531 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 531 |  |
M | 501 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 267 (mail-storage-private.h) |  |

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

acl_shared_namespace_add (15 to 64 acl-shared-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 41 | Pointer not checked for null before use : tab | CERT EXP08-C,EXP34-C
| 40 |  |
M | 42 | Pointer not checked for null before use : tab | CERT EXP08-C,EXP34-C
| 41 |  |
M | 43 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 38 |  |
M | 47 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 46 |  |
M | 49 | Pointer not checked for null before use : mailbox | CERT EXP08-C,EXP34-C
| 48 |  |

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

acl_shared_namespaces_add (66 to 89 acl-shared-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 68 | Pointer not checked for null before use : acl_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 162 (mailbox-list-private.h) |  |
M | 76 | Pointer not checked for null before use : auser | CERT EXP08-C,EXP34-C
| 68 |  |
M | 82 | Pointer not checked for null before use : acl_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 68 |  |

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

acl_user_deinit (19 to 25 acl-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 23 | Pointer not checked for null before use : auser | CERT EXP08-C,EXP34-C
| 21 |  |
M | 21 | Pointer not checked for null before use : acl_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 238 (mail-storage-private.h) |  |

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

acl_mail_user_create (27 to 48 acl-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 33 | Pointer not checked for null before use : auser | CERT EXP08-C,EXP34-C
| 32 |  |
M | 47 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 47 |  |

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

autocreate_mailbox (13 to 38 autocreate-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 29 | Pointer not checked for null before use : box | CERT EXP08-C,EXP34-C
| 28 |  |
M | 33 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 30 |  |
M | 19 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 30 |  |
M | 17 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
autocreate-plugin.c | 19 | autocreate-plugin.c | 30 | error

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

autocreate_mailboxes (40 to 55 autocreate-plugin.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
autocreate-plugin.c | 43 | autocreate-plugin.c | 52 | env_name

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

autosubscribe_mailbox (57 to 79 autocreate-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 76 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 72 |  |
M | 62 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 72 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
autocreate-plugin.c | 62 | autocreate-plugin.c | 72 | error

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

autosubscribe_mailboxes (81 to 96 autocreate-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 84 | Procedure contains UR data flow anomalies. : env_name | CERT EXP33-C
| 93 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
autocreate-plugin.c | 84 | autocreate-plugin.c | 93 | env_name

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

doveadm_expire_mail_want (64 to 96 doveadm-expire.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 75 | Pointer not checked for null before use : username | CERT EXP08-C,EXP34-C
| 74 |  |
M | 82 | Pointer not checked for null before use : username | CERT EXP08-C,EXP34-C
| 80 |  |
M | 92 | Pointer not checked for null before use : username_dup | CERT EXP08-C,EXP34-C
| 91 |  |
M | 82 | Pointer not checked for null before use : ectx | CERT EXP08-C,EXP34-C
| 68 |  |
M | 87 | Pointer not checked for null before use : mailbox | CERT EXP08-C,EXP34-C
| 80 |  |

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

doveadm_expire_mail_cmd_get_next_user (98 to 130 doveadm-expire.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 108 | Pointer not checked for null before use : ectx | CERT EXP08-C,EXP34-C
| 102 |  |
M | 104 | Procedure contains UR data flow anomalies. : key | CERT EXP33-C
| 108 |  |
M | 105 | Procedure contains UR data flow anomalies. : stamp | CERT EXP33-C
| 109 |  |
M | 104 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 108 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
doveadm-expire.c | 104 | doveadm-expire.c | 108 | key
doveadm-expire.c | 105 | doveadm-expire.c | 109 | stamp
doveadm-expire.c | 104 | doveadm-expire.c | 108 | value

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

doveadm_expire_get_patterns (132 to 149 doveadm-expire.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 134 | Procedure contains UR data flow anomalies. : patterns.arr.buffer | CERT EXP33-C
| 139 |  |
M | 134 | Procedure contains UR data flow anomalies. : patterns.arr.element_size | CERT EXP33-C
| 139 |  |
M | 134 | Procedure contains UR data flow anomalies. : patterns.v | CERT EXP33-C
| 139 |  |
M | 134 | Procedure contains UR data flow anomalies. : patterns.v_modifiable | CERT EXP33-C
| 139 |  |
M | 136 | Procedure contains UR data flow anomalies. : set_name | CERT EXP33-C
| 144 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
doveadm-expire.c | 134 | doveadm-expire.c | 139 | patterns.arr.buffer
doveadm-expire.c | 134 | doveadm-expire.c | 139 | patterns.arr.element_size
doveadm-expire.c | 134 | doveadm-expire.c | 139 | patterns.v
doveadm-expire.c | 134 | doveadm-expire.c | 139 | patterns.v_modifiable
doveadm-expire.c | 136 | doveadm-expire.c | 144 | set_name

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

doveadm_expire_get_or_mailboxes (151 to 183 doveadm-expire.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 162 | Pointer not checked for null before use : ectx | CERT EXP08-C,EXP34-C
| 156 |  |
M | 172 | Pointer not checked for null before use : query.mailbox | CERT EXP08-C,EXP34-C
| 171 |  |
M | 172 | Pointer not checked for null before use : query.glob | CERT EXP08-C,EXP34-C
| 166 |  |
M | 161 | Procedure contains UR data flow anomalies. : query.mailbox | CERT EXP33-C
| 154 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
doveadm-expire.c | 161 | doveadm-expire.c | 182 | query.mailbox

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

doveadm_expire_analyze_and_query (185 to 246 doveadm-expire.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 231 | Pointer not checked for null before use : ectx | CERT EXP08-C,EXP34-C
| 189 |  |
M | 231 | Pointer not checked for null before use : query.glob | CERT EXP08-C,EXP34-C
| 195 |  |

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

doveadm_expire_analyze_query (265 to 309 doveadm-expire.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 284 | Pointer not checked for null before use : ectx | CERT EXP08-C,EXP34-C
| 267 |  |
M | 306 | Pointer not checked for null before use : set | CERT EXP08-C,EXP34-C
| 294 |  |

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

doveadm_expire_mail_cmd_deinit (311 to 325 doveadm-expire.c) - FAIL

#### Standards Violation Summary

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

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

doveadm_expire_mail_init (327 to 376 doveadm-expire.c) - FAIL

#### Standards Violation Summary

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

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

cmd_quota_get_root (15 to 43 doveadm-quota.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 22 | Pointer not checked for null before use : res | CERT EXP08-C,EXP34-C
| 21 |  |
M | 18 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 23 |  |
M | 18 | Procedure contains UR data flow anomalies. : limit | CERT EXP33-C
| 28 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
doveadm-quota.c | 18 | doveadm-quota.c | 23 | value
doveadm-quota.c | 18 | doveadm-quota.c | 28 | limit

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

cmd_quota_get_run (45 to 54 doveadm-quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 52 | Pointer not checked for null before use : quser | CERT EXP08-C,EXP34-C
| 49 |  |
M | 49 | Pointer not checked for null before use : quota_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 27 (quota-plugin.h) |  |

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

cmd_quota_get_alloc (71 to 81 doveadm-quota.c) - FAIL

#### Standards Violation Summary

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

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

cmd_quota_recalc_run (83 to 97 doveadm-quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 92 | Pointer not checked for null before use : quser | CERT EXP08-C,EXP34-C
| 87 |  |
M | 87 | Pointer not checked for null before use : quota_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 27 (quota-plugin.h) |  |
M | 95 | Pointer not checked for null before use : trans.tmp_mail | CERT EXP08-C,EXP34-C
| 91 |  |
M | 95 | Pointer not checked for null before use : trans.box | CERT EXP08-C,EXP34-C
| 91 |  |
M | 95 | Pointer not checked for null before use : trans.quota | CERT EXP08-C,EXP34-C
| 92 |  |
M | 95 | Pointer not checked for null before use : trans.module_ctx.reg | CERT EXP08-C,EXP34-C
| 91 |  |

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

cmd_quota_recalc_alloc (99 to 107 doveadm-quota.c) - FAIL

#### Standards Violation Summary

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

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

expire_mailbox_transaction_begin (50 to 63 expire-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 58 | Pointer not checked for null before use : xpr_box | CERT EXP08-C,EXP34-C
| 54 |  |
M | 61 | Pointer not checked for null before use : t | CERT EXP08-C,EXP34-C
| 58 |  |
M | 61 | Pointer not checked for null before use : xt | CERT EXP08-C,EXP34-C
| 59 |  |
M | 59 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 798) |  |

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

first_nonexpunged_timestamp (65 to 91 expire-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 78 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 77 |  |
M | 80 | Pointer not checked for null before use : mail | CERT EXP08-C,EXP34-C
| 73 |  |
M | 70 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

expire_mailbox_transaction_commit (93 to 156 expire-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 119 | Attempt to use already freed object. | CERT MEM31-C
M | 119 | Attempt to use already freed object. | CERT MEM31-C
M | 125 | Attempt to use already freed object. | CERT MEM31-C
M | 126 | Attempt to use already freed object. | CERT MEM31-C
M | 129 | Attempt to use already freed object. | CERT MEM31-C
M | 154 | Attempt to use already freed object. | CERT MEM31-C
M | 106 | Pointer not checked for null before use : xt | CERT EXP08-C,EXP34-C
| 100 |  |
M | 132 | Pointer not checked for null before use : euser | CERT EXP08-C,EXP34-C
| 97 |  |
M | 112 | Pointer not checked for null before use : xpr_box | CERT EXP08-C,EXP34-C
| 99 |  |
M | 132 | Pointer not checked for null before use : key | CERT EXP08-C,EXP34-C
| 122 |  |
M | 149 | Pointer not checked for null before use : key | CERT EXP08-C,EXP34-C
| 122 |  |
M | 147 | Pointer not checked for null before use : dctx | CERT EXP08-C,EXP34-C
| 144 |  |
M | 149 | Pointer not checked for null before use : dctx | CERT EXP08-C,EXP34-C
| 144 |  |
M | 120 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 132 |  |
M | 101 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
expire-plugin.c | 120 | expire-plugin.c | 132 | value

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

expire_mailbox_transaction_rollback (158 to 166 expire-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 164 | Pointer not checked for null before use : xpr_box | CERT EXP08-C,EXP34-C
| 161 |  |
M | 165 | Pointer not checked for null before use : xt | CERT EXP08-C,EXP34-C
| 162 |  |
M | 165 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 798) |  |

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

expire_mail_expunge (168 to 180 expire-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 179 | Pointer not checked for null before use : xpr_mail | CERT EXP08-C,EXP34-C
| 171 |  |
M | 177 | Pointer not checked for null before use : xt | CERT EXP08-C,EXP34-C
| 172 |  |
M | 170 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

expire_mail_allocated (182 to 198 expire-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 193 | Pointer not checked for null before use : xpr_mail | CERT EXP08-C,EXP34-C
| 192 |  |
M | 185 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

expire_save_finish (200 to 208 expire-plugin.c) - FAIL

#### Standards Violation Summary

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

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

expire_copy (210 to 219 expire-plugin.c) - FAIL

#### Standards Violation Summary

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

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

expire_mailbox_allocate_init (221 to 237 expire-plugin.c) - FAIL

#### Standards Violation Summary

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

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

expire_mail_user_deinit (248 to 256 expire-plugin.c) - FAIL

#### Standards Violation Summary

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

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

expire_get_patterns (258 to 275 expire-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 268 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 265 |  |
M | 268 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 265 |  |
M | 260 | Procedure contains UR data flow anomalies. : patterns.arr.buffer | CERT EXP33-C
| 273 |  |
M | 260 | Procedure contains UR data flow anomalies. : patterns.arr.element_size | CERT EXP33-C
| 273 |  |
M | 262 | Procedure contains UR data flow anomalies. : set_name | CERT EXP33-C
| 270 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
expire-plugin.c | 260 | expire-plugin.c | 273 | patterns.arr.buffer
expire-plugin.c | 260 | expire-plugin.c | 273 | patterns.arr.element_size
expire-plugin.c | 262 | expire-plugin.c | 270 | set_name

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

expire_mail_namespaces_created (277 to 307 expire-plugin.c) - FAIL

#### Standards Violation Summary

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

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

expire_set_init (15 to 32 expire-set.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 31 | Local structure returned in function result : set |
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 : set | CERT EXP08-C,EXP34-C
| 23 |  |
M | 29 | Pointer not checked for null before use : glob | CERT EXP08-C,EXP34-C
| 28 |  |
M | 29 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 25 |  |
M | 29 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 25 |  |

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

fts_backend_unregister (16 to 33 fts-api.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 21 | Pointer not checked for null before use : backends.arr.buffer | CERT EXP08-C,EXP34-C
| 7 |  |
M | 23 | Pointer not checked for null before use : be | CERT EXP08-C,EXP34-C
| 21 |  |
M | 19 | Procedure contains UR data flow anomalies. : count | CERT EXP33-C
| 22 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-api.c | 19 | fts-api.c | 22 | count

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

fts_backend_class_lookup (35 to 49 fts-api.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 44 | Pointer not checked for null before use : be | CERT EXP08-C,EXP34-C
| 42 |  |
M | 39 | Procedure contains UR data flow anomalies. : count | CERT EXP33-C
| 43 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-api.c | 39 | fts-api.c | 43 | count

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

fts_backend_init (51 to 68 fts-api.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 67 | Local structure returned in function result : backend |

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

fts_merge_maybies (172 to 205 fts-api.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 190 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 188 |  |
M | 190 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 188 |  |
M | 200 | Pointer not checked for null before use : range | CERT EXP08-C,EXP34-C
| 198 |  |
M | 181 | Procedure contains UR data flow anomalies. : count | CERT EXP33-C
| 199 |  |
M | 178 | Procedure contains UR data flow anomalies. : src_unwanted.arr.buffer | CERT EXP33-C
| 191 |  |
M | 178 | Procedure contains UR data flow anomalies. : src_unwanted.arr.element_size | CERT EXP33-C
| 191 |  |
M | 178 | Procedure contains UR data flow anomalies. : src_unwanted.v | CERT EXP33-C
| 191 |  |
M | 178 | Procedure contains UR data flow anomalies. : src_unwanted.v_modifiable | CERT EXP33-C
| 191 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-api.c | 181 | fts-api.c | 199 | count
fts-api.c | 178 | fts-api.c | 191 | src_unwanted.arr.buffer
fts-api.c | 178 | fts-api.c | 191 | src_unwanted.arr.element_size
fts-api.c | 178 | fts-api.c | 191 | src_unwanted.v
fts-api.c | 178 | fts-api.c | 191 | src_unwanted.v_modifiable

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

fts_backend_filter (248 to 276 fts-api.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 273 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 263 |  |
M | 253 | Procedure contains UR data flow anomalies. : tmp_definite.arr.buffer | CERT EXP33-C
| 264 |  |
M | 253 | Procedure contains UR data flow anomalies. : tmp_definite.arr.element_size | CERT EXP33-C
| 264 |  |
M | 253 | Procedure contains UR data flow anomalies. : tmp_definite.v | CERT EXP33-C
| 264 |  |
M | 253 | Procedure contains UR data flow anomalies. : tmp_definite.v_modifiable | CERT EXP33-C
| 264 |  |
M | 253 | Procedure contains UR data flow anomalies. : tmp_maybe.arr.buffer | CERT EXP33-C
| 264 |  |
M | 253 | Procedure contains UR data flow anomalies. : tmp_maybe.arr.element_size | CERT EXP33-C
| 264 |  |
M | 253 | Procedure contains UR data flow anomalies. : tmp_maybe.v | CERT EXP33-C
| 264 |  |
M | 253 | Procedure contains UR data flow anomalies. : tmp_maybe.v_modifiable | CERT EXP33-C
| 264 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-api.c | 253 | fts-api.c | 264 | tmp_definite.arr.buffer
fts-api.c | 253 | fts-api.c | 264 | tmp_definite.arr.element_size
fts-api.c | 253 | fts-api.c | 264 | tmp_definite.v
fts-api.c | 253 | fts-api.c | 264 | tmp_definite.v_modifiable
fts-api.c | 253 | fts-api.c | 264 | tmp_maybe.arr.buffer
fts-api.c | 253 | fts-api.c | 264 | tmp_maybe.arr.element_size
fts-api.c | 253 | fts-api.c | 264 | tmp_maybe.v
fts-api.c | 253 | fts-api.c | 264 | tmp_maybe.v_modifiable

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

fts_backend_lookup_init (278 to 290 fts-api.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 289 | Local structure returned in function result : ctx |
M | 285 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 284 |  |
M | 286 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 285 |  |

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

fts_backend_lookup_add (292 to 300 fts-api.c) - FAIL

#### Standards Violation Summary

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

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

fts_backend_lookup_old (302 to 322 fts-api.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. : count | CERT EXP33-C
| 310 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-api.c | 307 | fts-api.c | 310 | count

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

fts_backend_lucene_init (43 to 79 fts-backend-lucene.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 61 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 60 |  |
M | 62 | Pointer not checked for null before use : lock_path | CERT EXP08-C,EXP34-C
| 61 |  |
M | 68 | Pointer not checked for null before use : lstorage | CERT EXP08-C,EXP34-C
| 67 |  |
M | 69 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 69 |  |
M | 75 | Pointer not checked for null before use : backend | CERT EXP08-C,EXP34-C
| 74 |  |
M | 49 | Pointer not checked for null before use : fts_lucene_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 31 |  |

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

fts_backend_lucene_deinit (81 to 93 fts-backend-lucene.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
| 90 |  |

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

fts_backend_lucene_get_last_uid (95 to 104 fts-backend-lucene.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 103 | Attempt to use already freed object. | CERT MEM31-C

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

fts_backend_lucene_build_init (106 to 126 fts-backend-lucene.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 116 | Attempt to use already freed object. | CERT MEM31-C
M | 121 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 120 |  |

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

fts_backend_lucene_build_more (128 to 145 fts-backend-lucene.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 142 | Attempt to use already freed object. | CERT MEM31-C
M | 143 | Attempt to use already freed object. | CERT MEM31-C

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

fts_backend_lucene_build_deinit (147 to 158 fts-backend-lucene.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 154 | Attempt to use already freed object. | CERT MEM31-C
M | 155 | Attempt to use already freed object. | CERT MEM31-C

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

fts_backend_lucene_expunge (160 to 168 fts-backend-lucene.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 167 | Attempt to use already freed object. | CERT MEM31-C

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

fts_backend_lucene_lookup (188 to 203 fts-backend-lucene.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 201 | Attempt to use already freed object. | CERT MEM31-C

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

fts_box_get_root (67 to 76 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

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

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

solr_escape_id_str (118 to 145 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 144 | Pointer not checked for null before use : tmp | CERT EXP08-C,EXP34-C
| 130 |  |
M | 134 | Pointer not checked for null before use : tmp | CERT EXP08-C,EXP34-C
| 130 |  |

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

solr_quote_http (154 to 159 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

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

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

fts_backend_solr_init (161 to 206 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 166 | Pointer not checked for null before use : fuser | CERT EXP08-C,EXP34-C
| 164 |  |
M | 173 | Pointer not checked for null before use : box_name | CERT EXP08-C,EXP34-C
| 172 |  |
M | 195 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 194 |  |
M | 198 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 197 |  |
M | 165 | Pointer not checked for null before use : fts_solr_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 23 (fts-solr-plugin.h) |  |
M | 180 | Pointer not checked for null before use : backend | CERT EXP08-C,EXP34-C
| 178 |  |
M | 188 | Pointer not checked for null before use : backend | CERT EXP08-C,EXP34-C
| 178 |  |

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

fts_backend_solr_deinit (208 to 216 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 213 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 212 |  |
M | 214 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 213 |  |
M | 215 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 214 |  |
M | 212 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 802) |  |

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

solr_add_ns_query (218 to 239 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

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

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

solr_add_ns_query_http (241 to 250 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 248 | Pointer not checked for null before use : tmp | CERT EXP08-C,EXP34-C
| 247 |  |
M | 249 | Pointer not checked for null before use : solr_conn | CERT EXP08-C,EXP34-C
| 50 |  |

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

fts_backend_solr_get_last_uid_fallback (252 to 292 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 265 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 264 |  |
M | 271 | Pointer not checked for null before use : box_name | CERT EXP08-C,EXP34-C
| 267 |  |
M | 277 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 271 | Pointer not checked for null before use : solr_conn | CERT EXP08-C,EXP34-C
| 50 |  |
M | 257 | Procedure contains UR data flow anomalies. : status.cache_fields | CERT EXP33-C
| 269 |  |
M | 257 | Procedure contains UR data flow anomalies. : status.first_unseen_seq | CERT EXP33-C
| 269 |  |
M | 257 | Procedure contains UR data flow anomalies. : status.highest_modseq | CERT EXP33-C
| 269 |  |
M | 257 | Procedure contains UR data flow anomalies. : status.keywords | CERT EXP33-C
| 269 |  |
M | 257 | Procedure contains UR data flow anomalies. : status.messages | CERT EXP33-C
| 269 |  |
M | 257 | Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs | CERT EXP33-C
| 269 |  |
M | 257 | Procedure contains UR data flow anomalies. : status.recent | CERT EXP33-C
| 269 |  |
M | 257 | Procedure contains UR data flow anomalies. : status.uidnext | CERT EXP33-C
| 269 |  |
M | 257 | Procedure contains UR data flow anomalies. : status.uidvalidity | CERT EXP33-C
| 269 |  |
M | 257 | Procedure contains UR data flow anomalies. : status.unseen | CERT EXP33-C
| 269 |  |
M | 257 | Procedure contains UR data flow anomalies. : status.virtual_size | CERT EXP33-C
| 269 |  |
M | 258 | Procedure contains UR data flow anomalies. : uids.arr.buffer | CERT EXP33-C
| 281 |  |
M | 258 | Procedure contains UR data flow anomalies. : uids.arr.element_size | CERT EXP33-C
| 281 |  |
M | 255 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-backend-solr.c | 257 | fts-backend-solr.c | 269 | status.cache_fields
fts-backend-solr.c | 257 | fts-backend-solr.c | 269 | status.first_unseen_seq
fts-backend-solr.c | 257 | fts-backend-solr.c | 269 | status.highest_modseq
fts-backend-solr.c | 257 | fts-backend-solr.c | 269 | status.keywords
fts-backend-solr.c | 257 | fts-backend-solr.c | 269 | status.messages
fts-backend-solr.c | 257 | fts-backend-solr.c | 269 | status.nonpermanent_modseqs
fts-backend-solr.c | 257 | fts-backend-solr.c | 269 | status.recent
fts-backend-solr.c | 257 | fts-backend-solr.c | 269 | status.uidnext
fts-backend-solr.c | 257 | fts-backend-solr.c | 269 | status.uidvalidity
fts-backend-solr.c | 257 | fts-backend-solr.c | 269 | status.unseen
fts-backend-solr.c | 257 | fts-backend-solr.c | 269 | status.virtual_size
fts-backend-solr.c | 258 | fts-backend-solr.c | 281 | uids.arr.buffer
fts-backend-solr.c | 258 | fts-backend-solr.c | 281 | uids.arr.element_size

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

fts_backend_solr_get_last_uid (294 to 336 fts-backend-solr.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 : str | CERT EXP08-C,EXP34-C
| 306 |  |
M | 313 | Pointer not checked for null before use : box_name | CERT EXP08-C,EXP34-C
| 309 |  |
M | 319 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 313 | Pointer not checked for null before use : solr_conn | CERT EXP08-C,EXP34-C
| 50 |  |
M | 327 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 319 |  |
M | 299 | Procedure contains UR data flow anomalies. : status.cache_fields | CERT EXP33-C
| 311 |  |
M | 299 | Procedure contains UR data flow anomalies. : status.first_unseen_seq | CERT EXP33-C
| 311 |  |
M | 299 | Procedure contains UR data flow anomalies. : status.highest_modseq | CERT EXP33-C
| 311 |  |
M | 299 | Procedure contains UR data flow anomalies. : status.keywords | CERT EXP33-C
| 311 |  |
M | 299 | Procedure contains UR data flow anomalies. : status.messages | CERT EXP33-C
| 311 |  |
M | 299 | Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs | CERT EXP33-C
| 311 |  |
M | 299 | Procedure contains UR data flow anomalies. : status.recent | CERT EXP33-C
| 311 |  |
M | 299 | Procedure contains UR data flow anomalies. : status.uidnext | CERT EXP33-C
| 311 |  |
M | 299 | Procedure contains UR data flow anomalies. : status.uidvalidity | CERT EXP33-C
| 311 |  |
M | 299 | Procedure contains UR data flow anomalies. : status.unseen | CERT EXP33-C
| 311 |  |
M | 299 | Procedure contains UR data flow anomalies. : status.virtual_size | CERT EXP33-C
| 311 |  |
M | 300 | Procedure contains UR data flow anomalies. : uids.arr.buffer | CERT EXP33-C
| 323 |  |
M | 300 | Procedure contains UR data flow anomalies. : uids.arr.element_size | CERT EXP33-C
| 323 |  |
M | 297 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-backend-solr.c | 299 | fts-backend-solr.c | 311 | status.cache_fields
fts-backend-solr.c | 299 | fts-backend-solr.c | 311 | status.first_unseen_seq
fts-backend-solr.c | 299 | fts-backend-solr.c | 311 | status.highest_modseq
fts-backend-solr.c | 299 | fts-backend-solr.c | 311 | status.keywords
fts-backend-solr.c | 299 | fts-backend-solr.c | 311 | status.messages
fts-backend-solr.c | 299 | fts-backend-solr.c | 311 | status.nonpermanent_modseqs
fts-backend-solr.c | 299 | fts-backend-solr.c | 311 | status.recent
fts-backend-solr.c | 299 | fts-backend-solr.c | 311 | status.uidnext
fts-backend-solr.c | 299 | fts-backend-solr.c | 311 | status.uidvalidity
fts-backend-solr.c | 299 | fts-backend-solr.c | 311 | status.unseen
fts-backend-solr.c | 299 | fts-backend-solr.c | 311 | status.virtual_size
fts-backend-solr.c | 300 | fts-backend-solr.c | 323 | uids.arr.buffer
fts-backend-solr.c | 300 | fts-backend-solr.c | 323 | uids.arr.element_size

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

solr_virtual_get_last_uids (351 to 369 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 364 | Pointer not checked for null before use : map | CERT EXP08-C,EXP34-C
| 363 |  |
M | 364 | Pointer not checked for null before use : vname | CERT EXP08-C,EXP34-C
| 362 |  |

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

solr_add_pattern (371 to 410 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 402 | Array Bound exceeded. | CERT ARR30-C
M | 402 | Array Bound exceeded. | CERT ARR30-C
M | 378 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 377 |  |

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

fts_backend_solr_filter_mailboxes (412 to 470 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 461 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 461 |  |
M | 441 | Pointer not checked for null before use : fq | CERT EXP08-C,EXP34-C
| 438 |  |
M | 419 | Procedure contains UR data flow anomalies. : exc_count | CERT EXP33-C
| 453 |  |
M | 416 | Procedure contains UR data flow anomalies. : excludes_arr.arr.buffer | CERT EXP33-C
| 424 |  |
M | 416 | Procedure contains UR data flow anomalies. : excludes_arr.arr.element_size | CERT EXP33-C
| 424 |  |
M | 416 | Procedure contains UR data flow anomalies. : excludes_arr.v | CERT EXP33-C
| 424 |  |
M | 416 | Procedure contains UR data flow anomalies. : excludes_arr.v_modifiable | CERT EXP33-C
| 424 |  |
M | 419 | Procedure contains UR data flow anomalies. : inc_count | CERT EXP33-C
| 427 |  |
M | 416 | Procedure contains UR data flow anomalies. : includes_arr.arr.buffer | CERT EXP33-C
| 424 |  |
M | 416 | Procedure contains UR data flow anomalies. : includes_arr.arr.element_size | CERT EXP33-C
| 424 |  |
M | 416 | Procedure contains UR data flow anomalies. : includes_arr.v | CERT EXP33-C
| 424 |  |
M | 416 | Procedure contains UR data flow anomalies. : includes_arr.v_modifiable | CERT EXP33-C
| 424 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-backend-solr.c | 419 | fts-backend-solr.c | 453 | exc_count
fts-backend-solr.c | 416 | fts-backend-solr.c | 424 | excludes_arr.arr.buffer
fts-backend-solr.c | 416 | fts-backend-solr.c | 424 | excludes_arr.arr.element_size
fts-backend-solr.c | 416 | fts-backend-solr.c | 424 | excludes_arr.v
fts-backend-solr.c | 416 | fts-backend-solr.c | 424 | excludes_arr.v_modifiable
fts-backend-solr.c | 419 | fts-backend-solr.c | 427 | inc_count
fts-backend-solr.c | 416 | fts-backend-solr.c | 424 | includes_arr.arr.buffer
fts-backend-solr.c | 416 | fts-backend-solr.c | 424 | includes_arr.arr.element_size
fts-backend-solr.c | 416 | fts-backend-solr.c | 424 | includes_arr.v
fts-backend-solr.c | 416 | fts-backend-solr.c | 424 | includes_arr.v_modifiable

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

fts_backend_solr_get_all_last_uids (472 to 495 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 487 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 486 |  |
M | 493 | Pointer not checked for null before use : ctx.vname | CERT EXP08-C,EXP34-C
| 484 |  |
M | 493 | Pointer not checked for null before use : ctx.box | CERT EXP08-C,EXP34-C
| 483 |  |
M | 493 | Pointer not checked for null before use : ctx.last_uids | CERT EXP08-C,EXP34-C
| 482 |  |
M | 493 | Pointer not checked for null before use : ctx.pool | CERT EXP08-C,EXP34-C
| 481 |  |
M | 493 | Pointer not checked for null before use : ctx.backend | CERT EXP08-C,EXP34-C
| 480 |  |
M | 493 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 489 | Pointer not checked for null before use : solr_conn | CERT EXP08-C,EXP34-C
| 50 |  |

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

fts_backend_solr_build_init (497 to 515 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 507 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 506 |  |
M | 508 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 802) |  |
M | 502 | Procedure contains UR data flow anomalies. : status.cache_fields | CERT EXP33-C
| 510 |  |
M | 502 | Procedure contains UR data flow anomalies. : status.first_unseen_seq | CERT EXP33-C
| 510 |  |
M | 502 | Procedure contains UR data flow anomalies. : status.highest_modseq | CERT EXP33-C
| 510 |  |
M | 502 | Procedure contains UR data flow anomalies. : status.keywords | CERT EXP33-C
| 510 |  |
M | 502 | Procedure contains UR data flow anomalies. : status.messages | CERT EXP33-C
| 510 |  |
M | 502 | Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs | CERT EXP33-C
| 510 |  |
M | 502 | Procedure contains UR data flow anomalies. : status.recent | CERT EXP33-C
| 510 |  |
M | 502 | Procedure contains UR data flow anomalies. : status.uidnext | CERT EXP33-C
| 510 |  |
M | 502 | Procedure contains UR data flow anomalies. : status.uidvalidity | CERT EXP33-C
| 510 |  |
M | 502 | Procedure contains UR data flow anomalies. : status.unseen | CERT EXP33-C
| 510 |  |
M | 502 | Procedure contains UR data flow anomalies. : status.virtual_size | CERT EXP33-C
| 510 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-backend-solr.c | 502 | fts-backend-solr.c | 510 | status.cache_fields
fts-backend-solr.c | 502 | fts-backend-solr.c | 510 | status.first_unseen_seq
fts-backend-solr.c | 502 | fts-backend-solr.c | 510 | status.highest_modseq
fts-backend-solr.c | 502 | fts-backend-solr.c | 510 | status.keywords
fts-backend-solr.c | 502 | fts-backend-solr.c | 510 | status.messages
fts-backend-solr.c | 502 | fts-backend-solr.c | 510 | status.nonpermanent_modseqs
fts-backend-solr.c | 502 | fts-backend-solr.c | 510 | status.recent
fts-backend-solr.c | 502 | fts-backend-solr.c | 510 | status.uidnext
fts-backend-solr.c | 502 | fts-backend-solr.c | 510 | status.uidvalidity
fts-backend-solr.c | 502 | fts-backend-solr.c | 510 | status.unseen
fts-backend-solr.c | 502 | fts-backend-solr.c | 510 | status.virtual_size

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

fts_backend_solr_add_doc_prefix (517 to 544 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 540 | Pointer not checked for null before use : box_name | CERT EXP08-C,EXP34-C
| 532 |  |
M | 523 | Declaration types do not match across a system. : box | CERT ARR31-C

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

xml_encode_id (546 to 563 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 556 | Attempt to use already freed object. | CERT MEM31-C
M | 560 | Attempt to use already freed object. | CERT MEM31-C
M | 562 | Attempt to use already freed object. | CERT MEM31-C

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

fts_backed_solr_build_commit (654 to 688 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

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

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

fts_backend_solr_build_deinit (690 to 701 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 699 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 697 |  |
M | 697 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 802) |  |

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

fts_backend_solr_expunge (703 to 720 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 714 | Pointer not checked for null before use : cmd | CERT EXP08-C,EXP34-C
| 713 |  |
M | 718 | Pointer not checked for null before use : solr_conn | CERT EXP08-C,EXP34-C
| 50 |  |
M | 706 | Procedure contains UR data flow anomalies. : status.cache_fields | CERT EXP33-C
| 708 |  |
M | 706 | Procedure contains UR data flow anomalies. : status.first_unseen_seq | CERT EXP33-C
| 708 |  |
M | 706 | Procedure contains UR data flow anomalies. : status.highest_modseq | CERT EXP33-C
| 708 |  |
M | 706 | Procedure contains UR data flow anomalies. : status.keywords | CERT EXP33-C
| 708 |  |
M | 706 | Procedure contains UR data flow anomalies. : status.messages | CERT EXP33-C
| 708 |  |
M | 706 | Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs | CERT EXP33-C
| 708 |  |
M | 706 | Procedure contains UR data flow anomalies. : status.recent | CERT EXP33-C
| 708 |  |
M | 706 | Procedure contains UR data flow anomalies. : status.uidnext | CERT EXP33-C
| 708 |  |
M | 706 | Procedure contains UR data flow anomalies. : status.uidvalidity | CERT EXP33-C
| 708 |  |
M | 706 | Procedure contains UR data flow anomalies. : status.unseen | CERT EXP33-C
| 708 |  |
M | 706 | Procedure contains UR data flow anomalies. : status.virtual_size | CERT EXP33-C
| 708 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-backend-solr.c | 706 | fts-backend-solr.c | 708 | status.cache_fields
fts-backend-solr.c | 706 | fts-backend-solr.c | 708 | status.first_unseen_seq
fts-backend-solr.c | 706 | fts-backend-solr.c | 708 | status.highest_modseq
fts-backend-solr.c | 706 | fts-backend-solr.c | 708 | status.keywords
fts-backend-solr.c | 706 | fts-backend-solr.c | 708 | status.messages
fts-backend-solr.c | 706 | fts-backend-solr.c | 708 | status.nonpermanent_modseqs
fts-backend-solr.c | 706 | fts-backend-solr.c | 708 | status.recent
fts-backend-solr.c | 706 | fts-backend-solr.c | 708 | status.uidnext
fts-backend-solr.c | 706 | fts-backend-solr.c | 708 | status.uidvalidity
fts-backend-solr.c | 706 | fts-backend-solr.c | 708 | status.unseen
fts-backend-solr.c | 706 | fts-backend-solr.c | 708 | status.virtual_size

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

fts_backend_solr_expunge_finish (722 to 729 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

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

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

solr_virtual_uid_map (740 to 760 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 750 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 749 |  |
M | 755 | Pointer not checked for null before use : vname | CERT EXP08-C,EXP34-C
| 753 |  |

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

fts_backend_solr_lookup (762 to 845 fts-backend-solr.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 827 | Pointer not checked for null before use : box_name | CERT EXP08-C,EXP34-C
| 825 |  |
M | 833 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 841 | Pointer not checked for null before use : uid_map_ctx.vname | CERT EXP08-C,EXP34-C
| 839 |  |
M | 841 | Pointer not checked for null before use : uid_map_ctx.box | CERT EXP08-C,EXP34-C
| 838 |  |
M | 841 | Pointer not checked for null before use : uid_map_ctx.backend | CERT EXP08-C,EXP34-C
| 837 |  |
M | 782 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 780 |  |
M | 785 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 780 |  |
M | 773 | Procedure contains UR data flow anomalies. : status.cache_fields | CERT EXP33-C
| 778 |  |
M | 773 | Procedure contains UR data flow anomalies. : status.first_unseen_seq | CERT EXP33-C
| 778 |  |
M | 773 | Procedure contains UR data flow anomalies. : status.highest_modseq | CERT EXP33-C
| 778 |  |
M | 773 | Procedure contains UR data flow anomalies. : status.keywords | CERT EXP33-C
| 778 |  |
M | 773 | Procedure contains UR data flow anomalies. : status.messages | CERT EXP33-C
| 778 |  |
M | 773 | Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs | CERT EXP33-C
| 778 |  |
M | 773 | Procedure contains UR data flow anomalies. : status.recent | CERT EXP33-C
| 778 |  |
M | 773 | Procedure contains UR data flow anomalies. : status.uidnext | CERT EXP33-C
| 778 |  |
M | 773 | Procedure contains UR data flow anomalies. : status.uidvalidity | CERT EXP33-C
| 778 |  |
M | 773 | Procedure contains UR data flow anomalies. : status.unseen | CERT EXP33-C
| 778 |  |
M | 773 | Procedure contains UR data flow anomalies. : status.virtual_size | CERT EXP33-C
| 778 |  |
M | 767 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-backend-solr.c | 773 | fts-backend-solr.c | 778 | status.cache_fields
fts-backend-solr.c | 773 | fts-backend-solr.c | 778 | status.first_unseen_seq
fts-backend-solr.c | 773 | fts-backend-solr.c | 778 | status.highest_modseq
fts-backend-solr.c | 773 | fts-backend-solr.c | 778 | status.keywords
fts-backend-solr.c | 773 | fts-backend-solr.c | 778 | status.messages
fts-backend-solr.c | 773 | fts-backend-solr.c | 778 | status.nonpermanent_modseqs
fts-backend-solr.c | 773 | fts-backend-solr.c | 778 | status.recent
fts-backend-solr.c | 773 | fts-backend-solr.c | 778 | status.uidnext
fts-backend-solr.c | 773 | fts-backend-solr.c | 778 | status.uidvalidity
fts-backend-solr.c | 773 | fts-backend-solr.c | 778 | status.unseen
fts-backend-solr.c | 773 | fts-backend-solr.c | 778 | status.virtual_size

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

fts_backend_squat_set (28 to 51 fts-backend-squat.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 : tmp | CERT EXP08-C,EXP34-C
| 34 |  |
M | 32 | Procedure contains UR data flow anomalies. : len | CERT EXP33-C
| 36 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-backend-squat.c | 32 | fts-backend-squat.c | 36 | len

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

fts_backend_squat_init (53 to 92 fts-backend-squat.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 64 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 62 |  |
M | 80 | Pointer not checked for null before use : backend | CERT EXP08-C,EXP34-C
| 79 |  |
M | 66 | Pointer not checked for null before use : storage | CERT EXP08-C,EXP34-C
| 61 |  |
M | 72 | Pointer not checked for null before use : storage | CERT EXP08-C,EXP34-C
| 61 |  |
M | 57 | Procedure contains UR data flow anomalies. : status.cache_fields | CERT EXP33-C
| 71 |  |
M | 57 | Procedure contains UR data flow anomalies. : status.first_unseen_seq | CERT EXP33-C
| 71 |  |
M | 57 | Procedure contains UR data flow anomalies. : status.highest_modseq | CERT EXP33-C
| 71 |  |
M | 57 | Procedure contains UR data flow anomalies. : status.keywords | CERT EXP33-C
| 71 |  |
M | 57 | Procedure contains UR data flow anomalies. : status.messages | CERT EXP33-C
| 71 |  |
M | 57 | Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs | CERT EXP33-C
| 71 |  |
M | 57 | Procedure contains UR data flow anomalies. : status.recent | CERT EXP33-C
| 71 |  |
M | 57 | Procedure contains UR data flow anomalies. : status.uidnext | CERT EXP33-C
| 71 |  |
M | 57 | Procedure contains UR data flow anomalies. : status.uidvalidity | CERT EXP33-C
| 71 |  |
M | 57 | Procedure contains UR data flow anomalies. : status.unseen | CERT EXP33-C
| 71 |  |
M | 57 | Procedure contains UR data flow anomalies. : status.virtual_size | CERT EXP33-C
| 71 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-backend-squat.c | 57 | fts-backend-squat.c | 71 | status.cache_fields
fts-backend-squat.c | 57 | fts-backend-squat.c | 71 | status.first_unseen_seq
fts-backend-squat.c | 57 | fts-backend-squat.c | 71 | status.highest_modseq
fts-backend-squat.c | 57 | fts-backend-squat.c | 71 | status.keywords
fts-backend-squat.c | 57 | fts-backend-squat.c | 71 | status.messages
fts-backend-squat.c | 57 | fts-backend-squat.c | 71 | status.nonpermanent_modseqs
fts-backend-squat.c | 57 | fts-backend-squat.c | 71 | status.recent
fts-backend-squat.c | 57 | fts-backend-squat.c | 71 | status.uidnext
fts-backend-squat.c | 57 | fts-backend-squat.c | 71 | status.uidvalidity
fts-backend-squat.c | 57 | fts-backend-squat.c | 71 | status.unseen
fts-backend-squat.c | 57 | fts-backend-squat.c | 71 | status.virtual_size

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

fts_backend_squat_deinit (94 to 101 fts-backend-squat.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 100 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 99 |  |
M | 99 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 805) |  |

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

fts_backend_squat_build_init (112 to 130 fts-backend-squat.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 125 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 124 |  |
M | 124 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 121 |  |
M | 119 | Procedure contains UR data flow anomalies. : build_ctx | CERT EXP33-C
| 121 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-backend-squat.c | 119 | fts-backend-squat.c | 121 | build_ctx

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

get_all_msg_uids (170 to 195 fts-backend-squat.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 179 | Pointer not checked for null before use : t | CERT EXP08-C,EXP34-C
| 178 |  |
M | 182 | Pointer not checked for null before use : search_args | CERT EXP08-C,EXP34-C
| 181 |  |
M | 175 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

fts_backend_squat_build_deinit (197 to 215 fts-backend-squat.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 207 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 205 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 805) |  |
M | 212 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 205 |  |
M | 213 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 210 |  |
M | 202 | Procedure contains UR data flow anomalies. : uids.arr.buffer | CERT EXP33-C
| 206 |  |
M | 202 | Procedure contains UR data flow anomalies. : uids.arr.element_size | CERT EXP33-C
| 206 |  |
M | 202 | Procedure contains UR data flow anomalies. : uids.v | CERT EXP33-C
| 206 |  |
M | 202 | Procedure contains UR data flow anomalies. : uids.v_modifiable | CERT EXP33-C
| 206 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-backend-squat.c | 202 | fts-backend-squat.c | 206 | uids.arr.buffer
fts-backend-squat.c | 202 | fts-backend-squat.c | 206 | uids.arr.element_size
fts-backend-squat.c | 202 | fts-backend-squat.c | 206 | uids.v
fts-backend-squat.c | 202 | fts-backend-squat.c | 206 | uids.v_modifiable

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

uid_range_to_seqs (13 to 29 fts-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 22 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 812) |  |
M | 24 | Pointer not checked for null before use : range | CERT EXP08-C,EXP34-C
| 21 |  |
M | 19 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 24 |  |
M | 19 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 24 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-search.c | 19 | fts-search.c | 24 | seq1
fts-search.c | 19 | fts-search.c | 24 | seq2

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

fts_uid_results_to_seq (31 to 42 fts-search.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 36 | Pointer not checked for null before use : uid_range.arr.buffer | CERT EXP08-C,EXP34-C
| 35 |  |
M | 40 | Pointer not checked for null before use : uid_range.arr.buffer | CERT EXP08-C,EXP34-C
| 39 |  |

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

fts_search_lookup_arg (44 to 114 fts-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 63 | Pointer not checked for null before use : key | CERT EXP08-C,EXP34-C
| 62 |  |
M | 100 | Pointer not checked for null before use : backend | CERT EXP08-C,EXP34-C
| 61 |  |
M | 92 | Pointer not checked for null before use : key | CERT EXP08-C,EXP34-C
| 66 |  |
M | 52 | Procedure contains UR data flow anomalies. : result | CERT EXP33-C
| 92 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-search.c | 52 | fts-search.c | 92 | result

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

fts_search_lookup (116 to 189 fts-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 177 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 169 |  |
M | 135 | Pointer not checked for null before use : fctx | CERT EXP08-C,EXP34-C
| 137 |  |
M | 164 | Procedure contains UR data flow anomalies. : tmp_def.arr.buffer | CERT EXP33-C
| 172 |  |
M | 164 | Procedure contains UR data flow anomalies. : tmp_def.arr.element_size | CERT EXP33-C
| 172 |  |
M | 164 | Procedure contains UR data flow anomalies. : tmp_def.v | CERT EXP33-C
| 172 |  |
M | 164 | Procedure contains UR data flow anomalies. : tmp_def.v_modifiable | CERT EXP33-C
| 172 |  |
M | 164 | Procedure contains UR data flow anomalies. : tmp_maybe.arr.buffer | CERT EXP33-C
| 172 |  |
M | 164 | Procedure contains UR data flow anomalies. : tmp_maybe.arr.element_size | CERT EXP33-C
| 172 |  |
M | 164 | Procedure contains UR data flow anomalies. : tmp_maybe.v | CERT EXP33-C
| 172 |  |
M | 164 | Procedure contains UR data flow anomalies. : tmp_maybe.v_modifiable | CERT EXP33-C
| 172 |  |
M | 165 | Procedure contains UR data flow anomalies. : tmp_scores.arr.buffer | CERT EXP33-C
| 172 |  |
M | 165 | Procedure contains UR data flow anomalies. : tmp_scores.arr.element_size | CERT EXP33-C
| 172 |  |
M | 165 | Procedure contains UR data flow anomalies. : tmp_scores.v | CERT EXP33-C
| 172 |  |
M | 165 | Procedure contains UR data flow anomalies. : tmp_scores.v_modifiable | CERT EXP33-C
| 172 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-search.c | 164 | fts-search.c | 172 | tmp_def.arr.buffer
fts-search.c | 164 | fts-search.c | 172 | tmp_def.arr.element_size
fts-search.c | 164 | fts-search.c | 172 | tmp_def.v
fts-search.c | 164 | fts-search.c | 172 | tmp_def.v_modifiable
fts-search.c | 164 | fts-search.c | 172 | tmp_maybe.arr.buffer
fts-search.c | 164 | fts-search.c | 172 | tmp_maybe.arr.element_size
fts-search.c | 164 | fts-search.c | 172 | tmp_maybe.v
fts-search.c | 164 | fts-search.c | 172 | tmp_maybe.v_modifiable
fts-search.c | 165 | fts-search.c | 172 | tmp_scores.arr.buffer
fts-search.c | 165 | fts-search.c | 172 | tmp_scores.arr.element_size
fts-search.c | 165 | fts-search.c | 172 | tmp_scores.v
fts-search.c | 165 | fts-search.c | 172 | tmp_scores.v_modifiable

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

fts_solr_plugin_init_settings (16 to 45 fts-solr-plugin.c) - FAIL

#### Standards Violation Summary

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

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

fts_solr_mail_user_create (47 to 58 fts-solr-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 52 | Pointer not checked for null before use : fuser | CERT EXP08-C,EXP34-C
| 51 |  |
M | 57 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 57 |  |

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

fts_mailbox_free (64 to 75 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 68 | Pointer not checked for null before use : fbox | CERT EXP08-C,EXP34-C
| 66 |  |
M | 66 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |

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

fts_build_parse_content_type (91 to 107 fts-storage.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-storage.c | 94 | fts-storage.c | 97 | parser.data
fts-storage.c | 94 | fts-storage.c | 97 | parser.end
fts-storage.c | 94 | fts-storage.c | 97 | parser.last_comment

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

fts_build_parse_content_disposition (109 to 117 fts-storage.c) - FAIL

#### Standards Violation Summary

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

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

fts_build_mail (144 to 243 fts-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 187 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 186 |  |
M | 170 | Pointer not checked for null before use : parser | CERT EXP08-C,EXP34-C
| 161 |  |
M | 235 | Pointer not checked for null before use : decoder | CERT EXP08-C,EXP34-C
| 168 |  |
M | 217 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 187 |  |
M | 186 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 217 |  |
M | 150 | Procedure contains UR data flow anomalies. : block.data | CERT EXP33-C
| 224 |  |
M | 150 | Procedure contains UR data flow anomalies. : block.hdr | CERT EXP33-C
| 216 |  |
M | 150 | Procedure contains UR data flow anomalies. : block.size | CERT EXP33-C
| 219 |  |
M | 151 | Procedure contains UR data flow anomalies. : parts | CERT EXP33-C
| 233 |  |
M | 160 | Procedure contains UR data flow anomalies. : prev_part | CERT EXP33-C
| 151 |  |
M | 150 | Procedure contains UR data flow anomalies. : raw_block.data | CERT EXP33-C
| 170 |  |
M | 150 | Procedure contains UR data flow anomalies. : raw_block.hdr | CERT EXP33-C
| 170 |  |
M | 150 | Procedure contains UR data flow anomalies. : raw_block.part | CERT EXP33-C
| 170 |  |
M | 150 | Procedure contains UR data flow anomalies. : raw_block.size | CERT EXP33-C
| 170 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-storage.c | 150 | fts-storage.c | 224 | block.data
fts-storage.c | 150 | fts-storage.c | 216 | block.hdr
fts-storage.c | 150 | fts-storage.c | 219 | block.size
fts-storage.c | 151 | fts-storage.c | 233 | parts
fts-storage.c | 160 | fts-storage.c | 178 | prev_part
fts-storage.c | 150 | fts-storage.c | 170 | raw_block.data
fts-storage.c | 150 | fts-storage.c | 170 | raw_block.hdr
fts-storage.c | 150 | fts-storage.c | 170 | raw_block.part
fts-storage.c | 150 | fts-storage.c | 170 | raw_block.size

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

fts_build_init_seq (245 to 290 fts-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 278 | Pointer not checked for null before use : search_args | CERT EXP08-C,EXP34-C
| 277 |  |
M | 281 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 280 |  |
M | 252 | Procedure contains UR data flow anomalies. : build | CERT EXP33-C
| 263 |  |
M | 253 | Procedure contains UR data flow anomalies. : last_uid_locked | CERT EXP33-C
| 263 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-storage.c | 252 | fts-storage.c | 263 | build
fts-storage.c | 253 | fts-storage.c | 263 | last_uid_locked

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

fts_mailbox_get_backend (292 to 304 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 298 | Attempt to use already freed object. | CERT MEM31-C
M | 301 | Attempt to use already freed object. | CERT MEM31-C
M | 296 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |

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

fts_build_init_trans (306 to 325 fts-storage.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 : backend | CERT EXP08-C,EXP34-C
| 313 |  |
M | 310 | Procedure contains UR data flow anomalies. : last_uid | CERT EXP33-C
| 314 |  |
M | 310 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 317 |  |
M | 310 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 317 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-storage.c | 310 | fts-storage.c | 314 | last_uid
fts-storage.c | 310 | fts-storage.c | 317 | seq1
fts-storage.c | 310 | fts-storage.c | 317 | seq2

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

fts_build_init_box (327 to 342 fts-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 340 | Pointer not checked for null before use : backend | CERT EXP08-C,EXP34-C
| 338 |  |
M | 332 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 334 |  |
M | 332 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 334 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-storage.c | 332 | fts-storage.c | 334 | seq1
fts-storage.c | 332 | fts-storage.c | 334 | seq2

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

mailbox_name_cmp (344 to 360 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 355 | Pointer not checked for null before use : tmp1 | CERT EXP08-C,EXP34-C
| 353 |  |
M | 356 | Pointer not checked for null before use : tmp2 | CERT EXP08-C,EXP34-C
| 354 |  |
M | 357 | Pointer not checked for null before use : vname1 | CERT EXP08-C,EXP34-C
| 355 |  |
M | 357 | Pointer not checked for null before use : vname2 | CERT EXP08-C,EXP34-C
| 356 |  |

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

fts_build_init_virtual_next (369 to 424 fts-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 395 | Pointer not checked for null before use : vname | CERT EXP08-C,EXP34-C
| 393 |  |
M | 393 | Pointer not checked for null before use : boxes | CERT EXP08-C,EXP34-C
| 386 |  |
M | 395 | Pointer not checked for null before use : last_uids | CERT EXP08-C,EXP34-C
| 387 |  |
M | 393 | Pointer not checked for null before use : tmp | CERT EXP08-C,EXP34-C
| 389 |  |
M | 418 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 404 |  |
M | 418 | Pointer not checked for null before use : fctx.first_nonindexed_seq | CERT EXP08-C,EXP34-C
| 404 |  |
M | 375 | Procedure contains UR data flow anomalies. : box_count | CERT EXP33-C
| 392 |  |
M | 375 | Procedure contains UR data flow anomalies. : last_uid_count | CERT EXP33-C
| 392 |  |
M | 372 | Procedure contains UR data flow anomalies. : status.cache_fields | CERT EXP33-C
| 398 |  |
M | 372 | Procedure contains UR data flow anomalies. : status.first_unseen_seq | CERT EXP33-C
| 398 |  |
M | 372 | Procedure contains UR data flow anomalies. : status.highest_modseq | CERT EXP33-C
| 398 |  |
M | 372 | Procedure contains UR data flow anomalies. : status.keywords | CERT EXP33-C
| 398 |  |
M | 372 | Procedure contains UR data flow anomalies. : status.messages | CERT EXP33-C
| 398 |  |
M | 372 | Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs | CERT EXP33-C
| 398 |  |
M | 372 | Procedure contains UR data flow anomalies. : status.recent | CERT EXP33-C
| 398 |  |
M | 372 | Procedure contains UR data flow anomalies. : status.uidnext | CERT EXP33-C
| 398 |  |
M | 372 | Procedure contains UR data flow anomalies. : status.uidvalidity | CERT EXP33-C
| 398 |  |
M | 372 | Procedure contains UR data flow anomalies. : status.unseen | CERT EXP33-C
| 398 |  |
M | 372 | Procedure contains UR data flow anomalies. : status.virtual_size | CERT EXP33-C
| 398 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-storage.c | 375 | fts-storage.c | 392 | box_count
fts-storage.c | 375 | fts-storage.c | 392 | last_uid_count
fts-storage.c | 372 | fts-storage.c | 398 | status.cache_fields
fts-storage.c | 372 | fts-storage.c | 398 | status.first_unseen_seq
fts-storage.c | 372 | fts-storage.c | 398 | status.highest_modseq
fts-storage.c | 372 | fts-storage.c | 398 | status.keywords
fts-storage.c | 372 | fts-storage.c | 398 | status.messages
fts-storage.c | 372 | fts-storage.c | 398 | status.nonpermanent_modseqs
fts-storage.c | 372 | fts-storage.c | 398 | status.recent
fts-storage.c | 372 | fts-storage.c | 398 | status.uidnext
fts-storage.c | 372 | fts-storage.c | 398 | status.uidvalidity
fts-storage.c | 372 | fts-storage.c | 398 | status.unseen
fts-storage.c | 372 | fts-storage.c | 398 | status.virtual_size

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

fts_box_get_root (426 to 443 fts-storage.c) - FAIL

#### Standards Violation Summary

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

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

fts_build_init_virtual (445 to 496 fts-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 457 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 455 |  |
M | 457 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 455 |  |
M | 465 | Pointer not checked for null before use : orig_box.box | CERT EXP08-C,EXP34-C
| 463 |  |
M | 465 | Pointer not checked for null before use : orig_box.ns | CERT EXP08-C,EXP34-C
| 464 |  |
M | 465 | Pointer not checked for null before use : orig_box.name | CERT EXP08-C,EXP34-C
| 464 |  |
M | 463 | Pointer not checked for null before use : boxes | CERT EXP08-C,EXP34-C
| 457 |  |
M | 476 | Pointer not checked for null before use : orig_boxes | CERT EXP08-C,EXP34-C
| 468 |  |
M | 465 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 460 |  |
M | 465 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 460 |  |
M | 491 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 484 |  |
M | 491 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 484 |  |
M | 448 | Procedure contains UR data flow anomalies. : mailboxes.arr.buffer | CERT EXP33-C
| 456 |  |
M | 448 | Procedure contains UR data flow anomalies. : mailboxes.arr.element_size | CERT EXP33-C
| 456 |  |
M | 448 | Procedure contains UR data flow anomalies. : mailboxes.v | CERT EXP33-C
| 456 |  |
M | 448 | Procedure contains UR data flow anomalies. : mailboxes.v_modifiable | CERT EXP33-C
| 456 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-storage.c | 448 | fts-storage.c | 456 | mailboxes.arr.buffer
fts-storage.c | 448 | fts-storage.c | 456 | mailboxes.arr.element_size
fts-storage.c | 448 | fts-storage.c | 456 | mailboxes.v
fts-storage.c | 448 | fts-storage.c | 456 | mailboxes.v_modifiable

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

fts_build_init (498 to 522 fts-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 505 | Attempt to use already freed object. | CERT MEM31-C
M | 506 | Attempt to use already freed object. | CERT MEM31-C
M | 511 | Attempt to use already freed object. | CERT MEM31-C
M | 518 | Attempt to use already freed object. | CERT MEM31-C
M | 519 | Attempt to use already freed object. | CERT MEM31-C
M | 500 | Procedure contains UR data flow anomalies. : status.cache_fields | CERT EXP33-C
| 503 |  |
M | 500 | Procedure contains UR data flow anomalies. : status.first_unseen_seq | CERT EXP33-C
| 503 |  |
M | 500 | Procedure contains UR data flow anomalies. : status.highest_modseq | CERT EXP33-C
| 503 |  |
M | 500 | Procedure contains UR data flow anomalies. : status.keywords | CERT EXP33-C
| 503 |  |
M | 500 | Procedure contains UR data flow anomalies. : status.messages | CERT EXP33-C
| 503 |  |
M | 500 | Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs | CERT EXP33-C
| 503 |  |
M | 500 | Procedure contains UR data flow anomalies. : status.recent | CERT EXP33-C
| 503 |  |
M | 500 | Procedure contains UR data flow anomalies. : status.uidnext | CERT EXP33-C
| 503 |  |
M | 500 | Procedure contains UR data flow anomalies. : status.uidvalidity | CERT EXP33-C
| 503 |  |
M | 500 | Procedure contains UR data flow anomalies. : status.unseen | CERT EXP33-C
| 503 |  |
M | 500 | Procedure contains UR data flow anomalies. : status.virtual_size | CERT EXP33-C
| 503 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-storage.c | 500 | fts-storage.c | 503 | status.cache_fields
fts-storage.c | 500 | fts-storage.c | 503 | status.first_unseen_seq
fts-storage.c | 500 | fts-storage.c | 503 | status.highest_modseq
fts-storage.c | 500 | fts-storage.c | 503 | status.keywords
fts-storage.c | 500 | fts-storage.c | 503 | status.messages
fts-storage.c | 500 | fts-storage.c | 503 | status.nonpermanent_modseqs
fts-storage.c | 500 | fts-storage.c | 503 | status.recent
fts-storage.c | 500 | fts-storage.c | 503 | status.uidnext
fts-storage.c | 500 | fts-storage.c | 503 | status.uidvalidity
fts-storage.c | 500 | fts-storage.c | 503 | status.unseen
fts-storage.c | 500 | fts-storage.c | 503 | status.virtual_size

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

fts_build_deinit (524 to 562 fts-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 559 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 558 |  |
M | 560 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 559 |  |
M | 528 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 544 | Pointer not checked for null before use : fbox | CERT EXP08-C,EXP34-C
| 528 |  |
M | 529 | Procedure contains UR data flow anomalies. : status.cache_fields | CERT EXP33-C
| 542 |  |
M | 529 | Procedure contains UR data flow anomalies. : status.first_unseen_seq | CERT EXP33-C
| 542 |  |
M | 529 | Procedure contains UR data flow anomalies. : status.highest_modseq | CERT EXP33-C
| 542 |  |
M | 529 | Procedure contains UR data flow anomalies. : status.keywords | CERT EXP33-C
| 542 |  |
M | 529 | Procedure contains UR data flow anomalies. : status.messages | CERT EXP33-C
| 542 |  |
M | 529 | Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs | CERT EXP33-C
| 542 |  |
M | 529 | Procedure contains UR data flow anomalies. : status.recent | CERT EXP33-C
| 542 |  |
M | 529 | Procedure contains UR data flow anomalies. : status.uidnext | CERT EXP33-C
| 542 |  |
M | 529 | Procedure contains UR data flow anomalies. : status.uidvalidity | CERT EXP33-C
| 542 |  |
M | 529 | Procedure contains UR data flow anomalies. : status.unseen | CERT EXP33-C
| 542 |  |
M | 529 | Procedure contains UR data flow anomalies. : status.virtual_size | CERT EXP33-C
| 542 |  |
M | 527 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-storage.c | 529 | fts-storage.c | 542 | status.cache_fields
fts-storage.c | 529 | fts-storage.c | 542 | status.first_unseen_seq
fts-storage.c | 529 | fts-storage.c | 542 | status.highest_modseq
fts-storage.c | 529 | fts-storage.c | 542 | status.keywords
fts-storage.c | 529 | fts-storage.c | 542 | status.messages
fts-storage.c | 529 | fts-storage.c | 542 | status.nonpermanent_modseqs
fts-storage.c | 529 | fts-storage.c | 542 | status.recent
fts-storage.c | 529 | fts-storage.c | 542 | status.uidnext
fts-storage.c | 529 | fts-storage.c | 542 | status.uidvalidity
fts-storage.c | 529 | fts-storage.c | 542 | status.unseen
fts-storage.c | 529 | fts-storage.c | 542 | status.virtual_size

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

fts_build_notify (564 to 595 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 577 | Pointer not checked for null before use : range | CERT EXP08-C,EXP34-C
| 576 |  |
M | 589 | Pointer not checked for null before use : text | CERT EXP08-C,EXP34-C
| 586 |  |
M | 566 | Declaration types do not match across a system. : box | CERT ARR31-C

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

fts_mailbox_search_init (663 to 690 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 683 | Local structure returned in function result : ctx |
M | 689 | Local structure returned in function result : ctx |
M | 669 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 668 |  |
M | 673 | Pointer not checked for null before use : fbox | CERT EXP08-C,EXP34-C
| 669 |  |
M | 676 | Pointer not checked for null before use : fctx | CERT EXP08-C,EXP34-C
| 675 |  |
M | 680 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 673 |  |
M | 680 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 669 |  |
M | 680 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 680 |  |
M | 668 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 675 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 813) |  |
M | 685 | Pointer not checked for null before use : ft | CERT EXP08-C,EXP34-C
| 668 |  |
M | 688 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 680 |  |

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

fts_mailbox_search_next_nonblock (692 to 732 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 697 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 696 |  |
M | 700 | Pointer not checked for null before use : fctx | CERT EXP08-C,EXP34-C
| 697 |  |
M | 696 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 703 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 697 |  |
M | 722 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 719 |  |
M | 719 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 697 |  |
M | 719 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 711 |  |
M | 722 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 719 |  |
M | 722 | Pointer not checked for null before use : fctx.build_backend | CERT EXP08-C,EXP34-C
| 703 |  |
M | 722 | Pointer not checked for null before use : fctx.first_nonindexed_seq | CERT EXP08-C,EXP34-C
| 703 |  |

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

search_nonindexed (757 to 770 fts-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 760 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 759 |  |
M | 765 | Pointer not checked for null before use : fctx | CERT EXP08-C,EXP34-C
| 759 |  |
M | 759 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 761 | Procedure contains UR data flow anomalies. : status.cache_fields | CERT EXP33-C
| 763 |  |
M | 761 | Procedure contains UR data flow anomalies. : status.first_unseen_seq | CERT EXP33-C
| 763 |  |
M | 761 | Procedure contains UR data flow anomalies. : status.highest_modseq | CERT EXP33-C
| 763 |  |
M | 761 | Procedure contains UR data flow anomalies. : status.keywords | CERT EXP33-C
| 763 |  |
M | 761 | Procedure contains UR data flow anomalies. : status.messages | CERT EXP33-C
| 763 |  |
M | 761 | Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs | CERT EXP33-C
| 763 |  |
M | 761 | Procedure contains UR data flow anomalies. : status.recent | CERT EXP33-C
| 763 |  |
M | 761 | Procedure contains UR data flow anomalies. : status.uidnext | CERT EXP33-C
| 763 |  |
M | 761 | Procedure contains UR data flow anomalies. : status.uidvalidity | CERT EXP33-C
| 763 |  |
M | 761 | Procedure contains UR data flow anomalies. : status.unseen | CERT EXP33-C
| 763 |  |
M | 761 | Procedure contains UR data flow anomalies. : status.virtual_size | CERT EXP33-C
| 763 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
fts-storage.c | 761 | fts-storage.c | 763 | status.cache_fields
fts-storage.c | 761 | fts-storage.c | 763 | status.first_unseen_seq
fts-storage.c | 761 | fts-storage.c | 763 | status.highest_modseq
fts-storage.c | 761 | fts-storage.c | 763 | status.keywords
fts-storage.c | 761 | fts-storage.c | 763 | status.messages
fts-storage.c | 761 | fts-storage.c | 763 | status.nonpermanent_modseqs
fts-storage.c | 761 | fts-storage.c | 763 | status.recent
fts-storage.c | 761 | fts-storage.c | 763 | status.uidnext
fts-storage.c | 761 | fts-storage.c | 763 | status.uidvalidity
fts-storage.c | 761 | fts-storage.c | 763 | status.unseen
fts-storage.c | 761 | fts-storage.c | 763 | status.virtual_size

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

fts_mailbox_search_next_update_seq (772 to 857 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 775 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 774 |  |
M | 781 | Pointer not checked for null before use : fctx | CERT EXP08-C,EXP34-C
| 775 |  |
M | 774 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 834 | Pointer not checked for null before use : fbox | CERT EXP08-C,EXP34-C
| 774 |  |
M | 805 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 775 |  |
M | 811 | Pointer not checked for null before use : maybe_range | CERT EXP08-C,EXP34-C
| 789 |  |
M | 811 | Pointer not checked for null before use : def_range | CERT EXP08-C,EXP34-C
| 787 |  |

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

fts_mailbox_search_next_update_seq_virtual (859 to 880 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 863 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 862 |  |
M | 862 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 865 | Pointer not checked for null before use : fbox | CERT EXP08-C,EXP34-C
| 862 |  |
M | 866 | Pointer not checked for null before use : fctx | CERT EXP08-C,EXP34-C
| 863 |  |

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

fts_mailbox_search_deinit (882 to 908 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 885 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 884 |  |
M | 886 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 885 |  |
M | 888 | Pointer not checked for null before use : ft | CERT EXP08-C,EXP34-C
| 884 |  |
M | 888 | Pointer not checked for null before use : fctx | CERT EXP08-C,EXP34-C
| 886 |  |
M | 884 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 893 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 886 |  |
M | 906 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 893 |  |

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

fts_mail_expunge (910 to 924 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 915 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 914 |  |
M | 917 | Pointer not checked for null before use : ft | CERT EXP08-C,EXP34-C
| 915 |  |
M | 918 | Pointer not checked for null before use : fbox | CERT EXP08-C,EXP34-C
| 914 |  |
M | 913 | Pointer not checked for null before use : fts_mail_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 62 |  |
M | 914 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 923 | Pointer not checked for null before use : fmail | CERT EXP08-C,EXP34-C
| 913 |  |
M | 912 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

fts_mail_get_special (932 to 956 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 949 | Sizeof argument is a pointer. | CERT EXP01-C
M | 936 | Pointer not checked for null before use : fts_mail_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 62 |  |
M | 937 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 940 | Pointer not checked for null before use : ft | CERT EXP08-C,EXP34-C
| 937 |  |
M | 944 | Pointer not checked for null before use : ft | CERT EXP08-C,EXP34-C
| 937 |  |
M | 935 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

fts_mail_allocated (958 to 976 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 970 | Pointer not checked for null before use : fmail | CERT EXP08-C,EXP34-C
| 969 |  |
M | 975 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 975 |  |
M | 962 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 960 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

fts_box_backends_init (978 to 1007 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 984 | Pointer not checked for null before use : fbox | CERT EXP08-C,EXP34-C
| 980 |  |
M | 980 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 984 | Pointer not checked for null before use : tmp | CERT EXP08-C,EXP34-C
| 984 |  |

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

fts_transaction_begin (1009 to 1029 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1028 | Local structure returned in function result : t |
M | 1021 | Pointer not checked for null before use : fbox | CERT EXP08-C,EXP34-C
| 1013 |  |
M | 1027 | Pointer not checked for null before use : t | CERT EXP08-C,EXP34-C
| 1026 |  |
M | 1027 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 1027 |  |
M | 1013 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 1017 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 813) |  |
M | 1027 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 1022 |  |
M | 1022 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 1013 |  |
M | 1027 | Pointer not checked for null before use : ft | CERT EXP08-C,EXP34-C
| 1017 |  |

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

fts_storage_build_context_deinit (1031 to 1037 fts-storage.c) - FAIL

#### Standards Violation Summary

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

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

fts_transaction_finish (1039 to 1052 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1043 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 1046 | Pointer not checked for null before use : fbox | CERT EXP08-C,EXP34-C
| 1043 |  |

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

fts_transaction_rollback (1054 to 1069 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1058 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 1057 |  |
M | 1060 | Pointer not checked for null before use : ft | CERT EXP08-C,EXP34-C
| 1058 |  |
M | 1057 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 1067 | Pointer not checked for null before use : fbox | CERT EXP08-C,EXP34-C
| 1057 |  |
M | 1068 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 1058 |  |
M | 1068 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1061 |  |
M | 1056 | Declaration types do not match across a system. : box | CERT ARR31-C

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

fts_transaction_commit (1071 to 1090 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1077 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 1076 |  |
M | 1080 | Pointer not checked for null before use : ft | CERT EXP08-C,EXP34-C
| 1077 |  |
M | 1076 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 60 |  |
M | 1087 | Pointer not checked for null before use : fbox | CERT EXP08-C,EXP34-C
| 1076 |  |
M | 1088 | Pointer not checked for null before use : fts_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 1077 |  |
M | 1088 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1081 |  |
M | 1075 | Declaration types do not match across a system. : box | CERT ARR31-C

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

fts_mailbox_init (1092 to 1115 fts-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1098 | Pointer not checked for null before use : fbox | CERT EXP08-C,EXP34-C
| 1097 |  |
M | 1114 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 1114 |  |
M | 1097 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 813) |  |

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

acl_mailbox_open_as_admin (55 to 90 imap-acl-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 76 | Pointer not checked for null before use : box | CERT EXP08-C,EXP34-C
| 74 |  |
M | 81 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 76 |  |
M | 81 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 76 |  |
M | 60 | Procedure contains UR data flow anomalies. : storage_name | CERT EXP33-C
| 68 |  |
M | 59 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
imap-acl-plugin.c | 60 | imap-acl-plugin.c | 68 | storage_name

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

imap_acl_write_right (130 to 168 imap-acl-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 134 | Declaration types do not match across a system. : rights | CERT ARR31-C

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

imap_acl_write_aclobj (170 to 244 imap-acl-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 219 | Pointer not checked for null before use : tmp | CERT EXP08-C,EXP34-C
| 187 |  |
M | 176 | Declaration types do not match across a system. : rights | CERT ARR31-C

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

cmd_getacl (246 to 279 imap-acl-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 268 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 258 |  |
M | 267 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 258 |  |
M | 263 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 262 |  |
M | 267 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 266 |  |
M | 268 | Pointer not checked for null before use : backend | CERT EXP08-C,EXP34-C
| 267 |  |
M | 250 | Declaration types do not match across a system. : box | CERT ARR31-C

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

cmd_myrights (281 to 330 imap-acl-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 303 | Pointer not checked for null before use : box | CERT EXP08-C,EXP34-C
| 301 |  |
M | 303 | Pointer not checked for null before use : box | CERT EXP08-C,EXP34-C
| 303 |  |
M | 321 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 320 |  |
M | 311 | Pointer not checked for null before use : rights | CERT EXP08-C,EXP34-C
| 304 |  |
M | 285 | Procedure contains UR data flow anomalies. : storage_name | CERT EXP33-C
| 297 |  |
M | 284 | Declaration types do not match across a system. : box | CERT ARR31-C
M | 286 | Declaration types do not match across a system. : rights | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
imap-acl-plugin.c | 285 | imap-acl-plugin.c | 297 | storage_name

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

cmd_listrights (332 to 357 imap-acl-plugin.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 : str | CERT EXP08-C,EXP34-C
| 345 |  |
M | 335 | Procedure contains UR data flow anomalies. : identifier | CERT EXP33-C
| 338 |  |
M | 334 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
imap-acl-plugin.c | 335 | imap-acl-plugin.c | 338 | identifier

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

cmd_setacl (492 to 575 imap-acl-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 546 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 545 |  |
M | 530 | Pointer not checked for null before use : identifier | CERT EXP08-C,EXP34-C
| 513 |  |
M | 532 | Pointer not checked for null before use : error | CERT EXP08-C,EXP34-C
| 530 |  |
M | 536 | Pointer not checked for null before use : error | CERT EXP08-C,EXP34-C
| 535 |  |
M | 569 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 541 |  |
M | 546 | Pointer not checked for null before use : acl_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 541 |  |
M | 499 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 532 |  |
M | 499 | Procedure contains UR data flow anomalies. : identifier | CERT EXP33-C
| 502 |  |
M | 495 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
imap-acl-plugin.c | 499 | imap-acl-plugin.c | 532 | error
imap-acl-plugin.c | 499 | imap-acl-plugin.c | 502 | identifier

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

cmd_deleteacl (577 to 614 imap-acl-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 598 | Pointer not checked for null before use : identifier | CERT EXP08-C,EXP34-C
| 595 |  |
M | 600 | Pointer not checked for null before use : error | CERT EXP08-C,EXP34-C
| 598 |  |
M | 608 | Pointer not checked for null before use : acl_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 604 |  |
M | 581 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 600 |  |
M | 581 | Procedure contains UR data flow anomalies. : identifier | CERT EXP33-C
| 583 |  |
M | 579 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
imap-acl-plugin.c | 581 | imap-acl-plugin.c | 600 | error
imap-acl-plugin.c | 581 | imap-acl-plugin.c | 583 | identifier

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

imap_quota_root_get_name (22 to 33 imap-quota-plugin.c) - FAIL

#### Standards Violation Summary

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

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

quota_reply_write (35 to 67 imap-quota-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 46 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 45 |  |
M | 50 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 49 |  |
M | 41 | Procedure contains UR data flow anomalies. : limit | CERT EXP33-C
| 57 |  |
M | 41 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 51 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
imap-quota-plugin.c | 41 | imap-quota-plugin.c | 57 | limit
imap-quota-plugin.c | 41 | imap-quota-plugin.c | 51 | value

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

cmd_getquotaroot (69 to 128 imap-quota-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 104 | Pointer not checked for null before use : quotaroot_reply | CERT EXP08-C,EXP34-C
| 102 |  |
M | 107 | Pointer not checked for null before use : box | CERT EXP08-C,EXP34-C
| 99 |  |
M | 111 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 110 |  |
M | 113 | Pointer not checked for null before use : quota_reply | CERT EXP08-C,EXP34-C
| 103 |  |
M | 77 | Procedure contains UR data flow anomalies. : storage_name | CERT EXP33-C
| 84 |  |
M | 74 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
imap-quota-plugin.c | 77 | imap-quota-plugin.c | 84 | storage_name

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

cmd_getquota (130 to 165 imap-quota-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 149 | Pointer not checked for null before use : owner | CERT EXP08-C,EXP34-C
| 147 |  |
M | 159 | Pointer not checked for null before use : quota_reply | CERT EXP08-C,EXP34-C
| 158 |  |
M | 159 | Pointer not checked for null before use : root | CERT EXP08-C,EXP34-C
| 149 |  |
M | 150 | Pointer not checked for null before use : quota_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 141 |  |
M | 134 | Procedure contains UR data flow anomalies. : root_name | CERT EXP33-C
| 138 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
imap-quota-plugin.c | 134 | imap-quota-plugin.c | 138 | root_name

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

cmd_setquota (167 to 206 imap-quota-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 170 | Procedure contains UR data flow anomalies. : list_args | CERT EXP33-C
| 179 |  |
M | 171 | Procedure contains UR data flow anomalies. : name | CERT EXP33-C
| 191 |  |
M | 171 | Procedure contains UR data flow anomalies. : root_name | CERT EXP33-C
| 178 |  |
M | 172 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 193 |  |
M | 171 | Procedure contains UR data flow anomalies. : value_str | CERT EXP33-C
| 192 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
imap-quota-plugin.c | 170 | imap-quota-plugin.c | 179 | list_args
imap-quota-plugin.c | 171 | imap-quota-plugin.c | 191 | name
imap-quota-plugin.c | 171 | imap-quota-plugin.c | 178 | root_name
imap-quota-plugin.c | 172 | imap-quota-plugin.c | 193 | value
imap-quota-plugin.c | 171 | imap-quota-plugin.c | 192 | value_str

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

client_skip_line (33 to 47 imap-zlib-plugin.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. : data_size | CERT EXP33-C
| 38 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
imap-zlib-plugin.c | 36 | imap-zlib-plugin.c | 38 | data_size

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

cmd_compress (64 to 121 imap-zlib-plugin.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 : imap_zlib_imap_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 67 |  |
M | 113 | Pointer not checked for null before use : old_input | CERT EXP08-C,EXP34-C
| 111 |  |
M | 114 | Pointer not checked for null before use : old_output | CERT EXP08-C,EXP34-C
| 112 |  |
M | 84 | Pointer not checked for null before use : zclient | CERT EXP08-C,EXP34-C
| 67 |  |
M | 73 | Procedure contains UR data flow anomalies. : level | CERT EXP33-C
| 107 |  |
M | 72 | Procedure contains UR data flow anomalies. : mechanism | CERT EXP33-C
| 79 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
imap-zlib-plugin.c | 73 | imap-zlib-plugin.c | 107 | level
imap-zlib-plugin.c | 72 | imap-zlib-plugin.c | 79 | mechanism

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

imap_zlib_client_created (123 to 138 imap-zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 131 | Pointer not checked for null before use : zclient | CERT EXP08-C,EXP34-C
| 130 |  |
M | 131 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 131 |  |

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

i_stream_bzlib_read (43 to 168 istream-bzlib.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 46 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 99 |  |
M | 48 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 99 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
istream-bzlib.c | 46 | istream-bzlib.c | 99 | data
istream-bzlib.c | 48 | istream-bzlib.c | 99 | size

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

i_stream_bzlib_stat (265 to 294 istream-bzlib.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. : size | CERT EXP33-C
| 284 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
istream-bzlib.c | 270 | istream-bzlib.c | 284 | size

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

i_stream_create_bz2 (303 to 326 istream-bzlib.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 308 | Pointer not checked for null before use : zstream | CERT EXP08-C,EXP34-C
| 307 |  |
M | 307 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 842) |  |

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

i_stream_zlib_read_header (58 to 120 istream-zlib.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 61 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 66 |  |
M | 62 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 66 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
istream-zlib.c | 61 | istream-zlib.c | 66 | data
istream-zlib.c | 62 | istream-zlib.c | 66 | size

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

i_stream_zlib_read_trailer (128 to 161 istream-zlib.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 131 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 135 |  |
M | 132 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 135 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
istream-zlib.c | 131 | istream-zlib.c | 135 | data
istream-zlib.c | 132 | istream-zlib.c | 135 | size

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

i_stream_zlib_read (163 to 310 istream-zlib.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 166 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 236 |  |
M | 168 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 236 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
istream-zlib.c | 166 | istream-zlib.c | 236 | data
istream-zlib.c | 168 | istream-zlib.c | 236 | size

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

i_stream_zlib_stat (411 to 440 istream-zlib.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
istream-zlib.c | 416 | istream-zlib.c | 430 | size

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

i_stream_create_zlib (449 to 474 istream-zlib.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 455 | Pointer not checked for null before use : zstream | CERT EXP08-C,EXP34-C
| 454 |  |
M | 454 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 843) |  |

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

mailbox_open_or_create (72 to 102 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 81 | Pointer not checked for null before use : box | CERT EXP08-C,EXP34-C
| 79 |  |
M | 77 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 86 |  |
M | 76 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
lazy-expunge-plugin.c | 77 | lazy-expunge-plugin.c | 86 | error

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

get_lazy_ns (104 to 110 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 109 | Array Bound exceeded. | CERT ARR30-C
M | 107 | Pointer not checked for null before use : lazy_expunge_mail_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 69 |  |

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

lazy_expunge_mail_expunge (112 to 152 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 124 | Pointer not checked for null before use : lt | CERT EXP08-C,EXP34-C
| 117 |  |
M | 147 | Pointer not checked for null before use : save_ctx | CERT EXP08-C,EXP34-C
| 146 |  |
M | 116 | Pointer not checked for null before use : lazy_expunge_mail_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 65 |  |
M | 118 | Pointer not checked for null before use : lazy_expunge_mail_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 63 |  |
M | 151 | Pointer not checked for null before use : mmail | CERT EXP08-C,EXP34-C
| 116 |  |
M | 125 | Pointer not checked for null before use : dest_ns | CERT EXP08-C,EXP34-C
| 123 |  |
M | 130 | Pointer not checked for null before use : error | CERT EXP08-C,EXP34-C
| 125 |  |
M | 115 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

lazy_expunge_transaction_begin (154 to 167 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 166 | Local structure returned in function result : t |
M | 162 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 158 |  |
M | 165 | Pointer not checked for null before use : lt | CERT EXP08-C,EXP34-C
| 163 |  |
M | 165 | Pointer not checked for null before use : t | CERT EXP08-C,EXP34-C
| 162 |  |
M | 165 | Pointer not checked for null before use : lazy_expunge_mail_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 158 |  |
M | 165 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 165 |  |
M | 158 | Pointer not checked for null before use : lazy_expunge_mail_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 63 |  |
M | 163 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 817) |  |

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

lazy_expunge_transaction_commit (178 to 199 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 183 | Pointer not checked for null before use : lazy_expunge_mail_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 182 |  |
M | 186 | Pointer not checked for null before use : lt | CERT EXP08-C,EXP34-C
| 183 |  |
M | 182 | Pointer not checked for null before use : lazy_expunge_mail_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 63 |  |
M | 192 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 182 |  |

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

lazy_expunge_transaction_rollback (201 to 209 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 205 | Pointer not checked for null before use : lazy_expunge_mail_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 204 |  |
M | 207 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 204 |  |
M | 208 | Pointer not checked for null before use : lt | CERT EXP08-C,EXP34-C
| 205 |  |
M | 204 | Pointer not checked for null before use : lazy_expunge_mail_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 63 |  |

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

lazy_expunge_mail_allocated (211 to 228 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 223 | Pointer not checked for null before use : mmail | CERT EXP08-C,EXP34-C
| 222 |  |
M | 227 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 227 |  |
M | 214 | Pointer not checked for null before use : lazy_expunge_mail_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 63 |  |
M | 215 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

mailbox_move (230 to 283 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 247 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 246 |  |
M | 259 | Pointer not checked for null before use : dest_box | CERT EXP08-C,EXP34-C
| 255 |  |
M | 235 | Pointer not checked for null before use : lazy_expunge_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 67 |  |
M | 258 | Pointer not checked for null before use : src_llist | CERT EXP08-C,EXP34-C
| 234 |  |
M | 255 | Pointer not checked for null before use : dest_name | CERT EXP08-C,EXP34-C
| 277 |  |
M | 239 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 266 |  |
M | 241 | Procedure contains UR data flow anomalies. : gid | CERT EXP33-C
| 245 |  |
M | 240 | Procedure contains UR data flow anomalies. : mode | CERT EXP33-C
| 245 |  |
M | 238 | Procedure contains UR data flow anomalies. : origin | CERT EXP33-C
| 245 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
lazy-expunge-plugin.c | 239 | lazy-expunge-plugin.c | 266 | error
lazy-expunge-plugin.c | 241 | lazy-expunge-plugin.c | 245 | gid
lazy-expunge-plugin.c | 240 | lazy-expunge-plugin.c | 245 | mode
lazy-expunge-plugin.c | 238 | lazy-expunge-plugin.c | 245 | origin

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

mailbox_move_all_mails (285 to 343 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 299 | Pointer not checked for null before use : dest_box | CERT EXP08-C,EXP34-C
| 298 |  |
M | 302 | Pointer not checked for null before use : errstr | CERT EXP08-C,EXP34-C
| 300 |  |
M | 312 | Pointer not checked for null before use : search_args | CERT EXP08-C,EXP34-C
| 311 |  |
M | 313 | Pointer not checked for null before use : src_trans | CERT EXP08-C,EXP34-C
| 307 |  |
M | 319 | Pointer not checked for null before use : save_ctx | CERT EXP08-C,EXP34-C
| 318 |  |
M | 318 | Pointer not checked for null before use : dest_trans | CERT EXP08-C,EXP34-C
| 308 |  |
M | 295 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 300 |  |
M | 293 | Declaration types do not match across a system. : mail | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
lazy-expunge-plugin.c | 295 | lazy-expunge-plugin.c | 300 | error

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

mailbox_mark_index_undeleted (345 to 357 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

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

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

lazy_expunge_mailbox_delete (359 to 445 lazy-expunge-plugin.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 : llist | CERT EXP08-C,EXP34-C
| 363 |  |
M | 381 | Pointer not checked for null before use : lazy_expunge_mail_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 380 |  |
M | 417 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 415 |  |
M | 438 | Pointer not checked for null before use : expunge_box | CERT EXP08-C,EXP34-C
| 437 |  |
M | 362 | Pointer not checked for null before use : lazy_expunge_mail_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 63 |  |
M | 364 | Pointer not checked for null before use : lazy_expunge_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 67 |  |
M | 402 | Pointer not checked for null before use : lazy_expunge_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 364 |  |
M | 438 | Pointer not checked for null before use : lazy_expunge_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 402 |  |
M | 402 | Pointer not checked for null before use : destname | CERT EXP08-C,EXP34-C
| 394 |  |
M | 433 | Pointer not checked for null before use : lazy_expunge_mail_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 381 |  |
M | 369 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 415 |  |
M | 435 | Procedure contains UR data flow anomalies. : ret_box | CERT EXP33-C
| 438 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
lazy-expunge-plugin.c | 369 | lazy-expunge-plugin.c | 415 | error
lazy-expunge-plugin.c | 435 | lazy-expunge-plugin.c | 438 | ret_box

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

lazy_expunge_mailbox_rename (447 to 465 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 455 | Pointer not checked for null before use : lazy_expunge_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 453 |  |
M | 457 | Pointer not checked for null before use : src_llist | CERT EXP08-C,EXP34-C
| 452 |  |
M | 451 | Pointer not checked for null before use : lazy_expunge_mail_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 63 |  |
M | 453 | Pointer not checked for null before use : lazy_expunge_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 67 |  |
M | 459 | Pointer not checked for null before use : dest_llist | CERT EXP08-C,EXP34-C
| 454 |  |

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

lazy_expunge_mailbox_allocated (467 to 491 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 478 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 477 |  |
M | 480 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 480 |  |
M | 470 | Pointer not checked for null before use : lazy_expunge_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 67 |  |

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

lazy_expunge_mail_namespace_storage_added (493 to 520 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 517 | Pointer not checked for null before use : llist | CERT EXP08-C,EXP34-C
| 516 |  |
M | 517 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 517 |  |
M | 497 | Pointer not checked for null before use : lazy_expunge_mail_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 69 |  |
M | 509 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 507 |  |

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

lazy_expunge_mail_namespaces_created (522 to 552 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 546 | Pointer not checked for null before use : llist | CERT EXP08-C,EXP34-C
| 545 |  |
M | 526 | Pointer not checked for null before use : lazy_expunge_mail_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 69 |  |
M | 536 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 534 |  |

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

lazy_expunge_mail_user_created (554 to 569 lazy-expunge-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 562 | Pointer not checked for null before use : luser | CERT EXP08-C,EXP34-C
| 561 |  |
M | 564 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 564 |  |

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

list_escape (39 to 76 listescape-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 43 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 36 |  |
M | 60 | Pointer not checked for null before use : mlist | CERT EXP08-C,EXP34-C
| 42 |  |
M | 55 | Pointer not checked for null before use : esc | CERT EXP08-C,EXP34-C
| 44 |  |

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

list_unescape_str (78 to 105 listescape-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 82 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 36 |  |
M | 85 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 99 |  |
M | 86 | Pointer not checked for null before use : mlist | CERT EXP08-C,EXP34-C
| 81 |  |

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

listescape_mailbox_list_iter_init (107 to 140 listescape-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 112 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 36 |  |
M | 137 | Pointer not checked for null before use : patterns | CERT EXP08-C,EXP34-C
| 129 |  |
M | 137 | Pointer not checked for null before use : mlist | CERT EXP08-C,EXP34-C
| 112 |  |
M | 127 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 112 |  |
M | 129 | Pointer not checked for null before use : escaped_patterns | CERT EXP08-C,EXP34-C
| 123 |  |

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

listescape_find_orig_ns (142 to 160 listescape-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 159 | Local structure returned in function result : best |

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

listescape_mailbox_list_iter_next (162 to 190 listescape-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 182 | Local structure returned in function result : info |
M | 171 | Pointer not checked for null before use : mlist | CERT EXP08-C,EXP34-C
| 165 |  |
M | 166 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 36 |  |
M | 186 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 166 |  |
M | 180 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 176 |  |

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

listescape_mailbox_list_iter_deinit (192 to 204 listescape-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 201 | Pointer not checked for null before use : mlist | CERT EXP08-C,EXP34-C
| 196 |  |
M | 197 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 36 |  |

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

listescape_mailbox_alloc (206 to 217 listescape-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 211 | Pointer not checked for null before use : listescape_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 34 |  |

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

listescape_set_subscribed (219 to 234 listescape-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 231 | Pointer not checked for null before use : esc_name | CERT EXP08-C,EXP34-C
| 230 |  |
M | 222 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 36 |  |
M | 230 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 222 |  |

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

listescape_get_mailbox_name_status (236 to 245 listescape-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 242 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 240 |  |
M | 240 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 36 |  |

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

listescape_is_valid_existing_name (247 to 254 listescape-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 252 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 250 |  |
M | 250 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 36 |  |

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

listescape_is_valid_create_name (256 to 263 listescape-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 261 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 259 |  |
M | 259 | Pointer not checked for null before use : listescape_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 36 |  |

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

listescape_mail_storage_created (265 to 276 listescape-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 271 | Pointer not checked for null before use : mstorage | CERT EXP08-C,EXP34-C
| 270 |  |
M | 275 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 275 |  |
M | 275 | Pointer not checked for null before use : listescape_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 34 |  |

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

listescape_mail_namespace_storage_added (278 to 307 listescape-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 291 | Pointer not checked for null before use : mlist | CERT EXP08-C,EXP34-C
| 290 |  |
M | 306 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 306 |  |

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

mail_log_parse_fields (118 to 130 mail-log-plugin.c) - FAIL

#### Standards Violation Summary

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

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

mail_log_parse_events (132 to 144 mail-log-plugin.c) - FAIL

#### Standards Violation Summary

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

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

mail_log_read_settings (146 to 159 mail-log-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 153 | Pointer not checked for null before use : set | CERT EXP08-C,EXP34-C
| 150 |  |
M | 153 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 152 |  |
M | 157 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 156 |  |

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

mail_log_append_mailbox_name (161 to 168 mail-log-plugin.c) - FAIL

#### Standards Violation Summary

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

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

mail_log_append_mail_header (170 to 179 mail-log-plugin.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-log-plugin.c | 174 | mail-log-plugin.c | 176 | value

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

mail_log_append_mail_message_real (195 to 259 mail-log-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 207 | Pointer not checked for null before use : text | CERT EXP08-C,EXP34-C
| 206 |  |
M | 215 | Pointer not checked for null before use : msg | CERT EXP08-C,EXP34-C
| 204 |  |
M | 202 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 228 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-log-plugin.c | 202 | mail-log-plugin.c | 228 | size

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

mail_log_mail_transaction_begin (274 to 284 mail-log-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 283 | Local structure returned in function result : ctx |
M | 281 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 280 |  |
M | 282 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 281 |  |

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

mail_log_mail_copy (294 to 309 mail-log-plugin.c) - FAIL

#### Standards Violation Summary

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

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

mail_log_mail_transaction_commit (351 to 376 mail-log-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 358 | Procedure contains UR data flow anomalies. : iter.array | CERT EXP33-C
| 362 |  |
M | 358 | Procedure contains UR data flow anomalies. : iter.prev_idx | CERT EXP33-C
| 362 |  |
M | 358 | Procedure contains UR data flow anomalies. : iter.prev_n | CERT EXP33-C
| 362 |  |
M | 360 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 373 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mail-log-plugin.c | 358 | mail-log-plugin.c | 362 | iter.array
mail-log-plugin.c | 358 | mail-log-plugin.c | 362 | iter.prev_idx
mail-log-plugin.c | 358 | mail-log-plugin.c | 362 | iter.prev_n
mail-log-plugin.c | 360 | mail-log-plugin.c | 373 | uid

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

mail_log_plugin_deinit (431 to 434 mail-log-plugin.c) - FAIL

#### Standards Violation Summary

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

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

mbox_snarf (34 to 99 mbox-snarf-plugin.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 52 | Pointer not checked for null before use : search_args | CERT EXP08-C,EXP34-C
| 51 |  |
M | 53 | Pointer not checked for null before use : src_trans | CERT EXP08-C,EXP34-C
| 47 |  |
M | 63 | Pointer not checked for null before use : dest_trans | CERT EXP08-C,EXP34-C
| 48 |  |
M | 41 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 65 |  |
M | 40 | Declaration types do not match across a system. : mail | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
mbox-snarf-plugin.c | 41 | mbox-snarf-plugin.c | 65 | error

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

mbox_snarf_sync_init (101 to 121 mbox-snarf-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 106 | Pointer not checked for null before use : mbox_snarf_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 105 |  |
M | 111 | Pointer not checked for null before use : mstorage | CERT EXP08-C,EXP34-C
| 104 |  |
M | 116 | Pointer not checked for null before use : spool_mbox | CERT EXP08-C,EXP34-C
| 112 |  |
M | 118 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 106 |  |
M | 105 | Pointer not checked for null before use : mbox_snarf_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 31 |  |

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

mbox_snarf_mailbox_alloc (123 to 166 mbox-snarf-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 165 | Local structure returned in function result : box |
M | 161 | Pointer not checked for null before use : mbox | CERT EXP08-C,EXP34-C
| 160 |  |
M | 164 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 164 |  |
M | 129 | Pointer not checked for null before use : mbox_snarf_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 31 |  |
M | 152 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 142 |  |
M | 139 | Pointer not checked for null before use : mstorage | CERT EXP08-C,EXP34-C
| 128 |  |
M | 140 | Pointer not checked for null before use : mstorage | CERT EXP08-C,EXP34-C
| 128 |  |
M | 164 | Pointer not checked for null before use : mbox_snarf_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 129 |  |
M | 130 | Declaration types do not match across a system. : box | CERT ARR31-C

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

mbox_snarf_mail_storage_create (168 to 182 mbox-snarf-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 176 | Pointer not checked for null before use : mstorage | CERT EXP08-C,EXP34-C
| 175 |  |
M | 176 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 174 |  |
M | 181 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 181 |  |
M | 181 | Pointer not checked for null before use : mbox_snarf_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 31 |  |

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

notify_context_find_mail_txn (25 to 36 notify-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 33 | Local structure returned in function result : mail_txn |

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

notify_contexts_mail_transaction_begin (38 to 49 notify-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 45 | Pointer not checked for null before use : mail_txn | CERT EXP08-C,EXP34-C
| 44 |  |
M | 43 | Pointer not checked for null before use : ctx_list | CERT EXP08-C,EXP34-C
| 23 |  |

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

notify_contexts_mail_save (51 to 60 notify-plugin.c) - FAIL

#### Standards Violation Summary

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

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

notify_contexts_mail_copy (62 to 71 notify-plugin.c) - FAIL

#### Standards Violation Summary

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

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

notify_contexts_mail_expunge (73 to 82 notify-plugin.c) - FAIL

#### Standards Violation Summary

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

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

notify_contexts_mail_update_flags (84 to 94 notify-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 92 | Pointer not checked for null before use : mail_txn | CERT EXP08-C,EXP34-C
| 91 |  |
M | 90 | Pointer not checked for null before use : ctx_list | CERT EXP08-C,EXP34-C
| 23 |  |

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

notify_contexts_mail_update_keywords (96 to 106 notify-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 104 | Pointer not checked for null before use : mail_txn | CERT EXP08-C,EXP34-C
| 103 |  |
M | 102 | Pointer not checked for null before use : ctx_list | CERT EXP08-C,EXP34-C
| 23 |  |

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

notify_contexts_mail_transaction_commit (108 to 120 notify-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 116 | Pointer not checked for null before use : mail_txn | CERT EXP08-C,EXP34-C
| 115 |  |
M | 114 | Pointer not checked for null before use : ctx_list | CERT EXP08-C,EXP34-C
| 23 |  |
M | 118 | Attempt to read from freed memory. : default_pool | CERT MEM30-C

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

notify_contexts_mail_transaction_rollback (122 to 133 notify-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 129 | Pointer not checked for null before use : mail_txn | CERT EXP08-C,EXP34-C
| 128 |  |
M | 127 | Pointer not checked for null before use : ctx_list | CERT EXP08-C,EXP34-C
| 23 |  |
M | 131 | Attempt to read from freed memory. : default_pool | CERT MEM30-C

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

notify_contexts_mailbox_delete_begin (135 to 141 notify-plugin.c) - FAIL

#### Standards Violation Summary

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

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

notify_contexts_mailbox_delete_commit (143 to 151 notify-plugin.c) - FAIL

#### Standards Violation Summary

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

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

notify_contexts_mailbox_delete_rollback (153 to 161 notify-plugin.c) - FAIL

#### Standards Violation Summary

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

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

notify_contexts_mailbox_rename (163 to 170 notify-plugin.c) - FAIL

#### Standards Violation Summary

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

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

notify_register (172 to 181 notify-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 180 | Local structure returned in function result : ctx |
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 822) |  |

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

notify_mail_expunge (22 to 30 notify-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 29 | Pointer not checked for null before use : lmail | CERT EXP08-C,EXP34-C
| 26 |  |
M | 26 | Pointer not checked for null before use : notify_mail_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 19 |  |
M | 25 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

notify_mail_update_flags (32 to 48 notify-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 41 | Pointer not checked for null before use : lmail | CERT EXP08-C,EXP34-C
| 37 |  |
M | 37 | Pointer not checked for null before use : notify_mail_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 19 |  |
M | 36 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

notify_mail_update_keywords (50 to 72 notify-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 60 | Pointer not checked for null before use : lmail | CERT EXP08-C,EXP34-C
| 55 |  |
M | 55 | Pointer not checked for null before use : notify_mail_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 19 |  |
M | 64 | Pointer not checked for null before use : new_keywords | CERT EXP08-C,EXP34-C
| 61 |  |
M | 54 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

notify_mail_allocated (74 to 88 notify-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 81 | Pointer not checked for null before use : lmail | CERT EXP08-C,EXP34-C
| 80 |  |
M | 87 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 87 |  |
M | 87 | Pointer not checked for null before use : notify_mail_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 19 |  |
M | 76 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

notify_copy (90 to 108 notify-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 96 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 94 |  |
M | 94 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 17 |  |
M | 100 | Pointer not checked for null before use : lt | CERT EXP08-C,EXP34-C
| 93 |  |
M | 105 | Pointer not checked for null before use : lbox | CERT EXP08-C,EXP34-C
| 95 |  |

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

notify_save_begin (110 to 124 notify-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 116 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 114 |  |
M | 114 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 17 |  |
M | 119 | Pointer not checked for null before use : lt | CERT EXP08-C,EXP34-C
| 113 |  |

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

notify_save_finish (126 to 138 notify-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 130 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 17 |  |
M | 133 | Pointer not checked for null before use : lbox | CERT EXP08-C,EXP34-C
| 129 |  |

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

notify_transaction_begin (140 to 155 notify-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 154 | Local structure returned in function result : t |
M | 148 | Pointer not checked for null before use : lbox | CERT EXP08-C,EXP34-C
| 144 |  |
M | 151 | Pointer not checked for null before use : lt | CERT EXP08-C,EXP34-C
| 150 |  |
M | 151 | Pointer not checked for null before use : t | CERT EXP08-C,EXP34-C
| 148 |  |
M | 151 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 144 |  |
M | 151 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 151 |  |
M | 144 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 17 |  |
M | 150 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 823) |  |

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

notify_transaction_commit (157 to 175 notify-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 162 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 161 |  |
M | 164 | Pointer not checked for null before use : lt | CERT EXP08-C,EXP34-C
| 161 |  |
M | 161 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 17 |  |
M | 168 | Pointer not checked for null before use : lbox | CERT EXP08-C,EXP34-C
| 162 |  |
M | 169 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 166 |  |
M | 173 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 166 |  |

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

notify_transaction_rollback (177 to 189 notify-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 181 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 180 |  |
M | 183 | Pointer not checked for null before use : lt | CERT EXP08-C,EXP34-C
| 180 |  |
M | 187 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 185 |  |
M | 180 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 17 |  |
M | 188 | Pointer not checked for null before use : lbox | CERT EXP08-C,EXP34-C
| 181 |  |

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

notify_mailbox_delete (191 to 203 notify-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 197 | Pointer not checked for null before use : lbox | CERT EXP08-C,EXP34-C
| 194 |  |
M | 194 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 17 |  |

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

notify_mailbox_rename (205 to 216 notify-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 211 | Pointer not checked for null before use : lbox | CERT EXP08-C,EXP34-C
| 209 |  |
M | 209 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 17 |  |

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

notify_mailbox_allocated (218 to 236 notify-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 224 | Pointer not checked for null before use : lbox | CERT EXP08-C,EXP34-C
| 223 |  |
M | 235 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 235 |  |
M | 235 | Pointer not checked for null before use : notify_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 17 |  |

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

o_stream_bzlib_send_chunk (45 to 76 ostream-bzlib.c) - FAIL

#### Standards Violation Summary

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

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

o_stream_bzlib_send_flush (78 to 120 ostream-bzlib.c) - FAIL

#### Standards Violation Summary

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

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

o_stream_create_bz2 (155 to 187 ostream-bzlib.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 185 | Sizeof argument is a pointer. | CERT EXP01-C
M | 163 | Pointer not checked for null before use : zstream | CERT EXP08-C,EXP34-C
| 162 |  |

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

o_stream_zlib_send_gz_header (52 to 64 ostream-zlib.c) - FAIL

#### Standards Violation Summary

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

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

o_stream_zlib_send_chunk (93 to 134 ostream-zlib.c) - FAIL

#### Standards Violation Summary

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

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

o_stream_zlib_send_flush (136 to 182 ostream-zlib.c) - FAIL

#### Standards Violation Summary

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

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

o_stream_zlib_init_gz_header (217 to 230 ostream-zlib.c) - FAIL

#### Standards Violation Summary

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

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

o_stream_create_zlib (232 to 270 ostream-zlib.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 268 | Sizeof argument is a pointer. | CERT EXP01-C
M | 242 | Pointer not checked for null before use : zstream | CERT EXP08-C,EXP34-C
| 241 |  |

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

quota_count_mailbox (10 to 73 quota-count.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 35 | Pointer not checked for null before use : box | CERT EXP08-C,EXP34-C
| 33 |  |
M | 50 | Pointer not checked for null before use : trans | CERT EXP08-C,EXP34-C
| 49 |  |
M | 53 | Pointer not checked for null before use : search_args | CERT EXP08-C,EXP34-C
| 52 |  |
M | 33 | Pointer not checked for null before use : storage_name | CERT EXP08-C,EXP34-C
| 25 |  |
M | 21 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 36 |  |
M | 22 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 58 |  |
M | 15 | Declaration types do not match across a system. : box | CERT ARR31-C
M | 18 | Declaration types do not match across a system. : mail | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota-count.c | 21 | quota-count.c | 36 | error
quota-count.c | 22 | quota-count.c | 58 | size

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

quota_count (101 to 120 quota-count.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 114 | Pointer not checked for null before use : bytes_r | CERT EXP08-C,EXP34-C
| 107 |  |
M | 111 | Pointer not checked for null before use : namespaces | CERT EXP08-C,EXP34-C
| 109 |  |

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

dict_quota_alloc (23 to 29 quota-dict.c) - FAIL

#### Standards Violation Summary

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

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

dict_quota_init (31 to 83 quota-dict.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 48 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C
| 43 |  |
M | 80 | Pointer not checked for null before use : username | CERT EXP08-C,EXP34-C
| 71 |  |
M | 70 | Pointer not checked for null before use : username | CERT EXP08-C,EXP34-C
| 42 |  |

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

dict_quota_count (106 to 129 quota-dict.c) - FAIL

#### Standards Violation Summary

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

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

dict_quota_get_resource (131 to 169 quota-dict.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. : value | CERT EXP33-C
| 151 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota-dict.c | 147 | quota-dict.c | 151 | value

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

dict_quota_update (184 to 209 quota-dict.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 198 | Pointer not checked for null before use : dt | CERT EXP08-C,EXP34-C
| 196 |  |
M | 202 | Pointer not checked for null before use : dt | CERT EXP08-C,EXP34-C
| 196 |  |

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

dirsize_quota_deinit (29 to 32 quota-dirsize.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 827) |  |

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

get_dir_usage (42 to 96 quota-dirsize.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 85 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 90 |  |
M | 61 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 60 |  |

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

get_usage (98 to 116 quota-dirsize.c) - FAIL

#### Standards Violation Summary

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

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

quota_count_path_add (118 to 146 quota-dirsize.c) - FAIL

#### Standards Violation Summary

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

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

get_quota_root_usage (148 to 184 quota-dirsize.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 161 | Pointer not checked for null before use : namespaces | CERT EXP08-C,EXP34-C
| 159 |  |
M | 167 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 165 |  |
M | 172 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 170 |  |
M | 152 | Procedure contains UR data flow anomalies. : paths.arr.element_size | CERT EXP33-C
| 177 |  |
M | 152 | Procedure contains UR data flow anomalies. : paths.arr.buffer | CERT EXP33-C
| 177 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota-dirsize.c | 152 | quota-dirsize.c | 177 | paths.arr.element_size
quota-dirsize.c | 152 | quota-dirsize.c | 177 | paths.arr.buffer

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

fs_quota_alloc (80 to 89 quota-fs.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 85 | Pointer not checked for null before use : root | CERT EXP08-C,EXP34-C
| 84 |  |
M | 84 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 828) |  |

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

quota_fs_mail_user_get_temp_prefix (91 to 100 quota-fs.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 99 | Pointer not checked for null before use : my_pid | CERT EXP08-C,EXP34-C
| Ref. Line -2185 (Module 828) |  |

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

fs_quota_init (102 to 131 quota-fs.c) - FAIL

#### Standards Violation Summary

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

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

fs_quota_mountpoint_free (133 to 150 quota-fs.c) - FAIL

#### Standards Violation Summary

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

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

fs_quota_deinit (152 to 160 quota-fs.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 159 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 158 |  |
M | 158 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 157 |  |

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

fs_quota_mountpoint_get (162 to 191 quota-fs.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 190 | Local structure returned in function result : mount |
M | 173 | Pointer not checked for null before use : mount | CERT EXP08-C,EXP34-C
| 172 |  |
M | 168 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 828) |  |
M | 165 | Procedure contains UR data flow anomalies. : point.block_size | CERT EXP33-C
| 168 |  |
M | 165 | Procedure contains UR data flow anomalies. : point.device_path | CERT EXP33-C
| 168 |  |
M | 165 | Procedure contains UR data flow anomalies. : point.mount_path | CERT EXP33-C
| 168 |  |
M | 165 | Procedure contains UR data flow anomalies. : point.type | CERT EXP33-C
| 168 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota-fs.c | 165 | quota-fs.c | 168 | point.block_size
quota-fs.c | 165 | quota-fs.c | 168 | point.device_path
quota-fs.c | 165 | quota-fs.c | 168 | point.mount_path
quota-fs.c | 165 | quota-fs.c | 168 | point.type

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

fs_quota_root_find_mountpoint (198 to 218 quota-fs.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 214 | Local structure returned in function result : root |
M | 208 | Pointer not checked for null before use : roots | CERT EXP08-C,EXP34-C
| 206 |  |

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

fs_quota_mount_init (220 to 250 quota-fs.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 245 | Pointer not checked for null before use : root | CERT EXP08-C,EXP34-C
| 244 |  |
M | 244 | Pointer not checked for null before use : roots | CERT EXP08-C,EXP34-C
| 242 |  |

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

fs_quota_add_missing_mounts (252 to 270 quota-fs.c) - FAIL

#### Standards Violation Summary

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

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

fs_quota_namespace_added (272 to 300 quota-fs.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 281 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 279 |  |
M | 299 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 281 |  |
M | 294 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 281 |  |

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

do_rquota_user (320 to 417 quota-fs.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 374 | Pointer not checked for null before use : rpc_error_msg | CERT EXP08-C,EXP34-C
| 372 |  |
M | 397 | Pointer not checked for null before use : value_r | CERT EXP08-C,EXP34-C
| 391 |  |
M | 397 | Pointer not checked for null before use : limit_r | CERT EXP08-C,EXP34-C
| 392 |  |
M | 339 | Pointer not checked for null before use : host | CERT EXP08-C,EXP34-C
| 335 |  |
M | 345 | Pointer not checked for null before use : host | CERT EXP08-C,EXP34-C
| 335 |  |
M | 339 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 336 |  |
M | 357 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 336 |  |

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

fs_quota_match_box (729 to 759 quota-fs.c) - FAIL

#### Standards Violation Summary

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

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

maildir_sum_dir (56 to 121 quota-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 76 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 75 |  |
M | 107 | Pointer not checked for null before use : total_bytes | CERT EXP08-C,EXP34-C
| 97 |  |
M | 108 | Pointer not checked for null before use : total_count | CERT EXP08-C,EXP34-C
| 98 |  |
M | 90 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 89 |  |
M | 107 | User input not checked before use. : st | CERT FIO30-C
| 106 |  |

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

maildir_list_init (123 to 136 quota-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 135 | Local structure returned in function result : ctx |
M | 129 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 128 |  |
M | 130 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 829) |  |

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

maildir_list_next (138 to 186 quota-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 163 | Pointer not checked for null before use : storage_name | CERT EXP08-C,EXP34-C
| 161 |  |
M | 166 | 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
| 174 |  |

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

maildir_list_deinit (188 to 195 quota-maildir.c) - FAIL

#### Standards Violation Summary

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

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

maildirs_check_have_changed (197 to 215 quota-maildir.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 202 | Procedure contains UR data flow anomalies. : mtime | CERT EXP33-C
| 207 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota-maildir.c | 202 | quota-maildir.c | 207 | mtime

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

maildirsize_write (217 to 310 quota-maildir.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 260 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 259 |  |
M | 261 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C
| 260 |  |
M | 240 | Pointer not checked for null before use : namespaces | CERT EXP08-C,EXP34-C
| 237 |  |
M | 244 | Pointer not checked for null before use : dir_gid_origin | CERT EXP08-C,EXP34-C
| 235 |  |
M | 261 | Pointer not checked for null before use : dir_gid_origin | CERT EXP08-C,EXP34-C
| 235 |  |
M | 284 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 281 |  |
M | 224 | Procedure contains UR data flow anomalies. : dotlock | CERT EXP33-C
| 303 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota-maildir.c | 224 | quota-maildir.c | 303 | dotlock

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

maildirsize_recalculate_namespace (318 to 341 quota-maildir.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 323 | Procedure contains UR data flow anomalies. : mtime | CERT EXP33-C
| 328 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota-maildir.c | 323 | quota-maildir.c | 328 | mtime

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

maildirsize_recalculate (368 to 403 quota-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 379 | Pointer not checked for null before use : namespaces | CERT EXP08-C,EXP34-C
| 377 |  |
M | 402 | Pointer not checked for null before use : root.total_bytes | CERT EXP08-C,EXP34-C
| 374 |  |
M | 402 | Pointer not checked for null before use : root.total_count | CERT EXP08-C,EXP34-C
| 374 |  |
M | 395 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 382 |  |

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

maildir_parse_limit (405 to 438 quota-maildir.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 417 | Pointer not checked for null before use : limit | CERT EXP08-C,EXP34-C
| 417 |  |
M | 410 | Procedure contains UR data flow anomalies. : pos | CERT EXP33-C
| 418 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota-maildir.c | 410 | quota-maildir.c | 418 | pos

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

maildirsize_read (555 to 618 quota-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 590 | Array Bound exceeded. | CERT ARR30-C
M | 592 | Array Bound exceeded. | CERT ARR30-C

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

maildirsize_update (674 to 700 quota-maildir.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota-maildir.c | 677 | quota-maildir.c | 688 | str

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

maildir_quota_alloc (702 to 709 quota-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 707 | Pointer not checked for null before use : root | CERT EXP08-C,EXP34-C
| 706 |  |
M | 706 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 829) |  |

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

maildir_quota_init (711 to 731 quota-maildir.c) - FAIL

#### Standards Violation Summary

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

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

maildir_quota_root_namespace_added (769 to 785 quota-maildir.c) - FAIL

#### Standards Violation Summary

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

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

maildir_quota_namespace_added (787 to 800 quota-maildir.c) - FAIL

#### Standards Violation Summary

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

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

maildir_quota_get_resource (814 to 831 quota-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 821 | Attempt to use already freed object. | CERT MEM31-C

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

maildir_quota_update (833 to 861 quota-maildir.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 849 | Attempt to use already freed object. | CERT MEM31-C
M | 857 | Attempt to use already freed object. | CERT MEM31-C
M | 849 | Pointer not checked for null before use : root.limits_initialized | CERT EXP08-C,EXP34-C
| 840 |  |

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

quota_mail_expunge (46 to 67 quota-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 49 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 40 |  |
M | 50 | Pointer not checked for null before use : quota_mail_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 42 |  |
M | 58 | Pointer not checked for null before use : qbox | CERT EXP08-C,EXP34-C
| 49 |  |
M | 66 | Pointer not checked for null before use : qmail | CERT EXP08-C,EXP34-C
| 50 |  |
M | 51 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 57 |  |
M | 48 | Declaration types do not match across a system. : mail | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota-storage.c | 51 | quota-storage.c | 57 | size

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

quota_mailbox_transaction_begin (69 to 82 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 81 | Local structure returned in function result : t |
M | 77 | Pointer not checked for null before use : qbox | CERT EXP08-C,EXP34-C
| 73 |  |
M | 80 | Pointer not checked for null before use : qt | CERT EXP08-C,EXP34-C
| 78 |  |
M | 80 | Pointer not checked for null before use : t | CERT EXP08-C,EXP34-C
| 77 |  |
M | 80 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 73 |  |
M | 80 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 80 |  |
M | 73 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 40 |  |

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

quota_mailbox_transaction_commit (84 to 101 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 89 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 88 |  |
M | 91 | Pointer not checked for null before use : qt | CERT EXP08-C,EXP34-C
| 89 |  |
M | 88 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 40 |  |
M | 94 | Pointer not checked for null before use : qbox | CERT EXP08-C,EXP34-C
| 88 |  |

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

quota_mailbox_transaction_rollback (103 to 114 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 107 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 106 |  |
M | 109 | Pointer not checked for null before use : qt | CERT EXP08-C,EXP34-C
| 107 |  |
M | 106 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 40 |  |
M | 112 | Pointer not checked for null before use : qbox | CERT EXP08-C,EXP34-C
| 106 |  |

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

quota_mail_allocated (116 to 132 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 127 | Pointer not checked for null before use : qmail | CERT EXP08-C,EXP34-C
| 126 |  |
M | 131 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 131 |  |
M | 118 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 40 |  |
M | 119 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

quota_check (134 to 152 quota-storage.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 : qt | CERT EXP08-C,EXP34-C
| 136 |  |
M | 136 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 40 |  |
M | 138 | Procedure contains UR data flow anomalies. : too_large | CERT EXP33-C
| 140 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota-storage.c | 138 | quota-storage.c | 140 | too_large

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

quota_copy (154 to 175 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 159 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 158 |  |
M | 158 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 40 |  |
M | 163 | Pointer not checked for null before use : qt | CERT EXP08-C,EXP34-C
| 158 |  |
M | 174 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 159 |  |
M | 170 | Pointer not checked for null before use : qbox | CERT EXP08-C,EXP34-C
| 159 |  |

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

quota_save_begin (177 to 221 quota-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 182 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 181 |  |
M | 181 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 40 |  |
M | 198 | Pointer not checked for null before use : qt | CERT EXP08-C,EXP34-C
| 181 |  |
M | 213 | Pointer not checked for null before use : qt | CERT EXP08-C,EXP34-C
| 181 |  |
M | 183 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 186 |  |
M | 196 | Procedure contains UR data flow anomalies. : too_large | CERT EXP33-C
| 198 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota-storage.c | 183 | quota-storage.c | 186 | size
quota-storage.c | 196 | quota-storage.c | 198 | too_large

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

quota_save_finish (223 to 231 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 227 | Pointer not checked for null before use : qbox | CERT EXP08-C,EXP34-C
| 225 |  |
M | 225 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 40 |  |
M | 230 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 225 |  |

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

quota_mailbox_sync_notify (254 to 314 quota-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 263 | Pointer not checked for null before use : qbox | CERT EXP08-C,EXP34-C
| 257 |  |
M | 295 | Pointer not checked for null before use : sizep | CERT EXP08-C,EXP34-C
| 294 |  |
M | 257 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 40 |  |
M | 261 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 307 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota-storage.c | 261 | quota-storage.c | 307 | size

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

quota_mailbox_sync_deinit (316 to 328 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 322 | Pointer not checked for null before use : qbox | CERT EXP08-C,EXP34-C
| 319 |  |
M | 319 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 40 |  |

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

quota_mailbox_delete_shrink_quota (330 to 359 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 343 | Pointer not checked for null before use : search_args | CERT EXP08-C,EXP34-C
| 342 |  |
M | 344 | Pointer not checked for null before use : t | CERT EXP08-C,EXP34-C
| 339 |  |
M | 349 | Pointer not checked for null before use : qt | CERT EXP08-C,EXP34-C
| 340 |  |
M | 336 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

quota_mailbox_delete (361 to 370 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 363 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 40 |  |

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

quota_mailbox_free (372 to 384 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 376 | Pointer not checked for null before use : qbox | CERT EXP08-C,EXP34-C
| 374 |  |
M | 374 | Pointer not checked for null before use : quota_storage_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 40 |  |

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

quota_mailbox_allocated (386 to 409 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 395 | Pointer not checked for null before use : qbox | CERT EXP08-C,EXP34-C
| 394 |  |
M | 408 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 408 |  |

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

quota_mailbox_list_deinit (411 to 417 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 416 | Pointer not checked for null before use : qlist | CERT EXP08-C,EXP34-C
| 413 |  |
M | 413 | Pointer not checked for null before use : quota_mailbox_list_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 43 |  |

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

quota_get_mail_user_quota (419 to 424 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 421 | Pointer not checked for null before use : quota_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 140 (mail-search.h) |  |

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

quota_user_deinit (426 to 435 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 429 | Pointer not checked for null before use : quser | CERT EXP08-C,EXP34-C
| 428 |  |
M | 428 | Pointer not checked for null before use : quota_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 140 (mail-search.h) |  |

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

quota_mail_user_created (437 to 455 quota-storage.c) - FAIL

#### Standards Violation Summary

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

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

quota_find_root_for_ns (457 to 470 quota-storage.c) - FAIL

#### Standards Violation Summary

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

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

quota_mail_namespace_storage_added (472 to 509 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 486 | Pointer not checked for null before use : quota | CERT EXP08-C,EXP34-C
| 485 |  |
M | 487 | Pointer not checked for null before use : root | CERT EXP08-C,EXP34-C
| 486 |  |
M | 498 | Pointer not checked for null before use : qlist | CERT EXP08-C,EXP34-C
| 497 |  |
M | 501 | Pointer not checked for null before use : _module_tmp | CERT EXP08-C,EXP34-C
| 501 |  |
M | 507 | Pointer not checked for null before use : quota | CERT EXP08-C,EXP34-C
| 504 |  |
M | 506 | Pointer not checked for null before use : quota_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 485 |  |

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

quota_root_set_namespace (511 to 531 quota-storage.c) - FAIL

#### Standards Violation Summary

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

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

quota_mail_namespaces_created (533 to 543 quota-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 540 | Pointer not checked for null before use : quota | CERT EXP08-C,EXP34-C
| 539 |  |
M | 542 | Pointer not checked for null before use : roots | CERT EXP08-C,EXP34-C
| 540 |  |

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

quota_root_add_rules (48 to 66 quota.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 56 | Pointer not checked for null before use : rule_name | CERT EXP08-C,EXP34-C
| 54 |  |
M | 61 | Pointer not checked for null before use : error | CERT EXP08-C,EXP34-C
| 60 |  |
M | 51 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 60 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota.c | 51 | quota.c | 60 | error

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

quota_root_add_warning_rules (68 to 87 quota.c) - FAIL

#### Standards Violation Summary

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

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

quota_user_read_settings (89 to 127 quota.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 126 | Local structure returned in function result : quota_set |
M | 99 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 98 |  |
M | 100 | Pointer not checked for null before use : quota_set | CERT EXP08-C,EXP34-C
| 99 |  |
M | 93 | Procedure contains UR data flow anomalies. : root_name | CERT EXP33-C
| 109 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota.c | 93 | quota.c | 109 | root_name

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

quota_backend_find (138 to 148 quota.c) - FAIL

#### Standards Violation Summary

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

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

quota_root_settings_init (150 to 202 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 201 | Local structure returned in function result : root_set |
M | 174 | Pointer not checked for null before use : root_set | CERT EXP08-C,EXP34-C
| 173 |  |
M | 200 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 199 |  |
M | 200 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 199 |  |
M | 191 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C
| 186 |  |
M | 167 | Pointer not checked for null before use : backend_name | CERT EXP08-C,EXP34-C
| 163 |  |

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

quota_root_init (204 to 246 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 245 | Local structure returned in function result : root |
M | 211 | Pointer not checked for null before use : root | CERT EXP08-C,EXP34-C
| 210 |  |
M | 227 | Pointer not checked for null before use : tmp | CERT EXP08-C,EXP34-C
| 226 |  |

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

quota_init (256 to 277 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 276 | Local structure returned in function result : quota |
M | 265 | Pointer not checked for null before use : quota | CERT EXP08-C,EXP34-C
| 264 |  |
M | 264 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 832) |  |
M | 272 | Pointer not checked for null before use : root_sets | CERT EXP08-C,EXP34-C
| 269 |  |
M | 274 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 270 |  |
M | 274 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 270 |  |

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

quota_deinit (279 to 293 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 292 | free parameter is not heap item. | CERT MEM34-C
M | 289 | Pointer not checked for null before use : roots | CERT EXP08-C,EXP34-C
| 287 |  |

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

quota_root_rule_find (295 to 305 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 302 | Local structure returned in function result : rule |

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

quota_rule_parse_limits (362 to 455 quota.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 378 | Pointer not checked for null before use : key | CERT EXP08-C,EXP34-C
| 377 |  |
M | 445 | Pointer not checked for null before use : rule | CERT EXP08-C,EXP34-C
| 442 |  |
M | 398 | Pointer not checked for null before use : rule | CERT EXP08-C,EXP34-C
| 442 |  |
M | 373 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C
| 372 |  |
M | 392 | Pointer not checked for null before use : key | CERT EXP08-C,EXP34-C
| 382 |  |
M | 384 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 382 |  |
M | 399 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 389 |  |
M | 405 | Pointer not checked for null before use : value | CERT EXP08-C,EXP34-C
| 389 |  |
M | 368 | Procedure contains UR data flow anomalies. : p | CERT EXP33-C
| 399 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota.c | 368 | quota.c | 399 | p

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

quota_root_add_rule (457 to 522 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 473 | Pointer not checked for null before use : mailbox_name | CERT EXP08-C,EXP34-C
| 471 |  |
M | 482 | Pointer not checked for null before use : rule | CERT EXP08-C,EXP34-C
| 481 |  |
M | 513 | Pointer not checked for null before use : rule | CERT EXP08-C,EXP34-C
| 503 |  |
M | 487 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 471 |  |
M | 475 | Pointer not checked for null before use : mailbox_name | CERT EXP08-C,EXP34-C
| 471 |  |
M | 490 | Pointer not checked for null before use : mailbox_name | CERT EXP08-C,EXP34-C
| 471 |  |

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

quota_add_user_namespace (564 to 606 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 581 | Pointer not checked for null before use : path2 | CERT EXP08-C,EXP34-C
| 579 |  |
M | 595 | Pointer not checked for null before use : roots | CERT EXP08-C,EXP34-C
| 590 |  |
M | 579 | Pointer not checked for null before use : namespaces | CERT EXP08-C,EXP34-C
| 577 |  |
M | 568 | Declaration types do not match across a system. : backends | CERT ARR31-C
| 7 (fts-api.c) |  |

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

quota_remove_user_namespace (608 to 629 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 616 | Pointer not checked for null before use : quota_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 615 |  |
M | 622 | Pointer not checked for null before use : quota | CERT EXP08-C,EXP34-C
| 614 |  |

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

quota_root_add_warning_rule (631 to 671 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 653 | Pointer not checked for null before use : warning | CERT EXP08-C,EXP34-C
| 652 |  |
M | 654 | Pointer not checked for null before use : rule.mailbox_name | CERT EXP08-C,EXP34-C
| 645 |  |

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

quota_root_iter_init (673 to 684 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 679 | Attempt to use already freed object. | CERT MEM31-C
M | 683 | Local structure returned in function result : iter |
M | 679 | Pointer not checked for null before use : iter | CERT EXP08-C,EXP34-C
| 678 |  |
M | 681 | Pointer not checked for null before use : quota_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 680 |  |
M | 678 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 832) |  |

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

quota_root_iter_next (717 to 752 quota.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 729 | Pointer not checked for null before use : roots | CERT EXP08-C,EXP34-C
| 724 |  |
M | 721 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C
| 734 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota.c | 721 | quota.c | 734 | value
quota.c | 721 | quota.c | 739 | value

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

quota_root_iter_deinit (754 to 760 quota.c) - FAIL

#### Standards Violation Summary

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

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

quota_root_lookup (762 to 775 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 769 | Pointer not checked for null before use : quota | CERT EXP08-C,EXP34-C
| 768 |  |
M | 771 | Pointer not checked for null before use : roots | CERT EXP08-C,EXP34-C
| 769 |  |

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

quota_get_resource (787 to 821 quota.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 818 | Pointer not checked for null before use : limit_r | CERT EXP08-C,EXP34-C
| 810 |  |
M | 790 | Procedure contains UR data flow anomalies. : bytes_limit | CERT EXP33-C
| 810 |  |
M | 790 | Procedure contains UR data flow anomalies. : count_limit | CERT EXP33-C
| 812 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota.c | 790 | quota.c | 810 | bytes_limit
quota.c | 790 | quota.c | 812 | count_limit

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

quota_transaction_begin (834 to 846 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 845 | Local structure returned in function result : ctx |
M | 839 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 838 |  |
M | 841 | Pointer not checked for null before use : quota_user_module.id.module_id_register | CERT EXP08-C,EXP34-C
| 840 |  |
M | 838 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 832) |  |

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

quota_transaction_set_limits (848 to 903 quota.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 862 | Pointer not checked for null before use : roots | CERT EXP08-C,EXP34-C
| 860 |  |
M | 865 | Pointer not checked for null before use : mailbox_name | CERT EXP08-C,EXP34-C
| 857 |  |
M | 853 | Procedure contains UR data flow anomalies. : bytes_limit | CERT EXP33-C
| 872 |  |
M | 853 | Procedure contains UR data flow anomalies. : count_limit | CERT EXP33-C
| 887 |  |
M | 853 | Procedure contains UR data flow anomalies. : current | CERT EXP33-C
| 873 |  |
M | 853 | Procedure contains UR data flow anomalies. : limit | CERT EXP33-C
| 878 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota.c | 853 | quota.c | 872 | bytes_limit
quota.c | 853 | quota.c | 887 | count_limit
quota.c | 853 | quota.c | 873 | current
quota.c | 853 | quota.c | 888 | current
quota.c | 853 | quota.c | 878 | limit

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

quota_warning_execute (905 to 940 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 915 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C
| 914 |  |
M | 918 | Pointer not checked for null before use : socket_path | CERT EXP08-C,EXP34-C
| 915 |  |
M | 928 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 927 |  |
M | 922 | Pointer not checked for null before use : socket_path | CERT EXP08-C,EXP34-C
| 919 |  |
M | 929 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C
| 929 |  |

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

quota_warnings_execute (942 to 972 quota.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 947 | Procedure contains UR data flow anomalies. : bytes_current | CERT EXP33-C
| 954 |  |
M | 948 | Procedure contains UR data flow anomalies. : count_current | CERT EXP33-C
| 957 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota.c | 947 | quota.c | 954 | bytes_current
quota.c | 948 | quota.c | 957 | count_current

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

quota_transaction_commit (974 to 1014 quota.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 992 | Pointer not checked for null before use : roots | CERT EXP08-C,EXP34-C
| 990 |  |
M | 1009 | Pointer not checked for null before use : roots | CERT EXP08-C,EXP34-C
| 990 |  |
M | 995 | Pointer not checked for null before use : mailbox_name | CERT EXP08-C,EXP34-C
| 989 |  |

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

quota_transaction_rollback (1016 to 1022 quota.c) - FAIL

#### Standards Violation Summary

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

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

quota_try_alloc (1024 to 1039 quota.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota.c | 1027 | quota.c | 1030 | size

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

quota_default_test_alloc (1054 to 1089 quota.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1070 | Pointer not checked for null before use : roots | CERT EXP08-C,EXP34-C
| 1066 |  |
M | 1068 | Procedure contains UR data flow anomalies. : bytes_limit | CERT EXP33-C
| 1083 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota.c | 1068 | quota.c | 1083 | bytes_limit

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

quota_alloc (1091 to 1099 quota.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota.c | 1093 | quota.c | 1095 | size

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

quota_free (1101 to 1109 quota.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
quota.c | 1103 | quota.c | 1105 | size

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

curl_header_func (120 to 141 solr-connection.c) - FAIL

#### Standards Violation Summary

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

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

solr_connection_init (143 to 185 solr-connection.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 184 | Local structure returned in function result : conn |
M | 148 | Pointer not checked for null before use : conn | CERT EXP08-C,EXP34-C
| 147 |  |
M | 147 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 804) |  |

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

solr_connection_deinit (187 to 196 solr-connection.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 194 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 193 |  |
M | 195 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 194 |  |
M | 195 | Pointer not checked for null before use : (conn)->last_sent_url | CERT EXP08-C,EXP34-C
| 193 |  |
M | 195 | Pointer not checked for null before use : (conn)->url | CERT EXP08-C,EXP34-C
| 194 |  |
M | 193 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 804) |  |

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

solr_connection_http_escape (198 to 206 solr-connection.c) - FAIL

#### Standards Violation Summary

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

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

solr_lookup_xml_start (217 to 270 solr-connection.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 247 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 246 |  |
M | 253 | Pointer not checked for null before use : name_attr | CERT EXP08-C,EXP34-C
| 252 |  |

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

solr_lookup_add_doc (272 to 297 solr-connection.c) - FAIL

#### Standards Violation Summary

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

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

solr_lookup_xml_data (331 to 367 solr-connection.c) - FAIL

#### Standards Violation Summary

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

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

solr_connection_select (369 to 411 solr-connection.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 392 | Pointer not checked for null before use : solr_lookup_context.scores | CERT EXP08-C,EXP34-C
| 382 |  |
M | 392 | Pointer not checked for null before use : solr_lookup_context.uids | CERT EXP08-C,EXP34-C
| 381 |  |
M | 392 | Pointer not checked for null before use : solr_lookup_context.context | CERT EXP08-C,EXP34-C
| 384 |  |
M | 392 | Pointer not checked for null before use : solr_lookup_context.ns | CERT EXP08-C,EXP34-C
| 380 |  |
M | 392 | Pointer not checked for null before use : solr_lookup_context.mailbox | CERT EXP08-C,EXP34-C
| 380 |  |
M | 395 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 386 |  |
M | 398 | Pointer not checked for null before use : (conn)->last_sent_url | CERT EXP08-C,EXP34-C
| 396 |  |
M | 410 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 407 | Pointer not checked for null before use : (conn)->http_failure | CERT EXP08-C,EXP34-C
| 386 |  |
M | 376 | Procedure contains UR data flow anomalies. : httpret | CERT EXP33-C
| 405 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
solr-connection.c | 376 | solr-connection.c | 405 | httpret

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

solr_connection_post_begin (413 to 443 solr-connection.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 442 | Local structure returned in function result : post |
M | 420 | Pointer not checked for null before use : post | CERT EXP08-C,EXP34-C
| 419 |  |
M | 419 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 804) |  |

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

solr_connection_post_more (445 to 524 solr-connection.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 450 | Procedure contains UR data flow anomalies. : fdexcep | CERT EXP33-C
| 492 |  |
M | 448 | Procedure contains UR data flow anomalies. : fdread | CERT EXP33-C
| 490 |  |
M | 449 | Procedure contains UR data flow anomalies. : fdwrite | CERT EXP33-C
| 491 |  |
M | 455 | Procedure contains UR data flow anomalies. : handles | CERT EXP33-C
| 467 |  |
M | 455 | Procedure contains UR data flow anomalies. : maxfd | CERT EXP33-C
| 494 |  |
M | 455 | Procedure contains UR data flow anomalies. : n | CERT EXP33-C
| 480 |  |
M | 452 | Procedure contains UR data flow anomalies. : timeout | CERT EXP33-C
| 503 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
solr-connection.c | 450 | solr-connection.c | 492 | fdexcep
solr-connection.c | 448 | solr-connection.c | 490 | fdread
solr-connection.c | 449 | solr-connection.c | 491 | fdwrite
solr-connection.c | 455 | solr-connection.c | 467 | handles
solr-connection.c | 455 | solr-connection.c | 494 | maxfd
solr-connection.c | 455 | solr-connection.c | 480 | n
solr-connection.c | 452 | solr-connection.c | 503 | timeout

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

solr_connection_post_end (526 to 552 solr-connection.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 534 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 548 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 547 |  |
M | 548 | Pointer not checked for null before use : (post)->url | CERT EXP08-C,EXP34-C
| 547 |  |
M | 529 | Procedure contains UR data flow anomalies. : httpret | CERT EXP33-C
| 536 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
solr-connection.c | 529 | solr-connection.c | 536 | httpret

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

solr_connection_post (554 to 562 solr-connection.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 559 | Pointer not checked for null before use : post | CERT EXP08-C,EXP34-C
| 558 |  |
M | 561 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 558 |  |
M | 561 | Pointer not checked for null before use : (post)->failed | CERT EXP08-C,EXP34-C
| 559 |  |

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

result_print (18 to 32 squat-test.c) - FAIL

#### Standards Violation Summary

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

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

main (34 to 197 squat-test.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 59 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 133 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C
M | 72 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 69 |  |
M | 133 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 125 |  |
M | 174 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 133 |  |
M | 125 | Pointer not checked for null before use : build_ctx | CERT EXP08-C,EXP34-C
| 69 |  |
M | 76 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 73 |  |
M | 159 | User input not checked before use. : trie_st | CERT FIO30-C
| 149 |  |
M | 162 | User input not checked before use. : uidlist_st | CERT FIO30-C
| 151 |  |
M | 132 | Pointer not checked for null before use : valid | CERT EXP08-C,EXP34-C
| 72 |  |
M | 181 | Pointer not checked for null before use : trie.root | CERT EXP08-C,EXP34-C
| 69 |  |
M | 181 | Pointer not checked for null before use : trie.root.next_uid | CERT EXP08-C,EXP34-C
| 69 |  |
M | 181 | Pointer not checked for null before use : trie.root.uid_list_idx | CERT EXP08-C,EXP34-C
| 69 |  |
M | 59 | Procedure contains UR data flow anomalies. : (default_pool)->v | CERT EXP33-C
M | 42 | Procedure contains UR data flow anomalies. : definite_uids.arr.buffer | CERT EXP33-C
| 181 |  |
M | 42 | Procedure contains UR data flow anomalies. : definite_uids.arr.element_size | CERT EXP33-C
| 181 |  |
M | 42 | Procedure contains UR data flow anomalies. : definite_uids.v | CERT EXP33-C
| 181 |  |
M | 42 | Procedure contains UR data flow anomalies. : definite_uids.v_modifiable | CERT EXP33-C
| 181 |  |
M | 43 | Procedure contains UR data flow anomalies. : line | CERT EXP33-C
| 81 |  |
M | 42 | Procedure contains UR data flow anomalies. : maybe_uids.arr.buffer | CERT EXP33-C
| 181 |  |
M | 42 | Procedure contains UR data flow anomalies. : maybe_uids.arr.element_size | CERT EXP33-C
| 181 |  |
M | 42 | Procedure contains UR data flow anomalies. : maybe_uids.v | CERT EXP33-C
| 181 |  |
M | 42 | Procedure contains UR data flow anomalies. : maybe_uids.v_modifiable | CERT EXP33-C
| 181 |  |
M | 53 | Procedure contains UR data flow anomalies. : tv_end | CERT EXP33-C
| 141 |  |
M | 53 | Procedure contains UR data flow anomalies. : tv_start | CERT EXP33-C
| 63 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
[external declaration] |  | squat-test.c | 59 | (default_pool)->v
squat-test.c | 42 | squat-test.c | 181 | definite_uids.arr.buffer
squat-test.c | 42 | squat-test.c | 181 | definite_uids.arr.element_size
squat-test.c | 42 | squat-test.c | 181 | definite_uids.v
squat-test.c | 42 | squat-test.c | 181 | definite_uids.v_modifiable
squat-test.c | 43 | squat-test.c | 81 | line
squat-test.c | 42 | squat-test.c | 181 | maybe_uids.arr.buffer
squat-test.c | 42 | squat-test.c | 181 | maybe_uids.arr.element_size
squat-test.c | 42 | squat-test.c | 181 | maybe_uids.v
squat-test.c | 42 | squat-test.c | 181 | maybe_uids.v_modifiable
squat-test.c | 53 | squat-test.c | 141 | tv_end
squat-test.c | 53 | squat-test.c | 63 | tv_start
unichar.h | 28 | squat-test.c | 181 | uni_utf8_non1_bytes

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

squat_pack_num (146 to 157 squat-trie-private.h analysed in squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 151 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 150 |  |
M | 156 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 155 |  |

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

squat_unpack_num (159 to 187 squat-trie-private.h analysed in squat-trie.c) - FAIL

#### Standards Violation Summary

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

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

squat_trie_normalize_map_build (75 to 107 squat-trie.c) - FAIL

#### Standards Violation Summary

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

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

node_free (109 to 127 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 116 | free parameter is not heap item. | CERT MEM34-C
M | 125 | free parameter is not heap item. | CERT MEM34-C
M | 123 | Pointer not checked for null before use : children | CERT EXP08-C,EXP34-C
| 118 |  |

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

squat_trie_init (129 to 155 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 154 | Local structure returned in function result : trie |
M | 137 | Pointer not checked for null before use : trie | CERT EXP08-C,EXP34-C
| 136 |  |
M | 136 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 808) |  |

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

squat_trie_close (175 to 186 squat-trie.c) - FAIL

#### Standards Violation Summary

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

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

squat_trie_deinit (188 to 197 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 194 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 193 |  |
M | 195 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 194 |  |
M | 196 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 195 |  |
M | 196 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 196 | Pointer not checked for null before use : (trie)->path | CERT EXP08-C,EXP34-C
| 195 |  |
M | 193 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 808) |  |

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

squat_trie_header_init (209 to 222 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 211 | Sizeof argument is a pointer. | CERT EXP01-C
M | 218 | Sizeof argument is a pointer. | CERT EXP01-C
M | 220 | String function params access same variable. | CERT DCL33-C
M | 220 | Sizeof argument is a pointer. | CERT EXP01-C

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

squat_trie_open (240 to 247 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 246 | Pointer not checked for null before use : trie.root | CERT EXP08-C,EXP34-C
| 242 |  |
M | 246 | Pointer not checked for null before use : trie.hdr | CERT EXP08-C,EXP34-C
| 242 |  |
M | 246 | Pointer not checked for null before use : trie.locked_file_size | CERT EXP08-C,EXP34-C
| 242 |  |
M | 246 | Pointer not checked for null before use : trie.node_alloc_size | CERT EXP08-C,EXP34-C
| 242 |  |
M | 246 | Pointer not checked for null before use : trie.data | CERT EXP08-C,EXP34-C
| 242 |  |
M | 246 | Pointer not checked for null before use : trie.data_size | CERT EXP08-C,EXP34-C
| 242 |  |
M | 246 | Pointer not checked for null before use : trie.mmap_size | CERT EXP08-C,EXP34-C
| 242 |  |
M | 246 | Pointer not checked for null before use : trie.mmap_base | CERT EXP08-C,EXP34-C
| 242 |  |
M | 246 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 242 |  |

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

squat_trie_is_file_stale (249 to 275 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 268 | User input not checked before use. : st2 | CERT FIO30-C
| 262 |  |

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

squat_trie_refresh (277 to 281 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 280 | Pointer not checked for null before use : trie.locked_file_size | CERT EXP08-C,EXP34-C
| 279 |  |

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

squat_trie_lock (283 to 334 squat-trie.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 296 | Pointer not checked for null before use : file_lock_r | CERT EXP08-C,EXP34-C
| 291 |  |
M | 301 | Pointer not checked for null before use : dotlock_r | CERT EXP08-C,EXP34-C
| 292 |  |
M | 292 | Procedure contains UR data flow anomalies. : dotlock_r | CERT EXP33-C
M | 291 | Procedure contains UR data flow anomalies. : file_lock_r | CERT EXP33-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-trie.c | 292 | squat-trie.c | 301 | dotlock_r
squat-trie.c | 291 | squat-trie.c | 296 | file_lock_r

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

node_make_squential (336 to 364 squat-trie.c) - FAIL

#### Standards Violation Summary

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

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

node_read_children (428 to 571 squat-trie.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 458 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 456 |  |
M | 521 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 512 |  |
M | 530 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 521 |  |
M | 504 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 485 |  |
M | 512 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 504 |  |
M | 543 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 530 |  |
M | 485 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 468 |  |
M | 482 | Pointer not checked for null before use : children | CERT EXP08-C,EXP34-C
| 480 |  |
M | 447 | Procedure contains UR data flow anomalies. : (node)->children.data | CERT EXP33-C
M | 447 | Procedure contains UR data flow anomalies. : children.children.data | CERT EXP33-C
M | 447 | Procedure contains UR data flow anomalies. : node.children.data | CERT EXP33-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-trie.c | 447 | squat-trie.c | 478 | (node)->children.data

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

node_write_children (573 to 629 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 589 | Pointer not checked for null before use : chars | CERT EXP08-C,EXP34-C
| 583 |  |
M | 607 | Pointer not checked for null before use : children | CERT EXP08-C,EXP34-C
| 584 |  |

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

node_split_string (647 to 693 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 663 | free parameter is not heap item. | CERT MEM34-C
M | 672 | Pointer not checked for null before use : child | CERT EXP08-C,EXP34-C
| 669 |  |
M | 674 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 663 |  |
M | 674 | Attempt to read from freed memory. : default_pool | CERT MEM30-C

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

squat_build_add (724 to 818 squat-trie.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 803 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 798 |  |
M | 791 | Pointer not checked for null before use : trie.node_alloc_size | CERT EXP08-C,EXP34-C
| 736 |  |
M | 745 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 743 |  |
M | 750 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 743 |  |
M | 795 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 750 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-trie.c | 447 | squat-trie.c | 743 | node.children.data

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

squat_build_word_bytes (820 to 843 squat-trie.c) - FAIL

#### Standards Violation Summary

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

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

squat_build_word (845 to 882 squat-trie.c) - FAIL

#### Standards Violation Summary

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

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

squat_trie_build_more_real (908 to 954 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 948 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 923 |  |
M | 950 | Pointer not checked for null before use : char_lengths | CERT EXP08-C,EXP34-C
| 922 |  |
M | 948 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 934 |  |

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

node_drop_unused_children (968 to 995 squat-trie.c) - FAIL

#### Standards Violation Summary

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

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

squat_write_node (997 to 1044 squat-trie.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1016 | Pointer not checked for null before use : trie.node_alloc_size | CERT EXP08-C,EXP34-C
| 1011 |  |
M | 1034 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1016 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-trie.c | 447 | squat-trie.c | 1034 | children.children.data
squat-trie.c | 447 | squat-trie.c | 1016 | node.children.data

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

squat_write_nodes (1046 to 1066 squat-trie.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1049 | Procedure contains UR data flow anomalies. : node_offset | CERT EXP33-C
| 1061 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-trie.c | 1049 | squat-trie.c | 1061 | node_offset

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

squat_trie_iterate_init (1068 to 1078 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1077 | Local structure returned in function result : ctx |
M | 1074 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 1073 |  |
M | 1073 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 808) |  |

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

squat_trie_iterate_next (1108 to 1148 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1125 | Array Bound exceeded. | CERT ARR30-C
M | 1146 | Sizeof argument is a pointer. | CERT EXP01-C
M | 1125 | Pointer not checked for null before use : iter_nodes | CERT EXP08-C,EXP34-C
| 1119 |  |

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

squat_uidlist_update_expunged_uids (1150 to 1290 squat-trie.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1208 | Pointer not checked for null before use : shifts | CERT EXP08-C,EXP34-C
| 1172 |  |
M | 1284 | Pointer not checked for null before use : uids | CERT EXP08-C,EXP34-C
| 1192 |  |
M | 1180 | Pointer not checked for null before use : uids | CERT EXP08-C,EXP34-C
| 1192 |  |
M | 1159 | Procedure contains UR data flow anomalies. : shift_count | CERT EXP33-C
| 1176 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-trie.c | 1159 | squat-trie.c | 1176 | shift_count

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

squat_trie_expunge_uidlists (1292 to 1337 squat-trie.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1324 | Pointer not checked for null before use : shifts.arr.buffer | CERT EXP08-C,EXP34-C
| 1314 |  |
M | 1331 | Pointer not checked for null before use : (iter)->cur.node.children_not_mapped | CERT EXP08-C,EXP34-C
| 1303 |  |
M | 1317 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 1312 |  |
M | 1331 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1327 |  |
M | 1309 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 1308 |  |
M | 1327 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1324 |  |
M | 1299 | Procedure contains UR data flow anomalies. : root_shifts.arr.buffer | CERT EXP33-C
| 1314 |  |
M | 1299 | Procedure contains UR data flow anomalies. : root_shifts.arr.element_size | CERT EXP33-C
| 1314 |  |
M | 1299 | Procedure contains UR data flow anomalies. : root_shifts.v | CERT EXP33-C
| 1314 |  |
M | 1299 | Procedure contains UR data flow anomalies. : root_shifts.v_modifiable | CERT EXP33-C
| 1314 |  |
M | 1299 | Procedure contains UR data flow anomalies. : uid_range.arr.buffer | CERT EXP33-C
| 1324 |  |
M | 1299 | Procedure contains UR data flow anomalies. : uid_range.arr.element_size | CERT EXP33-C
| 1324 |  |
M | 1299 | Procedure contains UR data flow anomalies. : uid_range.v | CERT EXP33-C
| 1327 |  |
M | 1299 | Procedure contains UR data flow anomalies. : uid_range.v_modifiable | CERT EXP33-C
| 1327 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-trie.c | 1299 | squat-trie.c | 1314 | root_shifts.arr.buffer
squat-trie.c | 1299 | squat-trie.c | 1314 | root_shifts.arr.element_size
squat-trie.c | 1299 | squat-trie.c | 1314 | root_shifts.v
squat-trie.c | 1299 | squat-trie.c | 1314 | root_shifts.v_modifiable
squat-trie.c | 1299 | squat-trie.c | 1324 | uid_range.arr.buffer
squat-trie.c | 1299 | squat-trie.c | 1324 | uid_range.arr.element_size
squat-trie.c | 1299 | squat-trie.c | 1327 | uid_range.v
squat-trie.c | 1299 | squat-trie.c | 1327 | uid_range.v_modifiable

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

squat_trie_renumber_uidlists2 (1339 to 1371 squat-trie.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1367 | Pointer not checked for null before use : (iter)->cur.node.children_not_mapped | CERT EXP08-C,EXP34-C
| 1349 |  |
M | 1358 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 1353 |  |
M | 1367 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1364 |  |
M | 1346 | Procedure contains UR data flow anomalies. : uids.arr.buffer | CERT EXP33-C
| 1364 |  |
M | 1346 | Procedure contains UR data flow anomalies. : uids.arr.element_size | CERT EXP33-C
| 1364 |  |
M | 1346 | Procedure contains UR data flow anomalies. : uids.v | CERT EXP33-C
| 1364 |  |
M | 1346 | Procedure contains UR data flow anomalies. : uids.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
--- | --- | --- | --- | ---
squat-trie.c | 1346 | squat-trie.c | 1364 | uids.arr.buffer
squat-trie.c | 1346 | squat-trie.c | 1364 | uids.arr.element_size
squat-trie.c | 1346 | squat-trie.c | 1364 | uids.v
squat-trie.c | 1346 | squat-trie.c | 1364 | uids.v_modifiable

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

squat_trie_renumber_uidlists (1373 to 1407 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1393 | Pointer not checked for null before use : iter | CERT EXP08-C,EXP34-C
| 1391 |  |
M | 1396 | Pointer not checked for null before use : iter | CERT EXP08-C,EXP34-C
| 1391 |  |
M | 1398 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1396 |  |
M | 1406 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1403 |  |
M | 1403 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1398 |  |
M | 1398 | Pointer not checked for null before use : (iter)->cur.shifts | CERT EXP08-C,EXP34-C
| 1396 |  |
M | 1407 | Memory not freed after last reference. : rebuild_ctx | CERT MEM00-C

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

squat_trie_map_header (1426 to 1475 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1469 | String function params access same variable. | CERT DCL33-C

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

squat_trie_map (1477 to 1536 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1505 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1499 |  |
M | 1524 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1505 |  |
M | 1505 | Pointer not checked for null before use : trie.node_alloc_size | CERT EXP08-C,EXP34-C
| 1499 |  |
M | 1535 | Pointer not checked for null before use : trie.node_alloc_size | CERT EXP08-C,EXP34-C
| 1505 |  |
M | 1535 | Pointer not checked for null before use : trie.data | CERT EXP08-C,EXP34-C
| 1499 |  |
M | 1499 | Pointer not checked for null before use : trie.mmap_size | CERT EXP08-C,EXP34-C
| 1492 |  |
M | 1499 | Pointer not checked for null before use : trie.mmap_base | CERT EXP08-C,EXP34-C
| 1492 |  |
M | 1492 | Pointer not checked for null before use : trie.mmap_base | CERT EXP08-C,EXP34-C
| 1485 |  |

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

squat_trie_build_init (1560 to 1593 squat-trie.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1580 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1577 |  |
M | 1581 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1580 |  |
M | 1585 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1580 |  |
M | 1586 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 1585 |  |
M | 1564 | Procedure contains UR data flow anomalies. : uidlist_build_ctx | CERT EXP33-C
| 1577 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-trie.c | 1564 | squat-trie.c | 1577 | uidlist_build_ctx

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

squat_trie_write (1606 to 1719 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1681 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 1644 |  |
M | 1673 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1663 |  |
M | 1663 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1650 |  |
M | 1673 | Pointer not checked for null before use : ctx.dotlock | CERT EXP08-C,EXP34-C
| 1650 |  |
M | 1620 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 1619 |  |
M | 1640 | Pointer not checked for null before use : output | CERT EXP08-C,EXP34-C
| 1639 |  |
M | 1654 | Pointer not checked for null before use : output | CERT EXP08-C,EXP34-C
| 1653 |  |

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

squat_trie_build_deinit (1721 to 1757 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1738 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1736 |  |
M | 1753 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1736 |  |
M | 1736 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1735 |  |
M | 1736 | Pointer not checked for null before use : (ctx)->(trie)->hdr.indexid | CERT EXP08-C,EXP34-C
| 1724 |  |
M | 1755 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1753 |  |
M | 1735 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 808) |  |

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

squat_trie_lookup_data (1770 to 1842 squat-trie.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1795 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 1834 |  |
M | 1795 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 1793 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-trie.c | 447 | squat-trie.c | 1815 | node.children.data

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

squat_trie_filter_type (1844 to 1886 squat-trie.c) - FAIL

#### Standards Violation Summary

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

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

squat_trie_add_unknown (1939 to 1957 squat-trie.c) - FAIL

#### Standards Violation Summary

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

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

squat_trie_lookup_real (1959 to 2061 squat-trie.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1980 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 808) |  |
M | 2001 | Pointer not checked for null before use : ctx.tmp_uids2.v_modifiable | CERT EXP08-C,EXP34-C
| 1975 |  |
M | 2035 | Pointer not checked for null before use : ctx.tmp_uids2.v_modifiable | CERT EXP08-C,EXP34-C
| 1975 |  |
M | 2001 | Pointer not checked for null before use : ctx.tmp_uids2.v | CERT EXP08-C,EXP34-C
| 1975 |  |
M | 2035 | Pointer not checked for null before use : ctx.tmp_uids2.v | CERT EXP08-C,EXP34-C
| 1975 |  |
M | 2001 | Pointer not checked for null before use : ctx.tmp_uids2.arr.buffer | CERT EXP08-C,EXP34-C
| 1975 |  |
M | 2035 | Pointer not checked for null before use : ctx.tmp_uids2.arr.buffer | CERT EXP08-C,EXP34-C
| 1975 |  |
M | 2050 | Pointer not checked for null before use : ctx.tmp_uids.v_modifiable | CERT EXP08-C,EXP34-C
| 1975 |  |
M | 2050 | Pointer not checked for null before use : ctx.tmp_uids.v | CERT EXP08-C,EXP34-C
| 1975 |  |
M | 2050 | Pointer not checked for null before use : ctx.tmp_uids.arr.buffer | CERT EXP08-C,EXP34-C
| 1975 |  |
M | 2001 | Pointer not checked for null before use : ctx.maybe_uids | CERT EXP08-C,EXP34-C
| 1979 |  |
M | 2035 | Pointer not checked for null before use : ctx.maybe_uids | CERT EXP08-C,EXP34-C
| 1979 |  |
M | 2001 | Pointer not checked for null before use : ctx.definite_uids | CERT EXP08-C,EXP34-C
| 1978 |  |
M | 2035 | Pointer not checked for null before use : ctx.definite_uids | CERT EXP08-C,EXP34-C
| 1978 |  |
M | 2001 | Pointer not checked for null before use : ctx.trie | CERT EXP08-C,EXP34-C
| 1976 |  |
M | 2035 | Pointer not checked for null before use : ctx.trie | CERT EXP08-C,EXP34-C
| 1976 |  |
M | 2027 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 2012 |  |
M | 2035 | Pointer not checked for null before use : data | CERT EXP08-C,EXP34-C
| 1991 |  |
M | 1994 | Pointer not checked for null before use : char_lengths | CERT EXP08-C,EXP34-C
| 1988 |  |
M | 2058 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 1981 |  |

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

uidlist_write_array (110 to 233 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 174 | Negative (or potentially negative) shift. | CERT INT34-C
M | 186 | Negative (or potentially negative) shift. | CERT INT34-C
M | 136 | Pointer not checked for null before use : bufp | CERT EXP08-C,EXP34-C
| 134 |  |
M | 224 | Pointer not checked for null before use : sizebufp | CERT EXP08-C,EXP34-C
| 223 |  |
M | 133 | Pointer not checked for null before use : uidbuf | CERT EXP08-C,EXP34-C
| 132 |  |
M | 211 | Pointer not checked for null before use : bufp | CERT EXP08-C,EXP34-C
| 194 |  |
M | 187 | Pointer not checked for null before use : bufp | CERT EXP08-C,EXP34-C
| 175 |  |
M | 166 | Pointer not checked for null before use : bufp | CERT EXP08-C,EXP34-C
| 187 |  |
M | 219 | Pointer not checked for null before use : listbufp | CERT EXP08-C,EXP34-C
| 124 |  |
M | 233 | Memory not freed after last reference. : uidbuf | CERT MEM00-C

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

uidlist_write (235 to 275 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 254 | Pointer not checked for null before use : bufp | CERT EXP08-C,EXP34-C
| 253 |  |
M | 270 | Pointer not checked for null before use : uid_list | CERT EXP08-C,EXP34-C
| 265 |  |

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

squat_uidlist_map_blocks_set_pointers (277 to 295 squat-uidlist.c) - FAIL

#### Standards Violation Summary

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

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

squat_uidlist_map_blocks (313 to 362 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 336 | Insufficient space for operation. | CERT DCL33-C,FIO43-C
M | 336 | Pointer not checked for null before use : base | CERT EXP08-C,EXP34-C
| 335 |  |

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

squat_uidlist_map_header (364 to 385 squat-uidlist.c) - FAIL

#### Standards Violation Summary

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

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

squat_uidlist_mmap (400 to 427 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 408 | Sizeof argument is a pointer. | CERT EXP01-C
M | 414 | User input not checked before use. : st | CERT FIO30-C
| 404 |  |

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

squat_uidlist_map (429 to 472 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 448 | String function params access same variable. | CERT DCL33-C
M | 448 | Sizeof argument is a pointer. | CERT EXP01-C
M | 455 | Sizeof argument is a pointer. | CERT EXP01-C

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

squat_uidlist_init (507 to 517 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 516 | Local structure returned in function result : uidlist |
M | 512 | Pointer not checked for null before use : uidlist | CERT EXP08-C,EXP34-C
| 511 |  |
M | 511 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 809) |  |

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

squat_uidlist_deinit (519 to 525 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 524 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 523 |  |
M | 524 | Attempt to read from freed memory. : default_pool | CERT MEM30-C
M | 524 | Pointer not checked for null before use : (uidlist)->path | CERT EXP08-C,EXP34-C
| 523 |  |
M | 523 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 809) |  |

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

squat_uidlist_open (527 to 541 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 534 | Sizeof argument is a pointer. | CERT EXP01-C
M | 540 | Pointer not checked for null before use : uidlist.corrupted | CERT EXP08-C,EXP34-C
| 529 |  |
M | 540 | Pointer not checked for null before use : uidlist.mmap_size | CERT EXP08-C,EXP34-C
| 529 |  |
M | 540 | Pointer not checked for null before use : uidlist.mmap_base | CERT EXP08-C,EXP34-C
| 529 |  |

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

squat_uidlist_is_file_stale (577 to 598 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 594 | User input not checked before use. : st2 | CERT FIO30-C
| 590 |  |

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

squat_uidlist_open_or_create (648 to 684 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 676 | Sizeof argument is a pointer. | CERT EXP01-C
M | 677 | Sizeof argument is a pointer. | CERT EXP01-C
M | 662 | Pointer not checked for null before use : uidlist.corrupted | CERT EXP08-C,EXP34-C
| 658 |  |
M | 662 | Pointer not checked for null before use : uidlist.mmap_size | CERT EXP08-C,EXP34-C
| 658 |  |
M | 662 | Pointer not checked for null before use : uidlist.mmap_base | CERT EXP08-C,EXP34-C
| 658 |  |

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

squat_uidlist_build_init (686 to 728 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 710 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 709 |  |
M | 709 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 694 |  |

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

squat_uidlist_build_flush (783 to 847 squat-uidlist.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 820 | Pointer not checked for null before use : bufp | CERT EXP08-C,EXP34-C
| 819 |  |
M | 826 | Pointer not checked for null before use : bufp | CERT EXP08-C,EXP34-C
| 825 |  |
M | 804 | Pointer not checked for null before use : lists | CERT EXP08-C,EXP34-C
| 795 |  |
M | 789 | Procedure contains UR data flow anomalies. : list_sizes | CERT EXP33-C
| 825 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-uidlist.c | 789 | squat-uidlist.c | 825 | list_sizes

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

squat_uidlist_build_finish (849 to 868 squat-uidlist.c) - FAIL

#### Standards Violation Summary

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

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

squat_uidlist_build_deinit (870 to 893 squat-uidlist.c) - FAIL

#### Standards Violation Summary

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

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

squat_uidlist_rebuild_init (895 to 942 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 920 | Pointer not checked for null before use : temp_path | CERT EXP08-C,EXP34-C
| 919 |  |
M | 925 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 924 |  |

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

uidlist_rebuild_flush_block (944 to 971 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 962 | Pointer not checked for null before use : bufp | CERT EXP08-C,EXP34-C
| 961 |  |
M | 968 | Pointer not checked for null before use : bufp | CERT EXP08-C,EXP34-C
| 967 |  |

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

squat_uidlist_rebuild_nextu (993 to 1034 squat-uidlist.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1027 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 1021 |  |
M | 1027 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 1021 |  |
M | 997 | Procedure contains UR data flow anomalies. : tmp_uids.arr.buffer | CERT EXP33-C
| 1031 |  |
M | 997 | Procedure contains UR data flow anomalies. : tmp_uids.arr.element_size | CERT EXP33-C
| 1031 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-uidlist.c | 997 | squat-uidlist.c | 1031 | tmp_uids.arr.buffer
squat-uidlist.c | 997 | squat-uidlist.c | 1031 | tmp_uids.arr.element_size

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

squat_uidlist_rebuild_finish (1036 to 1094 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1058 | Sizeof argument is a pointer. | CERT EXP01-C
M | 1084 | Pointer not checked for null before use : temp_path | CERT EXP08-C,EXP34-C
| 1047 |  |
M | 1068 | Pointer not checked for null before use : temp_path | CERT EXP08-C,EXP34-C
| 1047 |  |
M | 1087 | Pointer not checked for null before use : temp_path | CERT EXP08-C,EXP34-C
| 1047 |  |

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

uidlist_add_new (1113 to 1127 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1126 | Local structure returned in function result : list |
M | 1125 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 1122 |  |

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

squat_uidlist_build_add_uid (1129 to 1235 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1210 | Array Bound exceeded. | CERT ARR30-C
M | 1231 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 1222 |  |
M | 1171 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 1165 |  |
M | 1187 | Pointer not checked for null before use : (ctx)->build_hdr.count | CERT EXP08-C,EXP34-C
| 1178 |  |
M | 1178 | Pointer not checked for null before use : (ctx)->build_hdr.count | CERT EXP08-C,EXP34-C
| 1165 |  |
M | 1142 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 1141 |  |
M | 1188 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 1187 |  |
M | 1202 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C
| 1201 |  |
M | 1205 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 1204 |  |
M | 1233 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 1230 |  |

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

squat_uidlist_get_at_offset (1287 to 1385 squat-uidlist.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1356 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 1345 |  |
M | 1373 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 1380 |  |
M | 1345 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 1326 |  |
M | 1307 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 1305 |  |
M | 1308 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 1307 |  |
M | 1321 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 1320 |  |
M | 1340 | Pointer not checked for null before use : uid_list | CERT EXP08-C,EXP34-C
| 1339 |  |
M | 1331 | Pointer not checked for null before use : uidlist.cur_block_end_indexes | CERT EXP08-C,EXP34-C
| 1312 |  |
M | 1331 | Pointer not checked for null before use : uidlist.cur_block_offsets | CERT EXP08-C,EXP34-C
| 1312 |  |

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

squat_uidlist_get_offset (1394 to 1452 squat-uidlist.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1434 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 1430 |  |
M | 1440 | Pointer not checked for null before use : p | CERT EXP08-C,EXP34-C
| 1434 |  |
M | 1399 | Procedure contains UR data flow anomalies. : idx | CERT EXP33-C
| 1410 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-uidlist.c | 1399 | squat-uidlist.c | 1410 | idx

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

squat_uidlist_get (1454 to 1478 squat-uidlist.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1477 | Pointer not checked for null before use : uidlist.corrupted | CERT EXP08-C,EXP34-C
| 1475 |  |
M | 1477 | Pointer not checked for null before use : uidlist.cur_block_end_indexes | CERT EXP08-C,EXP34-C
| 1475 |  |
M | 1458 | Procedure contains UR data flow anomalies. : num | CERT EXP33-C
| 1477 |  |
M | 1458 | Procedure contains UR data flow anomalies. : offset | CERT EXP33-C
| 1477 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-uidlist.c | 1458 | squat-uidlist.c | 1477 | num
squat-uidlist.c | 1458 | squat-uidlist.c | 1477 | offset

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

squat_uidlist_get_seqrange (1503 to 1529 squat-uidlist.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1527 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 1513 |  |
M | 1513 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 809) |  |
M | 1507 | Procedure contains UR data flow anomalies. : tmp_uid_arr.arr.buffer | CERT EXP33-C
| 1516 |  |
M | 1507 | Procedure contains UR data flow anomalies. : tmp_uid_arr.arr.element_size | CERT EXP33-C
| 1516 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-uidlist.c | 1507 | squat-uidlist.c | 1516 | tmp_uid_arr.arr.buffer
squat-uidlist.c | 1507 | squat-uidlist.c | 1514 | tmp_uid_arr.arr.buffer
squat-uidlist.c | 1507 | squat-uidlist.c | 1516 | tmp_uid_arr.arr.element_size
squat-uidlist.c | 1507 | squat-uidlist.c | 1514 | tmp_uid_arr.arr.element_size

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

squat_uidlist_filter (1531 to 1614 squat-uidlist.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1552 | Pointer not checked for null before use : parent_range | CERT EXP08-C,EXP34-C
| 1542 |  |
M | 1609 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 1547 |  |
M | 1535 | Procedure contains UR data flow anomalies. : dest_uids.arr.buffer | CERT EXP33-C
| 1592 |  |
M | 1535 | Procedure contains UR data flow anomalies. : dest_uids.arr.element_size | CERT EXP33-C
| 1592 |  |
M | 1535 | Procedure contains UR data flow anomalies. : dest_uids.v | CERT EXP33-C
| 1592 |  |
M | 1535 | Procedure contains UR data flow anomalies. : dest_uids.v_modifiable | CERT EXP33-C
| 1592 |  |
M | 1538 | Procedure contains UR data flow anomalies. : parent_count | CERT EXP33-C
| 1543 |  |
M | 1538 | Procedure contains UR data flow anomalies. : rel_count | CERT EXP33-C
| 1553 |  |
M | 1536 | Procedure contains UR data flow anomalies. : relative_uids.arr.buffer | CERT EXP33-C
| 1548 |  |
M | 1536 | Procedure contains UR data flow anomalies. : relative_uids.arr.element_size | CERT EXP33-C
| 1548 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
squat-uidlist.c | 1535 | squat-uidlist.c | 1592 | dest_uids.arr.buffer
squat-uidlist.c | 1535 | squat-uidlist.c | 1592 | dest_uids.arr.element_size
squat-uidlist.c | 1535 | squat-uidlist.c | 1592 | dest_uids.v
squat-uidlist.c | 1535 | squat-uidlist.c | 1592 | dest_uids.v_modifiable
squat-uidlist.c | 1538 | squat-uidlist.c | 1543 | parent_count
squat-uidlist.c | 1538 | squat-uidlist.c | 1553 | rel_count
squat-uidlist.c | 1536 | squat-uidlist.c | 1548 | relative_uids.arr.buffer
squat-uidlist.c | 1536 | squat-uidlist.c | 1548 | relative_uids.arr.element_size

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

trash_clean_mailbox_open (51 to 76 trash-plugin.c) - FAIL

#### Standards Violation Summary

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

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

trash_try_clean_mails (101 to 189 trash-plugin.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 : tuser | CERT EXP08-C,EXP34-C
| 104 |  |
M | 155 | Pointer not checked for null before use : trashes | CERT EXP08-C,EXP34-C
| 111 |  |
M | 108 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 134 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
trash-plugin.c | 108 | trash-plugin.c | 134 | size

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

trash_find_storage (224 to 240 trash-plugin.c) - FAIL

#### Standards Violation Summary

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

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

read_configuration (248 to 297 trash-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 265 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 264 |  |
M | 273 | Pointer not checked for null before use : trash | CERT EXP08-C,EXP34-C
| 272 |  |
M | 262 | Pointer not checked for null before use : tuser | CERT EXP08-C,EXP34-C
| 250 |  |
M | 295 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 262 |  |
M | 295 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 262 |  |

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

trash_mail_namespaces_created (299 to 323 trash-plugin.c) - FAIL

#### Standards Violation Summary

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

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

virtual_search_args_parse (31 to 67 virtual-config.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 44 | Pointer not checked for null before use : sargs | CERT EXP08-C,EXP34-C
| 43 |  |
M | 49 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 48 |  |
M | 58 | Pointer not checked for null before use : parser | CERT EXP08-C,EXP34-C
| 57 |  |
M | 39 | Procedure contains UR data flow anomalies. : fatal | CERT EXP33-C
| 55 |  |
M | 54 | Procedure contains UR data flow anomalies. : sargs | CERT EXP33-C
| 38 |  |
M | 38 | Procedure contains UR data flow anomalies. : sargs | CERT EXP33-C
| 58 |  |
M | 60 | Procedure contains UR data flow anomalies. : sargs | CERT EXP33-C
| 38 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-config.c | 39 | virtual-config.c | 55 | fatal
virtual-config.c | 54 | virtual-config.c | 66 | sargs
virtual-config.c | 38 | virtual-config.c | 58 | sargs
virtual-config.c | 60 | virtual-config.c | 66 | sargs

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

virtual_config_add_rule (69 to 104 virtual-config.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 86 | Pointer not checked for null before use : error_r | CERT EXP08-C,EXP34-C
| 83 |  |
M | 96 | Pointer not checked for null before use : bboxes | CERT EXP08-C,EXP34-C
| 93 |  |

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

virtual_config_parse_line (106 to 160 virtual-config.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 136 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C
| 135 |  |
M | 134 | Pointer not checked for null before use : bbox | CERT EXP08-C,EXP34-C
| 131 |  |
M | 147 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 146 |  |

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

virtual_mailbox_get_list_patterns (162 to 186 virtual-config.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 184 | Pointer not checked for null before use : dest | CERT EXP08-C,EXP34-C
| 181 |  |
M | 176 | Pointer not checked for null before use : bboxes | CERT EXP08-C,EXP34-C
| 172 |  |

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

separate_wildcard_mailboxes (188 to 217 virtual-config.c) - FAIL

#### Standards Violation Summary

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

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

virtual_config_copy_expanded (219 to 232 virtual-config.c) - FAIL

#### Standards Violation Summary

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

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

virtual_config_match (234 to 260 virtual-config.c) - FAIL

#### Standards Violation Summary

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

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

virtual_config_expand_wildcards (262 to 310 virtual-config.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 288 | Pointer not checked for null before use : wboxes | CERT EXP08-C,EXP34-C
| 280 |  |
M | 291 | Pointer not checked for null before use : patterns | CERT EXP08-C,EXP34-C
| 286 |  |
M | 270 | Procedure contains UR data flow anomalies. : neg_boxes.arr.buffer | CERT EXP33-C
| 277 |  |
M | 270 | Procedure contains UR data flow anomalies. : neg_boxes.arr.element_size | CERT EXP33-C
| 277 |  |
M | 270 | Procedure contains UR data flow anomalies. : wildcard_boxes.arr.buffer | CERT EXP33-C
| 277 |  |
M | 270 | Procedure contains UR data flow anomalies. : wildcard_boxes.arr.element_size | CERT EXP33-C
| 277 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-config.c | 270 | virtual-config.c | 277 | neg_boxes.arr.buffer
virtual-config.c | 270 | virtual-config.c | 277 | neg_boxes.arr.element_size
virtual-config.c | 270 | virtual-config.c | 277 | wildcard_boxes.arr.buffer
virtual-config.c | 270 | virtual-config.c | 277 | wildcard_boxes.arr.element_size

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

virtual_config_search_args_dup (312 to 324 virtual-config.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 321 | Pointer not checked for null before use : old_args | CERT EXP08-C,EXP34-C
| 320 |  |
M | 320 | Pointer not checked for null before use : bboxes | CERT EXP08-C,EXP34-C
| 318 |  |

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

virtual_config_read (326 to 396 virtual-config.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 338 | Pointer not checked for null before use : path | CERT EXP08-C,EXP34-C
| 337 |  |
M | 357 | Pointer not checked for null before use : ctx.input | CERT EXP08-C,EXP34-C
| 356 |  |
M | 334 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 834) |  |
M | 374 | Pointer not checked for null before use : ctx.rule | CERT EXP08-C,EXP34-C
| 355 |  |
M | 382 | Pointer not checked for null before use : ctx.pool | CERT EXP08-C,EXP34-C
| 354 |  |
M | 382 | Pointer not checked for null before use : ctx.mbox | CERT EXP08-C,EXP34-C
| 353 |  |
M | 376 | Pointer not checked for null before use : error | CERT EXP08-C,EXP34-C
| 374 |  |
M | 367 | Pointer not checked for null before use : error | CERT EXP08-C,EXP34-C
| 365 |  |
M | 386 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 334 |  |
M | 386 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 334 |  |
M | 330 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 374 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-config.c | 330 | virtual-config.c | 374 | error

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

virtual_config_free (398 to 414 virtual-config.c) - FAIL

#### Standards Violation Summary

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

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

virtual_mail_alloc (24 to 55 virtual-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 34 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 33 |  |
M | 35 | Pointer not checked for null before use : vmail | CERT EXP08-C,EXP34-C
| 34 |  |
M | 53 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 53 |  |
M | 53 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 53 |  |

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

virtual_mail_free (57 to 73 virtual-mail.c) - FAIL

#### Standards Violation Summary

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

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

backend_mail_find (75 to 87 virtual-mail.c) - FAIL

#### Standards Violation Summary

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

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

virtual_mail_set_backend_mail (89 to 108 virtual-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 102 | Pointer not checked for null before use : backend_trans | CERT EXP08-C,EXP34-C
| 97 |  |
M | 102 | Pointer not checked for null before use : backend_headers | CERT EXP08-C,EXP34-C
| 99 |  |

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

virtual_mail_set_seq (110 to 144 virtual-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 128 | Sizeof argument is a pointer. | CERT EXP01-C
M | 123 | Pointer not checked for null before use : vrec | CERT EXP08-C,EXP34-C
| 121 |  |
M | 124 | Pointer not checked for null before use : bbox | CERT EXP08-C,EXP34-C
| 123 |  |
M | 117 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 119 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-mail.c | 117 | virtual-mail.c | 119 | expunged

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

virtual_mail_set_uid (146 to 155 virtual-mail.c) - FAIL

#### Standards Violation Summary

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

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

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-mail.c | 148 | virtual-mail.c | 150 | seq

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

virtual_mail_get_date (188 to 204 virtual-mail.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 192 | Procedure contains UR data flow anomalies. : tz | CERT EXP33-C
| 199 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-mail.c | 192 | virtual-mail.c | 199 | tz

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

virtual_mail_get_header_stream (292 to 314 virtual-mail.c) - FAIL

#### Standards Violation Summary

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

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

virtual_mail_get_special (333 to 347 virtual-mail.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 338 | Declaration types do not match across a system. : box | CERT ARR31-C

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

virtual_save_alloc (15 to 37 virtual-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 28 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 27 |  |
M | 33 | Pointer not checked for null before use : backend_trans | CERT EXP08-C,EXP34-C
| 31 |  |

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

virtual_copy_keywords (39 to 62 virtual-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 57 | Pointer not checked for null before use : kwp | CERT EXP08-C,EXP34-C
| 56 |  |
M | 57 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 52 |  |
M | 57 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 52 |  |

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

virtual_save_begin (64 to 99 virtual-save.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 69 | Declaration types do not match across a system. : mail | CERT ARR31-C

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

virtual_search_get_records (65 to 100 virtual-search.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 90 | Pointer not checked for null before use : vrec | CERT EXP08-C,EXP34-C
| 88 |  |
M | 73 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 85 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-search.c | 73 | virtual-search.c | 85 | expunged

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

virtual_search_init (102 to 121 virtual-search.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 113 | Pointer not checked for null before use : vctx | CERT EXP08-C,EXP34-C
| 112 |  |
M | 116 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 110 |  |
M | 112 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 838) |  |

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

virtual_search_deinit (123 to 131 virtual-search.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 127 | Pointer not checked for null before use : vctx | CERT EXP08-C,EXP34-C
| 125 |  |
M | 129 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 838) |  |

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

virtual_search_next_nonblock (133 to 169 virtual-search.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 : vctx | CERT EXP08-C,EXP34-C
| 136 |  |
M | 137 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 161 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-search.c | 137 | virtual-search.c | 161 | seq

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

virtual_search_next_update_seq (177 to 202 virtual-search.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 183 | Pointer not checked for null before use : vctx | CERT EXP08-C,EXP34-C
| 179 |  |
M | 186 | Pointer not checked for null before use : recs | CERT EXP08-C,EXP34-C
| 183 |  |

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

virtual_box_copy_error (55 to 65 virtual-storage.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 63 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 61 |  |
M | 63 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 60 |  |
M | 64 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 63 |  |
M | 58 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 61 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-storage.c | 58 | virtual-storage.c | 61 | error

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

virtual_storage_alloc (67 to 78 virtual-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 73 | Pointer not checked for null before use : pool | CERT EXP08-C,EXP34-C
| 72 |  |
M | 74 | Pointer not checked for null before use : storage | CERT EXP08-C,EXP34-C
| 73 |  |

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

virtual_backend_box_lookup_name (90 to 102 virtual-storage.c) - FAIL

#### Standards Violation Summary

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

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

virtual_backend_box_lookup (104 to 119 virtual-storage.c) - FAIL

#### Standards Violation Summary

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

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

virtual_mailbox_is_in_open_stack (121 to 133 virtual-storage.c) - FAIL

#### Standards Violation Summary

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

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

virtual_backend_box_open_failed (135 to 161 virtual-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 : str | CERT EXP08-C,EXP34-C
| 156 |  |
M | 156 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C
| 141 |  |
M | 156 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 143 |  |
M | 138 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C
| 141 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-storage.c | 138 | virtual-storage.c | 141 | error

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

virtual_backend_box_open (163 to 185 virtual-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 176 | Pointer not checked for null before use : mailbox | CERT EXP08-C,EXP34-C
| 175 |  |
M | 177 | Pointer not checked for null before use : ns | CERT EXP08-C,EXP34-C
| 176 |  |

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

virtual_mailboxes_open (187 to 217 virtual-storage.c) - FAIL

#### Standards Violation Summary

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

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

virtual_mailbox_alloc (219 to 246 virtual-storage.c) - FAIL

#### Standards Violation Summary

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

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

virtual_mailbox_close_internal (248 to 269 virtual-storage.c) - FAIL

#### Standards Violation Summary

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

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

virtual_list_get_mailbox_flags (364 to 387 virtual-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 376 | Pointer not checked for null before use : mlist | CERT EXP08-C,EXP34-C
| 371 |  |
M | 384 | Pointer not checked for null before use : virtual_path | CERT EXP08-C,EXP34-C
| 382 |  |

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

virtual_storage_add_list (389 to 403 virtual-storage.c) - FAIL

#### Standards Violation Summary

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

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

virtual_get_virtual_uid (412 to 445 virtual-storage.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 429 | Pointer not checked for null before use : bbox | CERT EXP08-C,EXP34-C
| 428 |  |
M | 434 | Pointer not checked for null before use : bbox | CERT EXP08-C,EXP34-C
| 423 |  |

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

virtual_sync_external_flags (58 to 80 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 77 | Pointer not checked for null before use : kw_names | CERT EXP08-C,EXP34-C
| 76 |  |
M | 78 | Pointer not checked for null before use : keywords | CERT EXP08-C,EXP34-C
| 77 |  |

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

virtual_backend_box_sync_mail_set (99 to 108 virtual-sync.c) - FAIL

#### Standards Violation Summary

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

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

virtual_backend_box_sync_mail_unset (110 to 120 virtual-sync.c) - FAIL

#### Standards Violation Summary

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

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

virtual_sync_ext_header_read (149 to 260 virtual-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 221 | Pointer not checked for null before use : nameptr | CERT EXP08-C,EXP34-C
| 220 |  |
M | 222 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C
| 221 |  |
M | 166 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 161 |  |
M | 173 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 161 |  |
M | 252 | Pointer not checked for null before use : bboxes | CERT EXP08-C,EXP34-C
| 250 |  |
M | 156 | Procedure contains UR data flow anomalies. : ext_size | CERT EXP33-C
| 162 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 156 | virtual-sync.c | 162 | ext_size

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

virtual_sync_ext_header_rewrite (262 to 315 virtual-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 285 | Pointer not checked for null before use : buf | CERT EXP08-C,EXP34-C
| 284 |  |
M | 288 | Pointer not checked for null before use : bboxes | CERT EXP08-C,EXP34-C
| 272 |  |
M | 268 | Procedure contains UR data flow anomalies. : ext_data | CERT EXP33-C
| 305 |  |
M | 269 | Procedure contains UR data flow anomalies. : ext_size | CERT EXP33-C
| 305 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 268 | virtual-sync.c | 305 | ext_data
virtual-sync.c | 269 | virtual-sync.c | 305 | ext_size

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

virtual_sync_index_rec (331 to 420 virtual-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 368 | Pointer not checked for null before use : vrec | CERT EXP08-C,EXP34-C
| 366 |  |
M | 398 | Pointer not checked for null before use : kw_names | CERT EXP08-C,EXP34-C
| 397 |  |
M | 410 | Pointer not checked for null before use : kw_names | CERT EXP08-C,EXP34-C
| 409 |  |
M | 412 | Pointer not checked for null before use : keywords | CERT EXP08-C,EXP34-C
| 410 |  |
M | 404 | Pointer not checked for null before use : keywords | CERT EXP08-C,EXP34-C
| 398 |  |
M | 343 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 364 |  |
M | 342 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 356 |  |
M | 342 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 356 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 343 | virtual-sync.c | 364 | expunged
virtual-sync.c | 342 | virtual-sync.c | 356 | seq1
virtual-sync.c | 342 | virtual-sync.c | 356 | seq2

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

virtual_sync_index_changes (422 to 432 virtual-sync.c) - FAIL

#### Standards Violation Summary

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

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

virtual_sync_index_finish (434 to 462 virtual-sync.c) - FAIL

#### Standards Violation Summary

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

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 441 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 440 |  |
M | 438 | Procedure contains UR data flow anomalies. : seq1 | CERT EXP33-C
| 447 |  |
M | 438 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 447 |  |
M | 436 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 438 | virtual-sync.c | 447 | seq1
virtual-sync.c | 438 | virtual-sync.c | 447 | seq2

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

virtual_sync_backend_box_init (464 to 497 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 474 | Pointer not checked for null before use : trans | CERT EXP08-C,EXP34-C
| 473 |  |
M | 482 | Pointer not checked for null before use : search_ctx | CERT EXP08-C,EXP34-C
| 476 |  |
M | 468 | Declaration types do not match across a system. : mail | CERT ARR31-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_mailbox_box_remove (507 to 549 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 514 | Procedure contains UR data flow anomalies. : src | CERT EXP33-C
| 526 |  |
M | 514 | Procedure contains UR data flow anomalies. : uid_count | CERT EXP33-C
| 518 |  |
M | 515 | Procedure contains UR data flow anomalies. : vseq | CERT EXP33-C
| 542 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 514 | virtual-sync.c | 526 | src
virtual-sync.c | 514 | virtual-sync.c | 518 | uid_count
virtual-sync.c | 515 | virtual-sync.c | 542 | vseq

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_mailbox_box_add (551 to 609 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 593 | Pointer not checked for null before use : added_uids | CERT EXP08-C,EXP34-C
| 562 |  |
M | 595 | Pointer not checked for null before use : uidmap | CERT EXP08-C,EXP34-C
| 586 |  |
M | 559 | Procedure contains UR data flow anomalies. : dest | CERT EXP33-C
| 574 |  |
M | 559 | Procedure contains UR data flow anomalies. : uid_count | CERT EXP33-C
| 563 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 559 | virtual-sync.c | 574 | dest
virtual-sync.c | 559 | virtual-sync.c | 563 | uid_count

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_backend_boxes_sort_uids (628 to 638 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 635 | Pointer not checked for null before use : bboxes | CERT EXP08-C,EXP34-C
| 633 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_backend_handle_old_vmsgs (640 to 680 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 663 | Pointer not checked for null before use : vrec | CERT EXP08-C,EXP34-C
| 662 |  |
M | 649 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 659 |  |
M | 648 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 668 |  |
M | 648 | Procedure contains UR data flow anomalies. : vuid | CERT EXP33-C
| 658 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 649 | virtual-sync.c | 659 | expunged
virtual-sync.c | 648 | virtual-sync.c | 668 | seq
virtual-sync.c | 648 | virtual-sync.c | 658 | vuid

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_backend_box_continue (682 to 737 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 698 | Pointer not checked for null before use : result | CERT EXP08-C,EXP34-C
| 696 |  |
M | 690 | Procedure contains UR data flow anomalies. : added_uids.arr.buffer | CERT EXP33-C
| 731 |  |
M | 690 | Procedure contains UR data flow anomalies. : added_uids.arr.element_size | CERT EXP33-C
| 731 |  |
M | 690 | Procedure contains UR data flow anomalies. : added_uids.v | CERT EXP33-C
| 731 |  |
M | 690 | Procedure contains UR data flow anomalies. : added_uids.v_modifiable | CERT EXP33-C
| 731 |  |
M | 690 | Procedure contains UR data flow anomalies. : flag_update_uids.arr.buffer | CERT EXP33-C
| 716 |  |
M | 690 | Procedure contains UR data flow anomalies. : flag_update_uids.arr.element_size | CERT EXP33-C
| 716 |  |
M | 690 | Procedure contains UR data flow anomalies. : flag_update_uids.v | CERT EXP33-C
| 716 |  |
M | 690 | Procedure contains UR data flow anomalies. : flag_update_uids.v_modifiable | CERT EXP33-C
| 716 |  |
M | 692 | Procedure contains UR data flow anomalies. : old_msg_count | CERT EXP33-C
| 705 |  |
M | 690 | Procedure contains UR data flow anomalies. : removed_uids.arr.buffer | CERT EXP33-C
| 731 |  |
M | 690 | Procedure contains UR data flow anomalies. : removed_uids.arr.element_size | CERT EXP33-C
| 731 |  |
M | 690 | Procedure contains UR data flow anomalies. : removed_uids.v | CERT EXP33-C
| 731 |  |
M | 690 | Procedure contains UR data flow anomalies. : removed_uids.v_modifiable | CERT EXP33-C
| 731 |  |
M | 692 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 705 |  |
M | 692 | Procedure contains UR data flow anomalies. : uid | CERT EXP33-C
| 715 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 690 | virtual-sync.c | 731 | added_uids.arr.buffer
virtual-sync.c | 690 | virtual-sync.c | 731 | added_uids.arr.element_size
virtual-sync.c | 690 | virtual-sync.c | 731 | added_uids.v
virtual-sync.c | 690 | virtual-sync.c | 731 | added_uids.v_modifiable
virtual-sync.c | 690 | virtual-sync.c | 716 | flag_update_uids.arr.buffer
virtual-sync.c | 690 | virtual-sync.c | 716 | flag_update_uids.arr.element_size
virtual-sync.c | 690 | virtual-sync.c | 716 | flag_update_uids.v
virtual-sync.c | 690 | virtual-sync.c | 716 | flag_update_uids.v_modifiable
virtual-sync.c | 692 | virtual-sync.c | 705 | old_msg_count
virtual-sync.c | 692 | virtual-sync.c | 710 | old_msg_count
virtual-sync.c | 690 | virtual-sync.c | 731 | removed_uids.arr.buffer
virtual-sync.c | 690 | virtual-sync.c | 731 | removed_uids.arr.element_size
virtual-sync.c | 690 | virtual-sync.c | 731 | removed_uids.v
virtual-sync.c | 690 | virtual-sync.c | 731 | removed_uids.v_modifiable
virtual-sync.c | 692 | virtual-sync.c | 705 | seq
virtual-sync.c | 692 | virtual-sync.c | 715 | uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_drop_existing (739 to 773 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 746 | Procedure contains UR data flow anomalies. : add_uid | CERT EXP33-C
| 749 |  |
M | 742 | Procedure contains UR data flow anomalies. : drop_uids.arr.buffer | CERT EXP33-C
| 772 |  |
M | 742 | Procedure contains UR data flow anomalies. : drop_uids.arr.element_size | CERT EXP33-C
| 772 |  |
M | 742 | Procedure contains UR data flow anomalies. : drop_uids.v | CERT EXP33-C
| 772 |  |
M | 742 | Procedure contains UR data flow anomalies. : drop_uids.v_modifiable | CERT EXP33-C
| 772 |  |
M | 745 | Procedure contains UR data flow anomalies. : i | CERT EXP33-C
| 752 |  |
M | 744 | Procedure contains UR data flow anomalies. : iter.array | CERT EXP33-C
| 748 |  |
M | 744 | Procedure contains UR data flow anomalies. : iter.prev_idx | CERT EXP33-C
| 748 |  |
M | 744 | Procedure contains UR data flow anomalies. : iter.prev_n | CERT EXP33-C
| 748 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 746 | virtual-sync.c | 749 | add_uid
virtual-sync.c | 742 | virtual-sync.c | 772 | drop_uids.arr.buffer
virtual-sync.c | 742 | virtual-sync.c | 772 | drop_uids.arr.element_size
virtual-sync.c | 742 | virtual-sync.c | 772 | drop_uids.v
virtual-sync.c | 742 | virtual-sync.c | 772 | drop_uids.v_modifiable
virtual-sync.c | 745 | virtual-sync.c | 752 | i
virtual-sync.c | 744 | virtual-sync.c | 748 | iter.array
virtual-sync.c | 744 | virtual-sync.c | 748 | iter.prev_idx
virtual-sync.c | 744 | virtual-sync.c | 748 | iter.prev_n

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_drop_nonexisting (775 to 814 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 793 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 792 |  |
M | 793 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 792 |  |
M | 778 | Procedure contains UR data flow anomalies. : drop_uids.arr.buffer | CERT EXP33-C
| 813 |  |
M | 778 | Procedure contains UR data flow anomalies. : drop_uids.arr.element_size | CERT EXP33-C
| 813 |  |
M | 778 | Procedure contains UR data flow anomalies. : drop_uids.v | CERT EXP33-C
| 813 |  |
M | 778 | Procedure contains UR data flow anomalies. : drop_uids.v_modifiable | CERT EXP33-C
| 813 |  |
M | 781 | Procedure contains UR data flow anomalies. : i | CERT EXP33-C
| 789 |  |
M | 780 | Procedure contains UR data flow anomalies. : iter.array | CERT EXP33-C
| 785 |  |
M | 780 | Procedure contains UR data flow anomalies. : iter.prev_idx | CERT EXP33-C
| 785 |  |
M | 780 | Procedure contains UR data flow anomalies. : iter.prev_n | CERT EXP33-C
| 785 |  |
M | 782 | Procedure contains UR data flow anomalies. : remove_uid | CERT EXP33-C
| 786 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 778 | virtual-sync.c | 813 | drop_uids.arr.buffer
virtual-sync.c | 778 | virtual-sync.c | 813 | drop_uids.arr.element_size
virtual-sync.c | 778 | virtual-sync.c | 813 | drop_uids.v
virtual-sync.c | 778 | virtual-sync.c | 813 | drop_uids.v_modifiable
virtual-sync.c | 781 | virtual-sync.c | 789 | i
virtual-sync.c | 780 | virtual-sync.c | 785 | iter.array
virtual-sync.c | 780 | virtual-sync.c | 785 | iter.prev_idx
virtual-sync.c | 780 | virtual-sync.c | 785 | iter.prev_n
virtual-sync.c | 782 | virtual-sync.c | 786 | remove_uid

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_mailbox_box_update (816 to 877 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 827 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 823 |  |
M | 819 | Procedure contains UR data flow anomalies. : added_uids.arr.buffer | CERT EXP33-C
| 825 |  |
M | 819 | Procedure contains UR data flow anomalies. : added_uids.arr.element_size | CERT EXP33-C
| 825 |  |
M | 819 | Procedure contains UR data flow anomalies. : added_uids.v | CERT EXP33-C
| 825 |  |
M | 819 | Procedure contains UR data flow anomalies. : added_uids.v_modifiable | CERT EXP33-C
| 825 |  |
M | 819 | Procedure contains UR data flow anomalies. : removed_uids.arr.buffer | CERT EXP33-C
| 825 |  |
M | 819 | Procedure contains UR data flow anomalies. : removed_uids.arr.element_size | CERT EXP33-C
| 825 |  |
M | 819 | Procedure contains UR data flow anomalies. : removed_uids.v | CERT EXP33-C
| 825 |  |
M | 819 | Procedure contains UR data flow anomalies. : removed_uids.v_modifiable | CERT EXP33-C
| 825 |  |
M | 819 | Procedure contains UR data flow anomalies. : temp_uids.arr.buffer | CERT EXP33-C
| 848 |  |
M | 819 | Procedure contains UR data flow anomalies. : temp_uids.arr.element_size | CERT EXP33-C
| 848 |  |
M | 819 | Procedure contains UR data flow anomalies. : temp_uids.v | CERT EXP33-C
| 848 |  |
M | 819 | Procedure contains UR data flow anomalies. : temp_uids.v_modifiable | CERT EXP33-C
| 848 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 819 | virtual-sync.c | 825 | added_uids.arr.buffer
virtual-sync.c | 819 | virtual-sync.c | 825 | added_uids.arr.element_size
virtual-sync.c | 819 | virtual-sync.c | 825 | added_uids.v
virtual-sync.c | 819 | virtual-sync.c | 825 | added_uids.v_modifiable
virtual-sync.c | 819 | virtual-sync.c | 825 | removed_uids.arr.buffer
virtual-sync.c | 819 | virtual-sync.c | 825 | removed_uids.arr.element_size
virtual-sync.c | 819 | virtual-sync.c | 825 | removed_uids.v
virtual-sync.c | 819 | virtual-sync.c | 825 | removed_uids.v_modifiable
virtual-sync.c | 819 | virtual-sync.c | 848 | temp_uids.arr.buffer
virtual-sync.c | 819 | virtual-sync.c | 848 | temp_uids.arr.element_size
virtual-sync.c | 819 | virtual-sync.c | 848 | temp_uids.v
virtual-sync.c | 819 | virtual-sync.c | 848 | temp_uids.v_modifiable

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_find_seqs (879 to 902 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 885 | Procedure contains UR data flow anomalies. : idx | CERT EXP33-C
| 890 |  |
M | 886 | Procedure contains UR data flow anomalies. : uid1 | CERT EXP33-C
| 888 |  |
M | 886 | Procedure contains UR data flow anomalies. : uid2 | CERT EXP33-C
| 889 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 885 | virtual-sync.c | 890 | idx
virtual-sync.c | 886 | virtual-sync.c | 888 | uid1
virtual-sync.c | 886 | virtual-sync.c | 889 | uid2

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_expunge_add (904 to 926 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 910 | Procedure contains UR data flow anomalies. : idx1 | CERT EXP33-C
| 917 |  |
M | 909 | Procedure contains UR data flow anomalies. : uid1 | CERT EXP33-C
| 912 |  |
M | 909 | Procedure contains UR data flow anomalies. : uid2 | CERT EXP33-C
| 913 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 910 | virtual-sync.c | 917 | idx1
virtual-sync.c | 909 | virtual-sync.c | 912 | uid1
virtual-sync.c | 909 | virtual-sync.c | 913 | uid2

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_backend_box_sync (928 to 973 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 956 | Pointer not checked for null before use : uidmap | CERT EXP08-C,EXP34-C
| 954 |  |
M | 964 | Pointer not checked for null before use : bbox.sync_mail | CERT EXP08-C,EXP34-C
| 940 |  |
M | 936 | Procedure contains UR data flow anomalies. : idx1 | CERT EXP33-C
| 955 |  |
M | 936 | Procedure contains UR data flow anomalies. : idx2 | CERT EXP33-C
| 955 |  |
M | 934 | Procedure contains UR data flow anomalies. : sync_rec.seq1 | CERT EXP33-C
| 941 |  |
M | 934 | Procedure contains UR data flow anomalies. : sync_rec.seq2 | CERT EXP33-C
| 941 |  |
M | 934 | Procedure contains UR data flow anomalies. : sync_rec.type | CERT EXP33-C
| 941 |  |
M | 935 | Procedure contains UR data flow anomalies. : sync_status.sync_delayed_expunges | CERT EXP33-C
| 972 |  |
M | 937 | Procedure contains UR data flow anomalies. : vseq | CERT EXP33-C
| 957 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 936 | virtual-sync.c | 955 | idx1
virtual-sync.c | 936 | virtual-sync.c | 955 | idx2
virtual-sync.c | 934 | virtual-sync.c | 941 | sync_rec.seq1
virtual-sync.c | 934 | virtual-sync.c | 941 | sync_rec.seq2
virtual-sync.c | 934 | virtual-sync.c | 941 | sync_rec.type
virtual-sync.c | 935 | virtual-sync.c | 972 | sync_status.sync_delayed_expunges
virtual-sync.c | 937 | virtual-sync.c | 957 | vseq

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_backend_ext_header (975 to 1014 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 981 | Procedure contains UR data flow anomalies. : status.cache_fields | CERT EXP33-C
| 985 |  |
M | 981 | Procedure contains UR data flow anomalies. : status.first_unseen_seq | CERT EXP33-C
| 985 |  |
M | 981 | Procedure contains UR data flow anomalies. : status.highest_modseq | CERT EXP33-C
| 985 |  |
M | 981 | Procedure contains UR data flow anomalies. : status.keywords | CERT EXP33-C
| 985 |  |
M | 981 | Procedure contains UR data flow anomalies. : status.messages | CERT EXP33-C
| 985 |  |
M | 981 | Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs | CERT EXP33-C
| 985 |  |
M | 981 | Procedure contains UR data flow anomalies. : status.recent | CERT EXP33-C
| 985 |  |
M | 981 | Procedure contains UR data flow anomalies. : status.uidnext | CERT EXP33-C
| 985 |  |
M | 981 | Procedure contains UR data flow anomalies. : status.uidvalidity | CERT EXP33-C
| 985 |  |
M | 981 | Procedure contains UR data flow anomalies. : status.unseen | CERT EXP33-C
| 985 |  |
M | 981 | Procedure contains UR data flow anomalies. : status.virtual_size | CERT EXP33-C
| 985 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 981 | virtual-sync.c | 985 | status.cache_fields
virtual-sync.c | 981 | virtual-sync.c | 985 | status.first_unseen_seq
virtual-sync.c | 981 | virtual-sync.c | 985 | status.highest_modseq
virtual-sync.c | 981 | virtual-sync.c | 985 | status.keywords
virtual-sync.c | 981 | virtual-sync.c | 985 | status.messages
virtual-sync.c | 981 | virtual-sync.c | 985 | status.nonpermanent_modseqs
virtual-sync.c | 981 | virtual-sync.c | 985 | status.recent
virtual-sync.c | 981 | virtual-sync.c | 985 | status.uidnext
virtual-sync.c | 981 | virtual-sync.c | 985 | status.uidvalidity
virtual-sync.c | 981 | virtual-sync.c | 985 | status.unseen
virtual-sync.c | 981 | virtual-sync.c | 985 | status.virtual_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_backend_box (1016 to 1068 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1063 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 1058 |  |
M | 1020 | Procedure contains UR data flow anomalies. : status.cache_fields | CERT EXP33-C
| 1046 |  |
M | 1020 | Procedure contains UR data flow anomalies. : status.first_unseen_seq | CERT EXP33-C
| 1046 |  |
M | 1020 | Procedure contains UR data flow anomalies. : status.highest_modseq | CERT EXP33-C
| 1046 |  |
M | 1020 | Procedure contains UR data flow anomalies. : status.keywords | CERT EXP33-C
| 1046 |  |
M | 1020 | Procedure contains UR data flow anomalies. : status.messages | CERT EXP33-C
| 1046 |  |
M | 1020 | Procedure contains UR data flow anomalies. : status.nonpermanent_modseqs | CERT EXP33-C
| 1046 |  |
M | 1020 | Procedure contains UR data flow anomalies. : status.recent | CERT EXP33-C
| 1046 |  |
M | 1020 | Procedure contains UR data flow anomalies. : status.uidnext | CERT EXP33-C
| 1046 |  |
M | 1020 | Procedure contains UR data flow anomalies. : status.uidvalidity | CERT EXP33-C
| 1046 |  |
M | 1020 | Procedure contains UR data flow anomalies. : status.unseen | CERT EXP33-C
| 1046 |  |
M | 1020 | Procedure contains UR data flow anomalies. : status.virtual_size | CERT EXP33-C
| 1046 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 1020 | virtual-sync.c | 1046 | status.cache_fields
virtual-sync.c | 1020 | virtual-sync.c | 1046 | status.first_unseen_seq
virtual-sync.c | 1020 | virtual-sync.c | 1046 | status.highest_modseq
virtual-sync.c | 1020 | virtual-sync.c | 1046 | status.keywords
virtual-sync.c | 1020 | virtual-sync.c | 1046 | status.messages
virtual-sync.c | 1020 | virtual-sync.c | 1046 | status.nonpermanent_modseqs
virtual-sync.c | 1020 | virtual-sync.c | 1046 | status.recent
virtual-sync.c | 1020 | virtual-sync.c | 1046 | status.uidnext
virtual-sync.c | 1020 | virtual-sync.c | 1046 | status.uidvalidity
virtual-sync.c | 1020 | virtual-sync.c | 1046 | status.unseen
virtual-sync.c | 1020 | virtual-sync.c | 1046 | status.virtual_size

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_backend_map_uids (1070 to 1153 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1095 | Pointer not checked for null before use : vrec | CERT EXP08-C,EXP34-C
| 1093 |  |
M | 1094 | Pointer not checked for null before use : vmails | CERT EXP08-C,EXP34-C
| 1089 |  |
M | 1104 | Pointer not checked for null before use : vmails | CERT EXP08-C,EXP34-C
| 1097 |  |
M | 1150 | Pointer not checked for null before use : uidmap | CERT EXP08-C,EXP34-C
| 1141 |  |
M | 1110 | Pointer not checked for null before use : uidmap | CERT EXP08-C,EXP34-C
| 1141 |  |
M | 1079 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 1091 |  |
M | 1080 | Procedure contains UR data flow anomalies. : vuid | CERT EXP33-C
| 1126 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 1079 | virtual-sync.c | 1091 | expunged
virtual-sync.c | 1080 | virtual-sync.c | 1126 | vuid

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_new_backend_boxes (1155 to 1177 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1167 | Pointer not checked for null before use : bboxes | CERT EXP08-C,EXP34-C
| 1165 |  |
M | 1173 | Pointer not checked for null before use : uidmap | CERT EXP08-C,EXP34-C
| 1171 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_backend_sort_new (1200 to 1226 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1216 | Pointer not checked for null before use : bbox | CERT EXP08-C,EXP34-C
| 1213 |  |
M | 1210 | Pointer not checked for null before use : adds | CERT EXP08-C,EXP34-C
| 1208 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_backend_add_new (1228 to 1291 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1287 | Pointer not checked for null before use : uidmap | CERT EXP08-C,EXP34-C
| 1286 |  |
M | 1265 | Pointer not checked for null before use : bbox | CERT EXP08-C,EXP34-C
| 1258 |  |
M | 1282 | Pointer not checked for null before use : bbox | CERT EXP08-C,EXP34-C
| 1278 |  |
M | 1243 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 1240 |  |
M | 1269 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 1240 |  |
M | 1236 | Procedure contains UR data flow anomalies. : idx | CERT EXP33-C
| 1282 |  |
M | 1237 | Procedure contains UR data flow anomalies. : saved_uids.arr.buffer | CERT EXP33-C
| 1271 |  |
M | 1237 | Procedure contains UR data flow anomalies. : saved_uids.arr.element_size | CERT EXP33-C
| 1271 |  |
M | 1237 | Procedure contains UR data flow anomalies. : saved_uids.v | CERT EXP33-C
| 1271 |  |
M | 1237 | Procedure contains UR data flow anomalies. : saved_uids.v_modifiable | CERT EXP33-C
| 1271 |  |
M | 1238 | Procedure contains UR data flow anomalies. : vseq | CERT EXP33-C
| 1262 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 1236 | virtual-sync.c | 1282 | idx
virtual-sync.c | 1237 | virtual-sync.c | 1271 | saved_uids.arr.buffer
virtual-sync.c | 1237 | virtual-sync.c | 1271 | saved_uids.arr.element_size
virtual-sync.c | 1237 | virtual-sync.c | 1271 | saved_uids.v
virtual-sync.c | 1237 | virtual-sync.c | 1271 | saved_uids.v_modifiable
virtual-sync.c | 1238 | virtual-sync.c | 1262 | vseq

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_apply_existing_appends (1293 to 1344 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1309 | Pointer not checked for null before use : hdr | CERT EXP08-C,EXP34-C
| 1308 |  |
M | 1324 | Pointer not checked for null before use : vrec | CERT EXP08-C,EXP34-C
| 1323 |  |
M | 1302 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 1321 |  |
M | 1303 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 1314 |  |
M | 1303 | Procedure contains UR data flow anomalies. : seq2 | CERT EXP33-C
| 1314 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 1302 | virtual-sync.c | 1321 | expunged
virtual-sync.c | 1303 | virtual-sync.c | 1314 | seq
virtual-sync.c | 1303 | virtual-sync.c | 1314 | seq2

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_apply_existing_expunges (1346 to 1378 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1372 | Pointer not checked for null before use : bbox | CERT EXP08-C,EXP34-C
| 1370 |  |
M | 1369 | Pointer not checked for null before use : vrec | CERT EXP08-C,EXP34-C
| 1367 |  |
M | 1370 | Pointer not checked for null before use : vrec | CERT EXP08-C,EXP34-C
| 1367 |  |
M | 1356 | Procedure contains UR data flow anomalies. : expunged | CERT EXP33-C
| 1365 |  |
M | 1353 | Procedure contains UR data flow anomalies. : iter.array | CERT EXP33-C
| 1364 |  |
M | 1353 | Procedure contains UR data flow anomalies. : iter.prev_idx | CERT EXP33-C
| 1363 |  |
M | 1353 | Procedure contains UR data flow anomalies. : iter.prev_n | CERT EXP33-C
| 1364 |  |
M | 1358 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C
| 1364 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
virtual-sync.c | 1356 | virtual-sync.c | 1365 | expunged
virtual-sync.c | 1353 | virtual-sync.c | 1364 | iter.array
virtual-sync.c | 1353 | virtual-sync.c | 1363 | iter.prev_idx
virtual-sync.c | 1353 | virtual-sync.c | 1364 | iter.prev_n
virtual-sync.c | 1358 | virtual-sync.c | 1364 | seq

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_backend_boxes (1380 to 1409 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1391 | Pointer not checked for null before use : bboxes | CERT EXP08-C,EXP34-C
| 1389 |  |
M | 1407 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 1388 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync_backend_boxes_finish (1411 to 1419 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1418 | Pointer not checked for null before use : bboxes | CERT EXP08-C,EXP34-C
| 1416 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_sync (1447 to 1493 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1482 | Attempt to use already freed object. | CERT MEM31-C
M | 1484 | Attempt to use already freed object. | CERT MEM31-C
M | 1489 | Attempt to use already freed object. | CERT MEM31-C
M | 1492 | Attempt to use already freed object. | CERT MEM31-C
M | 1455 | Pointer not checked for null before use : ctx | CERT EXP08-C,EXP34-C
| 1454 |  |
M | 1454 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 840) |  |
M | 1489 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1488 |  |
M | 1492 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1488 |  |
M | 1491 | Pointer not checked for null before use : ctx.(mbox)->prev_change_counter | CERT EXP08-C,EXP34-C
| 1480 |  |
M | 1491 | Pointer not checked for null before use : ctx.(mbox)->highest_mailbox_id | CERT EXP08-C,EXP34-C
| 1480 |  |
M | 1491 | Pointer not checked for null before use : ctx.ext_header_changed | CERT EXP08-C,EXP34-C
| 1488 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_storage_sync_init (1495 to 1513 virtual-sync.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 1511 | Pointer not checked for null before use : sync_ctx | CERT EXP08-C,EXP34-C
| 1510 |  |
M | 1511 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| 1508 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_transaction_get (8 to 26 virtual-transaction.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 24 | Pointer not checked for null before use : new_bt | CERT EXP08-C,EXP34-C
| 23 |  |
M | 19 | Pointer not checked for null before use : bt | CERT EXP08-C,EXP34-C
| 17 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_transaction_begin (28 to 40 virtual-transaction.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 36 | Pointer not checked for null before use : vt | CERT EXP08-C,EXP34-C
| 35 |  |
M | 36 | Pointer not checked for null before use : (arr)->buffer | CERT EXP08-C,EXP34-C
| 36 |  |
M | 36 | Pointer not checked for null before use : (arr)->element_size | CERT EXP08-C,EXP34-C
| 36 |  |
M | 35 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 841) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_transaction_commit (42 to 66 virtual-transaction.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 58 | Pointer not checked for null before use : bt | CERT EXP08-C,EXP34-C
| 56 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

virtual_transaction_rollback (68 to 86 virtual-transaction.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 82 | Pointer not checked for null before use : bt | CERT EXP08-C,EXP34-C
| 80 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

is_compressed_zlib (58 to 72 zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 60 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 67 |  |
M | 61 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 67 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
zlib-plugin.c | 60 | zlib-plugin.c | 67 | data
zlib-plugin.c | 61 | zlib-plugin.c | 67 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

is_compressed_bzlib (74 to 88 zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 76 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C
| 79 |  |
M | 77 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C
| 79 |  |

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
zlib-plugin.c | 76 | zlib-plugin.c | 79 | data
zlib-plugin.c | 77 | zlib-plugin.c | 79 | size

[ | Top of Report | | | Procedure Table | | | Contents | ]

zlib_permail_get_stream (129 to 169 zlib-plugin.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 : input | CERT EXP08-C,EXP34-C
| 164 |  |
M | 146 | Pointer not checked for null before use : zuser | CERT EXP08-C,EXP34-C
| 134 |  |
M | 138 | Procedure contains UR data flow anomalies. : input | CERT EXP33-C
| 151 |  |
M | 135 | Declaration types do not match across a system. : mail | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
zlib-plugin.c | 138 | zlib-plugin.c | 151 | input

[ | Top of Report | | | Procedure Table | | | Contents | ]

zlib_mail_allocated (171 to 187 zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 182 | Pointer not checked for null before use : zmail | CERT EXP08-C,EXP34-C
| 181 |  |
M | 174 | Declaration types do not match across a system. : mail | CERT ARR31-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

zlib_mailbox_transaction_begin (189 to 203 zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 197 | Pointer not checked for null before use : zbox | CERT EXP08-C,EXP34-C
| 193 |  |
M | 201 | Pointer not checked for null before use : t | CERT EXP08-C,EXP34-C
| 197 |  |
M | 201 | Pointer not checked for null before use : zt | CERT EXP08-C,EXP34-C
| 199 |  |
M | 199 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C
| Ref. Line -1101 (Module 846) |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

zlib_mailbox_transaction_rollback (205 to 216 zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 211 | Pointer not checked for null before use : zt | CERT EXP08-C,EXP34-C
| 209 |  |
M | 214 | Pointer not checked for null before use : zbox | CERT EXP08-C,EXP34-C
| 208 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

zlib_mailbox_transaction_commit (218 to 232 zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 226 | Pointer not checked for null before use : zt | CERT EXP08-C,EXP34-C
| 223 |  |
M | 229 | Pointer not checked for null before use : zbox | CERT EXP08-C,EXP34-C
| 222 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

zlib_mail_save_begin (234 to 250 zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 242 | Pointer not checked for null before use : zt | CERT EXP08-C,EXP34-C
| 238 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

zlib_mail_save_finish (252 to 270 zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Violation | Standard
--- | --- | ---
M | Procedure contains UR data flow anomalies. | CERT EXP33-C

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 258 | Pointer not checked for null before use : zbox | CERT EXP08-C,EXP34-C
| 255 |  |
M | 256 | Procedure contains UR data flow anomalies. : input | CERT EXP33-C
| 261 |  |
M | 254 | Declaration types do not match across a system. : box | CERT ARR31-C

#### Possible UR Anomalies

The following variables may be referenced before being given a value

File | Undefine | File | Reference | Variable
--- | --- | --- | --- | ---
zlib-plugin.c | 256 | zlib-plugin.c | 261 | input

[ | Top of Report | | | Procedure Table | | | Contents | ]

zlib_mail_save_compress_begin (272 to 290 zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 281 | Pointer not checked for null before use : zbox | CERT EXP08-C,EXP34-C
| 278 |  |
M | 287 | Pointer not checked for null before use : output | CERT EXP08-C,EXP34-C
| 284 |  |
M | 284 | Pointer not checked for null before use : zuser | CERT EXP08-C,EXP34-C
| 277 |  |
M | 276 | Declaration types do not match across a system. : box | CERT ARR31-C

[ | Top of Report | | | Procedure Table | | | Contents | ]

zlib_permail_alloc_init (292 to 306 zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 300 | Pointer not checked for null before use : zuser | CERT EXP08-C,EXP34-C
| 295 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

zlib_mailbox_open_input (308 to 334 zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 328 | Pointer not checked for null before use : input | CERT EXP08-C,EXP34-C
| 327 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

zlib_mailbox_allocated (350 to 366 zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 356 | Pointer not checked for null before use : zbox | CERT EXP08-C,EXP34-C
| 355 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

zlib_mail_user_created (368 to 392 zlib-plugin.c) - FAIL

#### Standards Violation Summary

Code | Line | Violation | Standard
--- | --- | --- | ---
M | 377 | Pointer not checked for null before use : zuser | CERT EXP08-C,EXP34-C
| 373 |  |

[ | Top of Report | | | Procedure Table | | | Contents | ]

### End of Code Review Report

###

### Copyright © 2010 Liverpool Data Research Associates