Preventing nullptr crash due to LLURLRequest::process_impl being called before initilization on rare occasion.

This commit is contained in:
Shyotl
2011-06-13 20:14:59 -05:00
parent 25bb20046b
commit bbc6f9d4c3

View File

@@ -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: