Preventing nullptr crash due to LLURLRequest::process_impl being called before initilization on rare occasion.
This commit is contained in:
@@ -233,6 +233,7 @@ LLIOPipe::EStatus LLURLRequest::process_impl(
|
|||||||
LLMemType m1(LLMemType::MTYPE_IO_URL_REQUEST);
|
LLMemType m1(LLMemType::MTYPE_IO_URL_REQUEST);
|
||||||
//llinfos << "LLURLRequest::process_impl()" << llendl;
|
//llinfos << "LLURLRequest::process_impl()" << llendl;
|
||||||
if(!buffer) return STATUS_ERROR;
|
if(!buffer) return STATUS_ERROR;
|
||||||
|
if(!mDetail) return STATUS_ERROR; //Seems to happen on occasion. Need to hunt down why.
|
||||||
switch(mState)
|
switch(mState)
|
||||||
{
|
{
|
||||||
case STATE_INITIALIZED:
|
case STATE_INITIALIZED:
|
||||||
|
|||||||
Reference in New Issue
Block a user