Unreachable Computation at auth-worker-server.c:231 |
No properties have been set. edit properties |
Jump to warning location ↓ | warning details... |
| |
auth_worker_find_free (/home/sate/Testcases/c/cve/dovecot-1.2.0/src/auth/auth-worker-server.c)![]() | ||||||
![]() | ||||||
217 | static struct auth_worker_connection *auth_worker_find_free(void) | |||||
218 | { | |||||
219 | struct auth_worker_connection **conns; | |||||
220 | unsigned int i, count; | |||||
221 | ||||||
222 | if (idle_count == 0) | |||||
223 | return NULL; | |||||
224 | ||||||
225 | conns = array_get_modifiable(&connections, &count); | |||||
226 | for (i = 0; i < count; i++) { | |||||
227 | if (conns[i]->request == NULL) | |||||
228 | return conns[i]; | |||||
229 | } | |||||
230 | i_unreached(); | |||||
231 | return NULL;
| |||||
232 | } | |||||
![]() |