I have a test which is throwing an exception in the static class initialisation. This causes a call to DynamicLibraryManager::getLastErrorDetail. This fucntion fails to check the result of FormatMessageA and the function is then trying to allocate lpMsgBuf (which is null) to a std::string. This causes a very unhelpful "invalid null pointer" error in visual studio.
Log in to post a comment.