From bbc6f9d4c39ec75614d13a5cee86ddb993314fb5 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Mon, 13 Jun 2011 20:14:59 -0500 Subject: [PATCH] Preventing nullptr crash due to LLURLRequest::process_impl being called before initilization on rare occasion. --- indra/llmessage/llurlrequest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/llmessage/llurlrequest.cpp b/indra/llmessage/llurlrequest.cpp index 87f011643..bbf1746bf 100644 --- a/indra/llmessage/llurlrequest.cpp +++ b/indra/llmessage/llurlrequest.cpp @@ -233,6 +233,7 @@ LLIOPipe::EStatus LLURLRequest::process_impl( LLMemType m1(LLMemType::MTYPE_IO_URL_REQUEST); //llinfos << "LLURLRequest::process_impl()" << llendl; if(!buffer) return STATUS_ERROR; + if(!mDetail) return STATUS_ERROR; //Seems to happen on occasion. Need to hunt down why. switch(mState) { case STATE_INITIALIZED: