| Overall Result: FAIL |
|---|
| Report Production | Report Configuration | Analysis phases |
|---|---|---|
|
|
|
| Number of Violations | LDRA Code | (M) Mandatory Standards | CERT Code |
|---|---|---|---|
| 76 | 77 S | Macro replacement list needs parentheses. | CERT PRE02-C |
| 48 | 78 S | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| 2 | 403 S | Negative (or potentially negative) shift. | CERT INT34-C |
| 3 | 483 S | free parameter is not heap item. | CERT MEM34-C |
| 11 | 484 S | Attempt to use already freed object. | CERT MEM31-C |
| 2 | 577 S | Sizeof argument is a pointer. | CERT EXP01-C |
| 34 | 5 D | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| 150 | 45 D | Pointer not checked for null before use | CERT EXP08-C,EXP34-C |
| 7 | 50 D | Memory not freed after last reference. | CERT MEM00-C |
| 15 | 51 D | Attempt to read from freed memory. | CERT MEM30-C |
| 13 | 57 D | Global not initialised at declaration. | CERT EXP33-C |
| 112 | 69 D | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| 18 | 77 D | Local structure returned in function result | |
| 1 | 86 D | User input not checked before use. | CERT FIO30-C |
| 37 | 1 X | Declaration types do not match across a system. | CERT ARR31-C |
| Number of Violations | LDRA Code | (C) Checking (Mandatory) Standards | CERT Code |
|---|---|---|---|
| 10 | 76 D | Procedure not called in code analysed |
| Number of Violations | LDRA Code | (O) Optional Standards | CERT Code |
|---|---|---|---|
| 3 | 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 |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Name | Last Modification Date |
|---|---|
| C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\director\user-directory.c | Mon Jun 21 19:00:04 2010 |
| C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\director\notify-connection.c | Tue May 25 19:00:04 2010 |
| C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\director\main.c | Thu Jun 24 19:00:04 2010 |
| C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\director\mail-host.c | Fri Jun 18 19:00:04 2010 |
| C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\director\login-connection.c | Mon May 31 19:00:04 2010 |
| C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\director\doveadm-connection.c | Thu Jun 24 19:00:04 2010 |
| C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\director\director.c | Thu Jun 24 19:00:04 2010 |
| C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\director\director-test.c | Thu Jun 24 19:00:04 2010 |
| C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\director\director-settings.c | Fri Jun 25 08:22:16 2010 |
| C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\director\director-request.c | Thu Jun 24 19:00:04 2010 |
| C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\director\director-host.c | Thu Jun 17 19:00:06 2010 |
| C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\director\director-connection.c | Thu Jun 24 19:00:04 2010 |
| C:\Code\SAMATE\SATE2010\dovecot-2.0.beta6.20100626\dovecot-2.0.beta6\src\director\auth-connection.c | Thu Jun 24 19:00:04 2010 |
| Number of procedures: | 187 |
| Number of locally uncalled procedures: | 0 |
| Maximum loop depth: | 2 |
| Total Cyclomatic Complexity: | 557 |
| Number of reformatted executable lines: | 6495 |
| Number of lines of comments: | 9730 |
| Globals / code outside procedures - FAIL |
|---|
| Code | File: Src Line | Violation | Standard |
|---|---|---|---|
| M | compat.h: 214 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | compat.h: 215 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | compat.h: 216 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | compat.h: 217 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | compat.h: 218 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | compat.h: 219 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | compat.h: 220 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | compat.h: 221 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | compat.h: 222 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | compat.h: 223 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | compat.h: 224 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | compat.h: 225 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | compat.h: 226 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | macros.h: 196 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | macros.h: 197 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | macros.h: 204 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | macros.h: 204 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | macros.h: 205 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | macros.h: 205 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | macros.h: 223 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | macros.h: 223 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | macros.h: 232 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | data-stack.h: 49 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | data-stack.h: 51 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | data-stack.h: 75 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | data-stack.h: 85 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | data-stack.h: 90 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | data-stack.h: 90 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | data-stack.h: 97 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | mempool.h: 84 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | mempool.h: 87 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | mempool.h: 88 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | mempool.h: 99 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | mempool.h: 99 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | mempool.h: 102 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | mempool.h: 102 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | imem.h: 8 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | imem.h: 8 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | imem.h: 14 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | imem.h: 14 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | imem.h: 15 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | imem.h: 15 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array-decl.h: 4 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array-decl.h: 4 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array-decl.h: 7 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array-decl.h: 7 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array-decl.h: 9 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array-decl.h: 9 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | ioloop.h: 50 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | ioloop.h: 50 | Macro replacement list needs parentheses. | CERT PRE02-C |
| Code | File: Src Line | Violation | Standard |
|---|---|---|---|
| M | ioloop.h: 56 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | ioloop.h: 75 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | ioloop.h: 75 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | istream.h: 53 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | istream.h: 53 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | ostream.h: 61 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | ostream.h: 61 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | llist.h: 5 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | llist.h: 12 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | llist.h: 25 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | llist.h: 25 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | llist.h: 32 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | llist.h: 32 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | llist.h: 39 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | auth-connection.c: 28 | Global not initialised at declaration. : auth_connections | CERT EXP33-C |
| M | array.h: 35 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 35 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 37 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 37 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 39 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 39 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 53 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 58 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 58 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 62 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 62 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 90 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 90 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 102 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 102 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 110 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 118 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 126 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 134 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 143 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 143 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 153 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 164 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 164 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 174 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 174 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 183 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 183 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 192 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 192 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 201 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 201 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 206 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | array.h: 206 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | array.h: 211 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| Code | File: Src Line | Violation | Standard |
|---|---|---|---|
| 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 | settings-parser.h: 46 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | settings-parser.h: 46 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | settings-parser.h: 50 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | settings-parser.h: 50 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | settings-parser.h: 54 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | settings-parser.h: 54 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | settings-parser.h: 58 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | settings-parser.h: 58 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | settings-parser.h: 62 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | settings-parser.h: 62 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | director-settings.c: 18 | Sizeof argument is a pointer. | CERT EXP01-C |
| M | director-settings.c: 28 | Sizeof argument is a pointer. | CERT EXP01-C |
| M | director-settings.c: 61 | Macro parameter not in brackets. | CERT PRE01-C,PRE02-C |
| M | director-settings.c: 61 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | imap-arg.h: 51 | Macro replacement list needs parentheses. | CERT PRE02-C |
| M | director-test.c: 90 | Global not initialised at declaration. : imap_clients | CERT EXP33-C |
| M | director-test.c: 91 | Global not initialised at declaration. : director_connections | CERT EXP33-C |
| M | director-test.c: 92 | Global not initialised at declaration. : users | CERT EXP33-C |
| M | director-test.c: 93 | Global not initialised at declaration. : hosts | CERT EXP33-C |
| M | director-test.c: 94 | Global not initialised at declaration. : hosts_array | CERT EXP33-C |
| M | director-test.c: 95 | Global not initialised at declaration. : admin | CERT EXP33-C |
| M | director-test.c: 96 | Global not initialised at declaration. : to_disconnect | CERT EXP33-C |
| M | director-test.c: 94 | Procedure contains UR data flow anomalies. : hosts_array.arr.buffer | CERT EXP33-C |
| 597 | |||
| M | director-test.c: 94 | Procedure contains UR data flow anomalies. : hosts_array.arr.element_size | CERT EXP33-C |
| 597 | |||
| M | director-test.c: 94 | Procedure contains UR data flow anomalies. : hosts_array.v | CERT EXP33-C |
| 597 | |||
| M | director-test.c: 94 | Procedure contains UR data flow anomalies. : hosts_array.v_modifiable | CERT EXP33-C |
| 597 | |||
| M | ioloop.h: 38 | Procedure contains UR data flow anomalies. : ioloop_time | CERT EXP33-C |
| 33 | |||
| M | doveadm-connection.c: 38 | Global not initialised at declaration. : doveadm_connections | CERT EXP33-C |
| M | login-connection.c: 35 | Global not initialised at declaration. : login_connections | CERT EXP33-C |
| M | main.c: 25 | Global not initialised at declaration. : director | CERT EXP33-C |
| M | main.c: 26 | Global not initialised at declaration. : notify_conn | CERT EXP33-C |
| M | main.c: 27 | Global not initialised at declaration. : auth_socket_path | CERT EXP33-C |
| M | main.c: 218 | Memory not freed after last reference. : auth_socket_path | CERT MEM00-C |
| Code | File: Src Line | Violation | Standard |
|---|---|---|---|
| M | main.c: 26 | Procedure contains UR data flow anomalies. : notify_conn | CERT EXP33-C |
| 214 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| auth_connection_init (59 to 68 auth-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 67 | Local structure returned in function result : conn | |
| M | 64 | Pointer not checked for null before use : conn | CERT EXP08-C,EXP34-C |
| 63 | |||
| M | 63 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 269) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| auth_connection_deinit (94 to 111 auth-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 110 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 109 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| array_create_i (93 to 101 array.h analysed in director-connection.c) - FAIL |
|---|
| 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 | ] |
|---|
| director_cmd_me (88 to 173 director-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 115 | Pointer not checked for null before use : host | CERT EXP08-C,EXP34-C |
| 108 | |||
| M | 154 | Pointer not checked for null before use : connect_str | CERT EXP08-C,EXP34-C |
| 120 | |||
| M | 139 | Pointer not checked for null before use : (conn)->name | CERT EXP08-C,EXP34-C |
| 115 | |||
| M | 133 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 114 | |||
| M | 156 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 114 | |||
| M | 170 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 156 | |||
| M | 133 | Attempt to read from freed memory. : default_pool | CERT MEM30-C |
| M | 156 | Attempt to read from freed memory. : default_pool | CERT MEM30-C |
| M | 170 | Attempt to read from freed memory. : default_pool | CERT MEM30-C |
| M | 94 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 105 | |||
| M | 94 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 105 | |||
| M | 94 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 105 | |||
| M | 95 | Procedure contains UR data flow anomalies. : port | CERT EXP33-C |
| 97 | |||
| M | 94 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| M | 95 | Declaration types do not match across a system. : port | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-connection.c | 94 | director-connection.c | 105 | ip.family |
| director-connection.c | 94 | director-connection.c | 105 | ip.u.ip4 |
| director-connection.c | 94 | director-connection.c | 105 | ip.u.ip6 |
| director-connection.c | 95 | director-connection.c | 97 | port |
| director-connection.c | 95 | director-connection.c | 105 | port |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_user_refresh (175 to 215 director-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 185 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 183 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_handshake_cmd_user (217 to 244 director-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 222 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 235 | |||
| M | 222 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 235 | |||
| M | 222 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 235 | |||
| M | 221 | Procedure contains UR data flow anomalies. : timestamp | CERT EXP33-C |
| 229 | |||
| M | 221 | Procedure contains UR data flow anomalies. : username_hash | CERT EXP33-C |
| 227 | |||
| M | 222 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-connection.c | 222 | director-connection.c | 235 | ip.family |
| director-connection.c | 222 | director-connection.c | 235 | ip.u.ip4 |
| director-connection.c | 222 | director-connection.c | 235 | ip.u.ip6 |
| director-connection.c | 221 | director-connection.c | 229 | timestamp |
| director-connection.c | 221 | director-connection.c | 242 | timestamp |
| director-connection.c | 221 | director-connection.c | 227 | username_hash |
| director-connection.c | 221 | director-connection.c | 242 | username_hash |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_cmd_user (246 to 271 director-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 250 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 261 | |||
| M | 250 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 261 | |||
| M | 250 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 261 | |||
| M | 252 | Procedure contains UR data flow anomalies. : user | CERT EXP33-C |
| 269 | |||
| M | 249 | Procedure contains UR data flow anomalies. : username_hash | CERT EXP33-C |
| 255 | |||
| M | 250 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-connection.c | 250 | director-connection.c | 261 | ip.family |
| director-connection.c | 250 | director-connection.c | 261 | ip.u.ip4 |
| director-connection.c | 250 | director-connection.c | 261 | ip.u.ip6 |
| director-connection.c | 252 | director-connection.c | 269 | user |
| director-connection.c | 249 | director-connection.c | 255 | username_hash |
| director-connection.c | 249 | director-connection.c | 267 | username_hash |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_cmd_director (273 to 294 director-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 277 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 283 | |||
| M | 277 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 283 | |||
| M | 277 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 283 | |||
| M | 278 | Procedure contains UR data flow anomalies. : port | CERT EXP33-C |
| 280 | |||
| M | 277 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| M | 278 | Declaration types do not match across a system. : port | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-connection.c | 277 | director-connection.c | 283 | ip.family |
| director-connection.c | 277 | director-connection.c | 283 | ip.u.ip4 |
| director-connection.c | 277 | director-connection.c | 283 | ip.u.ip6 |
| director-connection.c | 278 | director-connection.c | 280 | port |
| director-connection.c | 278 | director-connection.c | 283 | port |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_cmd_host_hand_start (296 to 323 director-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 315 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C |
| M | 315 | Pointer not checked for null before use : hostp | CERT EXP08-C,EXP34-C |
| 314 | |||
| M | 313 | Pointer not checked for null before use : hosts | CERT EXP08-C,EXP34-C |
| 312 | |||
| M | 302 | Procedure contains UR data flow anomalies. : remote_ring_completed | CERT EXP33-C |
| 304 | |||
| M | 300 | Declaration types do not match across a system. : hosts | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-connection.c | 302 | director-connection.c | 304 | remote_ring_completed |
| director-connection.c | 302 | director-connection.c | 310 | remote_ring_completed |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_cmd_is_seen (325 to 360 director-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 350 | Procedure contains UR data flow anomalies. : dir_host | CERT EXP33-C |
| 422 | |||
| M | 331 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 345 | |||
| M | 331 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 345 | |||
| M | 331 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 345 | |||
| M | 332 | Procedure contains UR data flow anomalies. : port | CERT EXP33-C |
| 337 | |||
| M | 332 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C |
| 338 | |||
| M | 331 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| M | 332 | Declaration types do not match across a system. : port | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-connection.c | 331 | director-connection.c | 345 | ip.family |
| director-connection.c | 331 | director-connection.c | 345 | ip.u.ip4 |
| director-connection.c | 331 | director-connection.c | 345 | ip.u.ip6 |
| director-connection.c | 332 | director-connection.c | 337 | port |
| director-connection.c | 332 | director-connection.c | 345 | port |
| director-connection.c | 332 | director-connection.c | 338 | seq |
| director-connection.c | 332 | director-connection.c | 352 | seq |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_cmd_host_int (362 to 398 director-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 393 | Pointer not checked for null before use : host | CERT EXP08-C,EXP34-C |
| 386 | |||
| M | 367 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 384 | |||
| M | 367 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 384 | |||
| M | 367 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 384 | |||
| M | 368 | Procedure contains UR data flow anomalies. : vhost_count | CERT EXP33-C |
| 373 | |||
| M | 367 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| M | 368 | Declaration types do not match across a system. : vhost_count | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-connection.c | 367 | director-connection.c | 384 | ip.family |
| director-connection.c | 367 | director-connection.c | 384 | ip.u.ip4 |
| director-connection.c | 367 | director-connection.c | 384 | ip.u.ip6 |
| director-connection.c | 368 | director-connection.c | 373 | vhost_count |
| director-connection.c | 368 | director-connection.c | 389 | vhost_count |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_cmd_host_handshake (400 to 405 director-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 404 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_cmd_host (407 to 416 director-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 415 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C |
| 413 | |||
| M | 415 | Pointer not checked for null before use : dir_host | CERT EXP08-C,EXP34-C |
| 413 | |||
| M | 410 | Procedure contains UR data flow anomalies. : dir_host | CERT EXP33-C |
| 413 |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-connection.c | 410 | director-connection.c | 413 | dir_host |
| director-connection.c | 350 | director-connection.c | 415 | dir_host |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_cmd_host_remove (418 to 440 director-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 430 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C |
| 427 | |||
| M | 438 | Pointer not checked for null before use : dir_host | CERT EXP08-C,EXP34-C |
| 427 | |||
| M | 440 | Memory not freed after last reference. : host | CERT MEM00-C |
| M | 422 | Procedure contains UR data flow anomalies. : dir_host | CERT EXP33-C |
| 427 | |||
| M | 424 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 436 | |||
| M | 424 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 436 | |||
| M | 424 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 436 | |||
| M | 424 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-connection.c | 422 | director-connection.c | 427 | dir_host |
| director-connection.c | 350 | director-connection.c | 438 | dir_host |
| director-connection.c | 424 | director-connection.c | 436 | ip.family |
| director-connection.c | 424 | director-connection.c | 436 | ip.u.ip4 |
| director-connection.c | 424 | director-connection.c | 436 | ip.u.ip6 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_cmd_host_flush (442 to 466 director-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 455 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C |
| 452 | |||
| M | 464 | Pointer not checked for null before use : dir_host | CERT EXP08-C,EXP34-C |
| 452 | |||
| M | 446 | Procedure contains UR data flow anomalies. : dir_host | CERT EXP33-C |
| 452 | |||
| M | 448 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 462 | |||
| M | 448 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 462 | |||
| M | 448 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 462 | |||
| M | 449 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C |
| 457 | |||
| M | 448 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-connection.c | 446 | director-connection.c | 452 | dir_host |
| director-connection.c | 350 | director-connection.c | 464 | dir_host |
| director-connection.c | 448 | director-connection.c | 462 | ip.family |
| director-connection.c | 448 | director-connection.c | 462 | ip.u.ip4 |
| director-connection.c | 448 | director-connection.c | 462 | ip.u.ip6 |
| director-connection.c | 449 | director-connection.c | 457 | seq |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_handle_handshake (506 to 592 director-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 548 | Pointer not checked for null before use : host | CERT EXP08-C,EXP34-C |
| 547 | |||
| M | 511 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 547 | |||
| M | 511 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 547 | |||
| M | 511 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 547 | |||
| M | 512 | Procedure contains UR data flow anomalies. : port | CERT EXP33-C |
| 543 | |||
| M | 511 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| M | 512 | Declaration types do not match across a system. : port | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-connection.c | 511 | director-connection.c | 547 | ip.family |
| director-connection.c | 511 | director-connection.c | 547 | ip.u.ip4 |
| director-connection.c | 511 | director-connection.c | 547 | ip.u.ip6 |
| director-connection.c | 512 | director-connection.c | 543 | port |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_sync (594 to 644 director-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 599 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 611 | |||
| M | 599 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 611 | |||
| M | 599 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 611 | |||
| M | 600 | Procedure contains UR data flow anomalies. : port | CERT EXP33-C |
| 603 | |||
| M | 600 | Procedure contains UR data flow anomalies. : seq | CERT EXP33-C |
| 604 | |||
| M | 599 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| M | 600 | Declaration types do not match across a system. : port | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-connection.c | 599 | director-connection.c | 611 | ip.family |
| director-connection.c | 599 | director-connection.c | 611 | ip.u.ip4 |
| director-connection.c | 599 | director-connection.c | 611 | ip.u.ip6 |
| director-connection.c | 600 | director-connection.c | 603 | port |
| director-connection.c | 600 | director-connection.c | 611 | port |
| director-connection.c | 600 | director-connection.c | 604 | seq |
| director-connection.c | 600 | director-connection.c | 616 | seq |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_cmd_connect (646 to 694 director-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 651 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 660 | |||
| M | 651 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 660 | |||
| M | 651 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 660 | |||
| M | 652 | Procedure contains UR data flow anomalies. : port | CERT EXP33-C |
| 655 | |||
| M | 651 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| M | 652 | Declaration types do not match across a system. : port | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-connection.c | 651 | director-connection.c | 660 | ip.family |
| director-connection.c | 651 | director-connection.c | 660 | ip.u.ip4 |
| director-connection.c | 651 | director-connection.c | 660 | ip.u.ip6 |
| director-connection.c | 652 | director-connection.c | 655 | port |
| director-connection.c | 652 | director-connection.c | 660 | port |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_handle_line (708 to 758 director-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 715 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C |
| 714 | |||
| M | 730 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C |
| 715 | |||
| M | 741 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C |
| 715 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_input (760 to 798 director-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 793 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 789 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_send_users (824 to 863 director-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 844 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C |
| 840 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_init_common (885 to 901 director-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 900 | Local structure returned in function result : conn | |
| M | 891 | Pointer not checked for null before use : conn | CERT EXP08-C,EXP34-C |
| 890 | |||
| M | 890 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 270) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_init_in (912 to 926 director-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 925 | Local structure returned in function result : conn | |
| M | 919 | Pointer not checked for null before use : conn | CERT EXP08-C,EXP34-C |
| 918 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_connected (928 to 967 director-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 960 | Pointer not checked for null before use : (conn)->name | CERT EXP08-C,EXP34-C |
| 956 | |||
| M | 963 | Pointer not checked for null before use : (conn)->name | CERT EXP08-C,EXP34-C |
| 956 | |||
| M | 965 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 955 | |||
| M | 965 | Attempt to read from freed memory. : default_pool | CERT MEM30-C |
| M | 966 | Pointer not checked for null before use : (conn)->name | CERT EXP08-C,EXP34-C |
| 956 | |||
| M | 961 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C |
| 931 | |||
| M | 955 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 952 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_init_out (969 to 986 director-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 985 | Local structure returned in function result : conn | |
| M | 979 | Pointer not checked for null before use : conn | CERT EXP08-C,EXP34-C |
| 978 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_deinit (988 to 1024 director-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 1017 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 1016 | |||
| M | 1017 | Attempt to read from freed memory. : default_pool | CERT MEM30-C |
| M | 1017 | Pointer not checked for null before use : (conn)->name | CERT EXP08-C,EXP34-C |
| 1016 | |||
| M | 1016 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 1002 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_disconnected (1026 to 1034 director-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 1033 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 1031 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_find_outgoing (1102 to 1113 director-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 1110 | Local structure returned in function result : conn |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_host_add (25 to 42 director-host.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 41 | Local structure returned in function result : host | |
| M | 32 | Pointer not checked for null before use : host | CERT EXP08-C,EXP34-C |
| 31 | |||
| M | 31 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 271) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_host_free (44 to 48 director-host.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 47 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 46 | |||
| M | 47 | Pointer not checked for null before use : (host)->name | CERT EXP08-C,EXP34-C |
| 46 | |||
| M | 46 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 271) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_host_add_string (109 to 129 director-host.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 124 | Pointer not checked for null before use : host | CERT EXP08-C,EXP34-C |
| 119 | |||
| M | 111 | Procedure contains UR data flow anomalies. : ips | CERT EXP33-C |
| 124 | |||
| M | 112 | Procedure contains UR data flow anomalies. : ips_count | CERT EXP33-C |
| 124 | |||
| M | 112 | Procedure contains UR data flow anomalies. : port | CERT EXP33-C |
| 117 | |||
| M | 112 | Declaration types do not match across a system. : port | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-host.c | 111 | director-host.c | 124 | ips |
| director-host.c | 112 | director-host.c | 124 | ips_count |
| director-host.c | 112 | director-host.c | 117 | port |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_host_add_from_string (131 to 149 director-host.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 137 | Pointer not checked for null before use : tmp | CERT EXP08-C,EXP34-C |
| 136 | |||
| M | 143 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 145 | |||
| M | 143 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 145 | |||
| M | 143 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 145 | |||
| M | 143 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-host.c | 143 | director-host.c | 145 | ip.family |
| director-host.c | 143 | director-host.c | 145 | ip.u.ip4 |
| director-host.c | 143 | director-host.c | 145 | ip.u.ip6 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_request_timeout (24 to 43 director-request.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 30 | Pointer not checked for null before use : requestp | CERT EXP08-C,EXP34-C |
| 29 | |||
| M | 32 | Pointer not checked for null before use : request | CERT EXP08-C,EXP34-C |
| 30 | |||
| M | 43 | Memory not freed after last reference. : request | CERT MEM00-C |
| M | 38 | Attempt to read from freed memory. : default_pool | CERT MEM30-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_request (45 to 68 director-request.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 52 | Pointer not checked for null before use : request | CERT EXP08-C,EXP34-C |
| 51 | |||
| M | 51 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 272) | |||
| M | 67 | Pointer not checked for null before use : request | CERT EXP08-C,EXP34-C |
| 58 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_request_continue (92 to 127 director-request.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 123 | Pointer not checked for null before use : user | CERT EXP08-C,EXP34-C |
| 119 | |||
| M | 125 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 104 | |||
| M | 119 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 104 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| host_unref (102 to 113 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 112 | free parameter is not heap item. | CERT MEM34-C |
| M | 113 | Memory not freed after last reference. : host | CERT MEM00-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| client_username_check (115 to 157 director-test.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 132 | Attempt to use already freed object. | CERT MEM31-C |
| M | 133 | Attempt to use already freed object. | CERT MEM31-C |
| M | 141 | Attempt to use already freed object. | CERT MEM31-C |
| M | 144 | Attempt to use already freed object. | CERT MEM31-C |
| M | 145 | Attempt to use already freed object. | CERT MEM31-C |
| M | 129 | Pointer not checked for null before use : host | CERT EXP08-C,EXP34-C |
| 128 | |||
| M | 139 | Pointer not checked for null before use : user | CERT EXP08-C,EXP34-C |
| 138 | |||
| M | 119 | Procedure contains UR data flow anomalies. : local_ip.family | CERT EXP33-C |
| 124 | |||
| M | 119 | Procedure contains UR data flow anomalies. : local_ip.u.ip4 | CERT EXP33-C |
| 124 | |||
| M | 119 | Procedure contains UR data flow anomalies. : local_ip.u.ip6 | CERT EXP33-C |
| 124 |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-test.c | 119 | director-test.c | 124 | local_ip.family |
| director-test.c | 119 | director-test.c | 124 | local_ip.u.ip4 |
| director-test.c | 119 | director-test.c | 124 | local_ip.u.ip6 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| user_free (159 to 167 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 166 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 165 | |||
| M | 166 | Attempt to read from freed memory. : default_pool | CERT MEM30-C |
| M | 166 | Pointer not checked for null before use : (user)->username | CERT EXP08-C,EXP34-C |
| 165 | |||
| M | 165 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 161 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| imap_client_parse_input (169 to 219 director-test.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 172 | Procedure contains UR data flow anomalies. : args | CERT EXP33-C |
| 175 | |||
| M | 171 | Procedure contains UR data flow anomalies. : cmd | CERT EXP33-C |
| 186 | |||
| M | 171 | Procedure contains UR data flow anomalies. : str | CERT EXP33-C |
| 194 | |||
| M | 171 | Procedure contains UR data flow anomalies. : tag | CERT EXP33-C |
| 182 |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-test.c | 172 | director-test.c | 175 | args |
| director-test.c | 171 | director-test.c | 186 | cmd |
| director-test.c | 171 | director-test.c | 194 | str |
| director-test.c | 171 | director-test.c | 182 | tag |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| imap_client_input (221 to 242 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 240 | Pointer not checked for null before use : client | CERT EXP08-C,EXP34-C |
| 237 | |||
| M | 240 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 237 | |||
| C | 221 | Procedure not called in code analysed : imap_client_input |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| imap_client_create (244 to 258 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 249 | Pointer not checked for null before use : client | CERT EXP08-C,EXP34-C |
| 248 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| imap_client_destroy (260 to 287 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 284 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 283 | |||
| M | 284 | Attempt to read from freed memory. : default_pool | CERT MEM30-C |
| M | 284 | Pointer not checked for null before use : (client)->username | CERT EXP08-C,EXP34-C |
| 283 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_input (289 to 311 director-test.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 293 | Procedure contains UR data flow anomalies. : data | CERT EXP33-C |
| 296 | |||
| M | 294 | Procedure contains UR data flow anomalies. : size | CERT EXP33-C |
| 296 |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-test.c | 293 | director-test.c | 296 | data |
| director-test.c | 294 | director-test.c | 296 | size |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_in_input (313 to 316 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| C | 313 | Procedure not called in code analysed : director_connection_in_input |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_out_input (318 to 321 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| C | 318 | Procedure not called in code analysed : director_connection_out_input |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_timeout (323 to 330 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| C | 323 | Procedure not called in code analysed : director_connection_timeout |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_create (332 to 358 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 345 | Pointer not checked for null before use : conn | CERT EXP08-C,EXP34-C |
| 344 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| client_connected (384 to 401 director-test.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 386 | Procedure contains UR data flow anomalies. : local_ip.family | CERT EXP33-C |
| 395 | |||
| M | 386 | Procedure contains UR data flow anomalies. : local_ip.u.ip4 | CERT EXP33-C |
| 395 | |||
| M | 386 | Procedure contains UR data flow anomalies. : local_ip.u.ip6 | CERT EXP33-C |
| 395 | |||
| M | 387 | Procedure contains UR data flow anomalies. : local_port | CERT EXP33-C |
| 389 | |||
| C | 384 | Procedure not called in code analysed : client_connected |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-test.c | 386 | director-test.c | 395 | local_ip.family |
| director-test.c | 386 | director-test.c | 395 | local_ip.u.ip4 |
| director-test.c | 386 | director-test.c | 395 | local_ip.u.ip6 |
| director-test.c | 387 | director-test.c | 389 | local_port |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| admin_input (410 to 421 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| C | 410 | Procedure not called in code analysed : admin_input |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| admin_random_action (423 to 439 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 434 | Pointer not checked for null before use : hosts | CERT EXP08-C,EXP34-C |
| 431 | |||
| C | 423 | Procedure not called in code analysed : admin_random_action | |
| M | 425 | Declaration types do not match across a system. : hosts | CERT ARR31-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| admin_connect (441 to 469 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 468 | Local structure returned in function result : conn | |
| M | 448 | Pointer not checked for null before use : conn | CERT EXP08-C,EXP34-C |
| 447 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| admin_disconnect (471 to 483 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 482 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 481 | |||
| M | 482 | Attempt to read from freed memory. : default_pool | CERT MEM30-C |
| M | 482 | Pointer not checked for null before use : (conn)->path | CERT EXP08-C,EXP34-C |
| 481 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| admin_read_hosts (485 to 509 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 499 | Attempt to use already freed object. | CERT MEM31-C |
| M | 500 | Attempt to use already freed object. | CERT MEM31-C |
| M | 502 | Attempt to use already freed object. | CERT MEM31-C |
| M | 503 | Attempt to use already freed object. | CERT MEM31-C |
| M | 499 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C |
| 495 | |||
| M | 499 | Pointer not checked for null before use : host | CERT EXP08-C,EXP34-C |
| 498 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connection_disconnect_timeout (511 to 526 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 522 | Pointer not checked for null before use : conn | CERT EXP08-C,EXP34-C |
| 522 | |||
| C | 511 | Procedure not called in code analysed : director_connection_disconnect_timeout |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| main_init (528 to 544 director-test.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 538 | Pointer not checked for null before use : admin | CERT EXP08-C,EXP34-C |
| 537 | |||
| M | 539 | Pointer not checked for null before use : hosts | CERT EXP08-C,EXP34-C |
| 532 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| main_deinit (546 to 580 director-test.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 579 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 573 | |||
| M | 565 | Attempt to read from freed memory. : user | CERT MEM30-C |
| M | 549 | Procedure contains UR data flow anomalies. : key | CERT EXP33-C |
| 563 | |||
| M | 549 | Procedure contains UR data flow anomalies. : value | CERT EXP33-C |
| 563 |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-test.c | 549 | director-test.c | 563 | key |
| director-test.c | 549 | director-test.c | 563 | value |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| main (582 to 603 director-test.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 599 | Pointer not checked for null before use : to_disconnect | CERT EXP08-C,EXP34-C |
| 597 | |||
| M | 599 | Pointer not checked for null before use : users | CERT EXP08-C,EXP34-C |
| 597 | |||
| M | 599 | Pointer not checked for null before use : hosts | CERT EXP08-C,EXP34-C |
| 597 | |||
| M | 597 | Attempt to read from freed memory. : default_pool | CERT MEM30-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director-test.c | 94 | director-test.c | 597 | hosts_array.arr.buffer |
| director-test.c | 94 | director-test.c | 597 | hosts_array.arr.element_size |
| director-test.c | 94 | director-test.c | 597 | hosts_array.v |
| director-test.c | 94 | director-test.c | 597 | hosts_array.v_modifiable |
| ioloop.h | 38 | director-test.c | 599 | ioloop_time |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_is_self_ip_set (16 to 29 director.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 18 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 20 | |||
| M | 18 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 20 | |||
| M | 18 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 20 | |||
| M | 18 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| director.c | 18 | director.c | 20 | ip.family |
| director.c | 18 | director.c | 20 | ip.u.ip4 |
| director.c | 18 | director.c | 20 | ip.u.ip6 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_find_self_ip (31 to 44 director.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 33 | Declaration types do not match across a system. : hosts | CERT ARR31-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_find_self_idx (63 to 76 director.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 65 | Declaration types do not match across a system. : hosts | CERT ARR31-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connect_host (78 to 100 director.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 80 | Declaration types do not match across a system. : port | CERT ARR31-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_get_preferred_right_host (102 to 114 director.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 105 | Declaration types do not match across a system. : hosts | CERT ARR31-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_connect (116 to 151 director.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 130 | Pointer not checked for null before use : hosts | CERT EXP08-C,EXP34-C |
| 126 | |||
| M | 136 | Pointer not checked for null before use : dir.self_ip | CERT EXP08-C,EXP34-C |
| 121 | |||
| M | 118 | Declaration types do not match across a system. : hosts | CERT ARR31-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_update_host (277 to 294 director.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 286 | Pointer not checked for null before use : orig_src | CERT EXP08-C,EXP34-C |
| 285 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_remove_host (296 to 315 director.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 303 | Pointer not checked for null before use : orig_src | CERT EXP08-C,EXP34-C |
| 302 | |||
| M | 313 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 312 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_flush_host (317 to 332 director.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 323 | Pointer not checked for null before use : orig_src | CERT EXP08-C,EXP34-C |
| 322 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_init (358 to 375 director.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 374 | Local structure returned in function result : dir | |
| M | 366 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C |
| 365 | |||
| M | 365 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 275) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_deinit (377 to 403 director.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 390 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 389 | |||
| M | 391 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 390 | |||
| M | 389 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 387 | |||
| M | 402 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 398 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| doveadm_cmd_host_list (42 to 54 doveadm-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 52 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C |
| 45 | |||
| M | 48 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C |
| 45 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| doveadm_cmd_director_list (56 to 67 doveadm-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 65 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C |
| 59 | |||
| M | 62 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C |
| 59 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| doveadm_cmd_host_set (69 to 98 doveadm-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 94 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C |
| M | 94 | Pointer not checked for null before use : host | CERT EXP08-C,EXP34-C |
| 91 | |||
| M | 75 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 89 | |||
| M | 75 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 89 | |||
| M | 75 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 89 | |||
| M | 75 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| M | 76 | Declaration types do not match across a system. : vhost_count | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| doveadm-connection.c | 75 | doveadm-connection.c | 89 | ip.family |
| doveadm-connection.c | 75 | doveadm-connection.c | 89 | ip.u.ip4 |
| doveadm-connection.c | 75 | doveadm-connection.c | 89 | ip.u.ip6 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| doveadm_cmd_host_remove (100 to 119 doveadm-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 114 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C |
| M | 119 | Memory not freed after last reference. : host | CERT MEM00-C |
| M | 104 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 110 | |||
| M | 104 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 110 | |||
| M | 104 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 110 | |||
| M | 104 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| doveadm-connection.c | 104 | doveadm-connection.c | 110 | ip.family |
| doveadm-connection.c | 104 | doveadm-connection.c | 110 | ip.u.ip4 |
| doveadm-connection.c | 104 | doveadm-connection.c | 110 | ip.u.ip6 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| doveadm_cmd_host_flush_all (121 to 131 doveadm-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 127 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| doveadm_cmd_host_flush (133 to 157 doveadm-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 152 | Pointer not checked for null before use : NULL | CERT EXP08-C,EXP34-C |
| M | 137 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 148 | |||
| M | 137 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 148 | |||
| M | 137 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 148 | |||
| M | 137 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| doveadm-connection.c | 137 | doveadm-connection.c | 148 | ip.family |
| doveadm-connection.c | 137 | doveadm-connection.c | 148 | ip.u.ip4 |
| doveadm-connection.c | 137 | doveadm-connection.c | 148 | ip.u.ip6 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| doveadm_cmd_user_lookup (159 to 196 doveadm-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 173 | Pointer not checked for null before use : str | CERT EXP08-C,EXP34-C |
| 165 | |||
| M | 164 | Procedure contains UR data flow anomalies. : username_hash | CERT EXP33-C |
| 167 |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| doveadm-connection.c | 164 | doveadm-connection.c | 167 | username_hash |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| doveadm_connection_input (198 to 246 doveadm-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 227 | Pointer not checked for null before use : cmd | CERT EXP08-C,EXP34-C |
| 223 | |||
| M | 232 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C |
| 224 | |||
| M | 245 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 234 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| doveadm_connection_init (248 to 263 doveadm-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 262 | Local structure returned in function result : conn | |
| M | 254 | Pointer not checked for null before use : conn | CERT EXP08-C,EXP34-C |
| 253 | |||
| M | 253 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 276) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| login_connection_input (39 to 55 login-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 54 | User input not checked before use. : buf | CERT FIO30-C |
| 44 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| login_host_callback (72 to 97 login-connection.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 95 | free parameter is not heap item. | CERT MEM34-C |
| M | 95 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 94 | |||
| M | 96 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 95 | |||
| M | 96 | Attempt to read from freed memory. : default_pool | CERT MEM30-C |
| M | 96 | Pointer not checked for null before use : context.line | CERT EXP08-C,EXP34-C |
| 95 | |||
| M | 91 | Pointer not checked for null before use : line | CERT EXP08-C,EXP34-C |
| 87 | |||
| M | 95 | Procedure contains UR data flow anomalies. : context.line | CERT EXP33-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| login-connection.c | 204 | login-connection.c | 96 | context.conn |
| login-connection.c | 95 | login-connection.c | 96 | context.line |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| auth_input_line (99 to 156 login-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 118 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C |
| 117 | |||
| M | 151 | Pointer not checked for null before use : request | CERT EXP08-C,EXP34-C |
| 150 | |||
| M | 124 | Pointer not checked for null before use : args | CERT EXP08-C,EXP34-C |
| 124 | |||
| M | 140 | Pointer not checked for null before use : username | CERT EXP08-C,EXP34-C |
| 131 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| login_connection_init (158 to 175 login-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 174 | Local structure returned in function result : conn | |
| M | 165 | Pointer not checked for null before use : conn | CERT EXP08-C,EXP34-C |
| 164 | |||
| M | 164 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 277) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| login_connection_deinit (177 to 198 login-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 195 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 194 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| login_connection_unref (200 to 209 login-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 209 | Memory not freed after last reference. : conn | CERT MEM00-C |
| M | 204 | Procedure contains UR data flow anomalies. : context.conn | CERT EXP33-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| mail_host_add_ip (37 to 49 mail-host.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 48 | Local structure returned in function result : host | |
| M | 43 | Pointer not checked for null before use : host | 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 278) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| mail_host_add (51 to 62 mail-host.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 53 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 60 | |||
| M | 53 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 60 | |||
| M | 53 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 60 | |||
| M | 53 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| mail-host.c | 53 | mail-host.c | 60 | ip.family |
| mail-host.c | 53 | mail-host.c | 60 | ip.u.ip4 |
| mail-host.c | 53 | mail-host.c | 60 | ip.u.ip6 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| mail_hosts_add_range (64 to 131 mail-host.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 67 | Procedure contains UR data flow anomalies. : ip1.family | CERT EXP33-C |
| 80 | |||
| M | 67 | Procedure contains UR data flow anomalies. : ip1.u.ip4 | CERT EXP33-C |
| 127 | |||
| M | 67 | Procedure contains UR data flow anomalies. : ip1.u.ip6 | CERT EXP33-C |
| 127 | |||
| M | 67 | Procedure contains UR data flow anomalies. : ip2.family | CERT EXP33-C |
| 80 |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| mail-host.c | 67 | mail-host.c | 80 | ip1.family |
| mail-host.c | 67 | mail-host.c | 127 | ip1.u.ip4 |
| mail-host.c | 67 | mail-host.c | 127 | ip1.u.ip6 |
| mail-host.c | 67 | mail-host.c | 80 | ip2.family |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| mail_hosts_parse_and_add (133 to 161 mail-host.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 142 | Pointer not checked for null before use : tmp | CERT EXP08-C,EXP34-C |
| 141 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| mail_host_remove (170 to 185 mail-host.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 172 | Declaration types do not match across a system. : hosts | CERT ARR31-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| mail_hosts_init (225 to 233 mail-host.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 232 | Local structure returned in function result : list | |
| M | 230 | Pointer not checked for null before use : list | CERT EXP08-C,EXP34-C |
| 229 | |||
| M | 229 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 278) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| mail_hosts_deinit (235 to 247 mail-host.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 247 | Memory not freed after last reference. : hostp | CERT MEM00-C |
| M | 246 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 242 | |||
| M | 246 | Attempt to read from freed memory. : default_pool | CERT MEM30-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| mail_host_dup (249 to 256 mail-host.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 254 | Pointer not checked for null before use : dest | CERT EXP08-C,EXP34-C |
| 253 | |||
| M | 253 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 278) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| mail_hosts_dup (258 to 270 mail-host.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 269 | Local structure returned in function result : dest | |
| M | 266 | Pointer not checked for null before use : dest_host | CERT EXP08-C,EXP34-C |
| 265 | |||
| M | 268 | Pointer not checked for null before use : dest | CERT EXP08-C,EXP34-C |
| 263 | |||
| M | 266 | Pointer not checked for null before use : dest | CERT EXP08-C,EXP34-C |
| 263 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| client_connected (41 to 90 main.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 75 | Pointer not checked for null before use : name | CERT EXP08-C,EXP34-C |
| 73 | |||
| M | 45 | Procedure contains UR data flow anomalies. : ip.family | CERT EXP33-C |
| 59 | |||
| M | 45 | Procedure contains UR data flow anomalies. : ip.u.ip4 | CERT EXP33-C |
| 61 | |||
| M | 45 | Procedure contains UR data flow anomalies. : ip.u.ip6 | CERT EXP33-C |
| 61 | |||
| M | 44 | Procedure contains UR data flow anomalies. : path | CERT EXP33-C |
| 66 | |||
| M | 46 | Procedure contains UR data flow anomalies. : port | CERT EXP33-C |
| 58 | |||
| C | 41 | Procedure not called in code analysed : client_connected | |
| M | 45 | Declaration types do not match across a system. : ip | CERT ARR31-C |
| M | 46 | Declaration types do not match across a system. : port | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| main.c | 45 | main.c | 59 | ip.family |
| main.c | 45 | main.c | 61 | ip.family |
| main.c | 45 | main.c | 61 | ip.u.ip4 |
| main.c | 45 | main.c | 61 | ip.u.ip6 |
| main.c | 44 | main.c | 66 | path |
| main.c | 46 | main.c | 58 | port |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| find_inet_listener_port (92 to 104 main.c) - FAIL |
|---|
| 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. : port | CERT EXP33-C |
| 100 | |||
| M | 94 | Declaration types do not match across a system. : port | CERT ARR31-C |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| main.c | 94 | main.c | 100 | port |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| director_state_changed (106 to 124 main.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| C | 106 | Procedure not called in code analysed : director_state_changed |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| main_init (126 to 150 main.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 134 | Pointer not checked for null before use : set | CERT EXP08-C,EXP34-C |
| 132 | |||
| M | 145 | Pointer not checked for null before use : director | CERT EXP08-C,EXP34-C |
| 143 | |||
| M | 129 | Procedure contains UR data flow anomalies. : listen_ip.family | CERT EXP33-C |
| 137 | |||
| M | 129 | Procedure contains UR data flow anomalies. : listen_ip.u.ip4 | CERT EXP33-C |
| 137 | |||
| M | 129 | Procedure contains UR data flow anomalies. : listen_ip.u.ip6 | CERT EXP33-C |
| 137 |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| main.c | 129 | main.c | 137 | listen_ip.family |
| main.c | 129 | main.c | 137 | listen_ip.u.ip4 |
| main.c | 129 | main.c | 137 | listen_ip.u.ip6 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| main_deinit (152 to 161 main.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 160 | free parameter is not heap item. | CERT MEM34-C |
| M | 157 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 156 | |||
| M | 158 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 157 | |||
| M | 160 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 158 | |||
| M | 156 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 155 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| main (163 to 218 main.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 214 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 203 | |||
| M | 200 | Attempt to read from freed memory. : default_pool | CERT MEM30-C |
| M | 214 | Pointer not checked for null before use : auth_socket_path | CERT EXP08-C,EXP34-C |
| 200 | |||
| M | 170 | Procedure contains UR data flow anomalies. : error | CERT EXP33-C |
| 190 |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| main.c | 170 | main.c | 190 | error |
| ioloop.h | 38 | main.c | 203 | ioloop_time |
| main.c | 26 | main.c | 214 | notify_conn |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| notify_connection_input (20 to 37 notify-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 36 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 28 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| notify_connection_init (39 to 50 notify-connection.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 49 | Local structure returned in function result : conn | |
| M | 45 | Pointer not checked for null before use : conn | CERT EXP08-C,EXP34-C |
| 44 | |||
| M | 44 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 280) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| user_directory_add (67 to 82 user-directory.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 81 | Local structure returned in function result : user | |
| M | 74 | Pointer not checked for null before use : user | CERT EXP08-C,EXP34-C |
| 73 | |||
| M | 73 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 281) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| user_directory_remove_host (93 to 104 user-directory.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 101 | Pointer not checked for null before use : next | CERT EXP08-C,EXP34-C |
| 99 | |||
| M | 102 | Attempt to read from freed memory. : user | CERT MEM30-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| user_directory_get_username_hash (106 to 115 user-directory.c) - FAIL |
|---|
| Code | Violation | Standard |
|---|---|---|
| M | Procedure contains UR data flow anomalies. | CERT EXP33-C |
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 113 | Negative (or potentially negative) shift. | CERT INT34-C |
| M | 108 | Procedure contains UR data flow anomalies. : md5 | CERT EXP33-C |
| 111 |
| File | Undefine | File | Reference | Variable |
|---|---|---|---|---|
| user-directory.c | 108 | user-directory.c | 111 | md5 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| user_directory_user_has_connections (117 to 123 user-directory.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 117 | Negative (or potentially negative) shift. | CERT INT34-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| user_directory_init (125 to 135 user-directory.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 134 | Local structure returned in function result : dir | |
| M | 130 | Pointer not checked for null before use : dir | CERT EXP08-C,EXP34-C |
| 129 | |||
| M | 129 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 281) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| user_directory_deinit (137 to 150 user-directory.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 149 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| 146 |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| user_directory_iter_init (152 to 162 user-directory.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 161 | Local structure returned in function result : iter | |
| M | 158 | Pointer not checked for null before use : iter | CERT EXP08-C,EXP34-C |
| 157 | |||
| M | 157 | Pointer not checked for null before use : default_pool | CERT EXP08-C,EXP34-C |
| Ref. Line -1101 (Module 281) |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| user_directory_iter_next (164 to 174 user-directory.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 173 | Local structure returned in function result : user |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|
| user_directory_iter_deinit (176 to 192 user-directory.c) - FAIL |
|---|
| Code | Line | Violation | Standard |
|---|---|---|---|
| M | 184 | Attempt to use already freed object. | CERT MEM31-C |
| M | 187 | Attempt to use already freed object. | CERT MEM31-C |
| [ | Top of Report | | | Procedure Table | | | Contents | ] |
|---|