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

QDeclarativeStyledText::parse on empty tag causes assert in QString

    XMLWordPrintable

Details

    • I7141002b751722ab34b378215251562153c4ff46

    Description

      1. Run the attached .qml
      2. Enter into the bottom TextEdit:
        <b>Text<>


      Asserts at qtbase/src/corelib/tools/qstring.h:1144, presumably because the tag is of size 0 thus failing i < size()

      If the parseTag gets a string of length 0 it should be ignored.

      Attachments

        For Gerrit Dashboard: QTBUG-22058
        # Subject Branch Project Status CR V

        Activity

          People

            bodson Yann Bodson (Inactive)
            dajansen Damian Jansen (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes