Hi,
Per Coverity.
If test set->latch against NULL, is why it can be NULL.ResetEvent can dereference NULL.
regards,Ranier Vilela