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

Malformed input file crashes moc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.6.2
    • 4.8.7, 5.7
    • Build tools: moc
    • Ubuntu 16.04 LTS 64 bit
    • I56bc86880a0dbfdce57fc4a08e5950f2ff3a5958

    Description

      moc exits with a failed assert when run on the attached malformed file:

      ASSERT failure in qAllocMore: "Requested size is too large!", file /home/qtrob/dev/src/qt-5.7.0/qtbase/src/corelib/tools/qbytearray.cpp, line 135
      Abgebrochen
      

      It's clear that moc can't generate something useful from this file but still it should not crash.

      This is not a duplicate of QTBUG-54609 which is fixed in 5.7 branch.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ogoffart Olivier Goffart (Woboq GmbH)
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes