Since this can return NULL, it would be great to do a check here.  There isn't much that can be done, but at least we can return and prevent a fault.