fix crash in getCompletionEntryDetails
addressed CR feedback
Merge pull request #1325 from Microsoft/crash_getCompletionEntryDetails

fix crash in getCompletionEntryDetails