Index: apps/app_queue.c =================================================================== --- apps/app_queue.c (revision 220668) +++ apps/app_queue.c (working copy) @@ -597,6 +597,7 @@ static int queue_cmp_cb(void *obj, void *arg, int flags) { struct call_queue *q = obj, *q2 = arg; + if (ast_strlen_zero(q->name) || ast_strlen_zero(q2->name)) return 0; return !strcasecmp(q->name, q2->name) ? CMP_MATCH | CMP_STOP : 0; }