(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/master/master-settings.c) |
| |
| 1128 | | | static struct auth_userdb_settings * |
| 1129 | | | auth_userdb_settings_new(struct auth_settings *auth, const char *type) |
| 1130 | | | { |
| 1131 | | | struct auth_userdb_settings *as, **as_p; |
| 1132 | | | |
| 1133 | | | as = p_new(settings_pool, struct auth_userdb_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) |
| |
|
| 1134 | | | |
| 1135 | | | as->parent = auth; |
| 1136 | [+][+] | | as->driver = str_lcase(p_strdup(settings_pool, type)); |
 |
 |
| |