WebInputStream::Pimpl::connect bug on macos

Hi, recent changes in connect() have introduced a crash.

The line:

        if (! connection->start (owner, webInputListener))

will reset the connection pointer to nullptr, but the subsequent lines use it without checking for null.

(I got the crash when making an https connection on macos 10.9 btw)

fixed by URLConnectionStateBase crashing on OS X 10.9

1 Like