(/home/sate/Testcases/c/cve/dovecot-1.2.0/src/master/auth-process.c) |
| |
| 697 | | | static void auth_process_group_create(struct auth_settings *auth_set) |
| 698 | | | { |
| 699 | | | struct auth_process_group *group; |
| 700 | | | const char *path; |
| 701 | | | |
| 702 | | | group = i_new(struct auth_process_group, 1);
x /home/sate/Testcases/c/cve/dovecot-1.2.0/src/lib/imem.h |
| |
8 | #define i_new(type, count) ((type *) i_malloc(sizeof(type) * (count))) |
| |
|
| 703 | | | group->set = auth_set; |
| 704 | | | |
| 705 | | | group->next = process_groups; |
| 706 | | | process_groups = group; |
| 707 | | | |
| 708 | | | if (auth_set->sockets != NULL && |
Event 1:
Skipping " if". auth_set->sockets != (void *)0 evaluates to false.
hide
|
|
| 709 | | | strcmp(auth_set->sockets->type, "connect") == 0) |
| 710 | | | return; |
| 711 | | | |
| 712 | | | path = t_strconcat(auth_set->parent->defaults->login_dir, "/", |
Event 7:
path is set to t_strconcat(...), which evaluates to NULL. See related event 6.
hide
|
|
| 713 | [+] | | auth_set->name, NULL); |
 |
| 714 | | | group->listen_fd = unix_socket_create(path, 0660, master_uid, |
Event 8:
path, which evaluates to NULL, is passed to unix_socket_create() as the first argument. See related event 7.
hide
|
|
| 715 | [+] | | auth_set->parent->login_gid, 128); |
 |
| |