overflow check of context->lws_lookup