[haiku-bugs] Re: [Haiku] #10924: Webpositive crashed WebCore::ResourceHandle::client()

  • From: "markh" <trac@xxxxxxxxxxxx>
  • Date: Fri, 04 Mar 2016 21:51:14 -0000

#10924: Webpositive crashed WebCore::ResourceHandle::client()
----------------------------------------+---------------------------------
   Reporter:  xray7224                  |      Owner:  pulkomandy
       Type:  bug                       |     Status:  new
   Priority:  normal                    |  Milestone:  R1
  Component:  Applications/WebPositive  |    Version:  R1/Development
 Resolution:                            |   Keywords:
 Blocked By:  11602                     |   Blocking:  12047, 12137, 12605
Has a Patch:  1                         |   Platform:  All
----------------------------------------+---------------------------------

Comment (by markh):

 If I understand it correctly, then we still need to check if we want to
 stop processing after AuthenticationNeeded returns.
 We could change the following:


 {{{
         if (statusCode == 401)
             AuthenticationNeeded(httpRequest, response);

 }}}

 into


 {{{
         if (statusCode == 401)
         {
             AuthenticationNeeded(httpRequest, response);
             if (!m_resourceHandle)
                 return;
        }
 }}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/10924#comment:20>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: