Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-55828

Trying to navigate to FTP address with username in URL crashes

    XMLWordPrintable

Details

    • Ib57e89ca042a4494e2ab77ea10328495e6fc1431

    Description

      To reproduce, open one of the browser examples and try to open this address:

      ftp://randomuser@ftp.uni-kl.de/
      
      [0907/123218:FATAL:host_port_pair.cc(65)] Host has a null char:  ��8%00%00���8
      #0 0x7f38f8deea63 base::debug::StackTrace::StackTrace()
      #1 0x7f38f8e1aba9 logging::LogMessage::~LogMessage()
      #2 0x7f38f6e89549 _ZNK3net12HostPortPair10HostForURLB5cxx11Ev
      #3 0x7f38f6e89372 _ZNK3net12HostPortPair8ToStringB5cxx11Ev
      #4 0x7f38f5f476c2 QtWebEngineCore::ResourceDispatcherHostLoginDelegateQt::host()
      #5 0x7f38f5ed559a QtWebEngineCore::AuthenticationDialogController::host()
      #6 0x7f38ffe2ef7f QWebEnginePagePrivate::authenticationRequired()
      #7 0x7f38f5f47846 QtWebEngineCore::ResourceDispatcherHostLoginDelegateQt::triggerDialog()
      #8 0x7f38f5f489dd base::internal::RunnableAdapter<>::Run()
      #9 0x7f38f5f48641 _ZN4base8internal12InvokeHelperILb0EvNS0_15RunnableAdapterIMN15QtWebEngineCore37ResourceDispatcherHostLoginDelegateQtEFvvEEENS0_8TypeListIJRKPS4_EEEE8MakeItSoES7_SB_
      #10 0x7f38f5f48366 _ZN4base8internal7InvokerINS_13IndexSequenceIJLm0EEEENS0_9BindStateINS0_15RunnableAdapterIMN15QtWebEngineCore37ResourceDispatcherHostLoginDelegateQtEFvvEEEFvPS7_ENS0_8TypeListIJSB_EEEEENSD_IJNS0_12UnwrapTraitsISB_EEEEENS0_12InvokeHelperILb0EvSA_NSD_IJRKSB_EEEEEFvvEE3RunEPNS0_13BindStateBaseE
      #11 0x7f38f5f8624e base::Callback<>::Run()
      #12 0x7f38f8efd4ca base::debug::TaskAnnotator::RunTask()
      #13 0x7f38f8e2a86a base::MessageLoop::RunTask()
      #14 0x7f38f8e2a974 base::MessageLoop::DeferOrRunPendingTask()
      #15 0x7f38f8e2ae71 base::MessageLoop::DoWork()
      #16 0x7f38f5ef28f9 QtWebEngineCore::(anonymous namespace)::MessagePumpForUIQt::handleScheduledWork()
      #17 0x7f38f5ef27bd QtWebEngineCore::(anonymous namespace)::MessagePumpForUIQt::customEvent()
      #18 0x7f38ff0d1001 QObject::event()
      #19 0x7f38ff53387a QApplicationPrivate::notify_helper()
      #20 0x7f38ff530ac3 QApplication::notify()
      #21 0x7f38ff092be3 QCoreApplication::notifyInternal2()
      #22 0x7f38ff096ecc QCoreApplication::sendEvent()
      #23 0x7f38ff094083 QCoreApplicationPrivate::sendPostedEvents()
      #24 0x7f38ff0939e8 QCoreApplication::sendPostedEvents()
      #25 0x7f38ff1172a7 postEventSourceDispatch()
      #26 0x7f38f2ef0127 g_main_context_dispatch
      #27 0x7f38f2ef0380 <unknown>
      #28 0x7f38f2ef042c g_main_context_iteration
      #29 0x7f38ff117ab2 QEventDispatcherGlib::processEvents()
      #30 0x7f38eac5b68e QPAEventDispatcherGlib::processEvents()
      #31 0x7f38ff08f22e QEventLoop::processEvents()
      #32 0x7f38ff08f565 QEventLoop::exec()
      #33 0x7f38ff0933d9 QCoreApplication::exec()
      #34 0x7f38f48385b4 QGuiApplication::exec()
      #35 0x7f38ff530473 QApplication::exec()
      #36 0x000000400eb9 main
      #37 0x7f38fe444830 __libc_start_main
      #38 0x000000400cf9 _start
      

      Attachments

        1. config.status
          0.1 kB
        2. config.summary
          4 kB
        3. FTPBacktrace.txt
          127 kB
        4. qt570_config.status
          0.2 kB
        5. qt570_config.summary
          6 kB
        6. qt570-build-logs.tar.gz
          2 kB
        7. qtbug55828.tar.gz
          0.6 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            viengelm Viktor Engelmann
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes