(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/master/master-settings.c) |
| |
| 1146 | | | static struct auth_socket_settings * |
| 1147 | | | auth_socket_settings_new(struct auth_settings *auth, const char *type) |
| 1148 | | | { |
| 1149 | | | struct auth_socket_settings *as, **as_p; |
| 1150 | | | |
| 1151 | | | as = p_new(settings_pool, struct auth_socket_settings, 1);
x /home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/mempool.h |
| |
84 | #define p_new(pool, type, count) \ |
85 | ((type *) p_malloc(pool, sizeof(type) * (count))) |
| |
x /home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/mempool.h |
| |
87 | #define p_malloc(pool, size) (pool)->v->malloc(pool, size) |
| |
|
| 1152 | | | |
| 1153 | | | as->parent = auth; |
| 1154 | [+][+] | | as->type = str_lcase(p_strdup(settings_pool, type)); |
 |
 |
| |