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

Do not crash after registering an invalid resource file

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.13.2, 5.15.16, 6.2.10, 6.5.3, 6.6.0, 6.6.1
    • Core: Resource System
    • None

    Description

      Files are saved on disks that can degrade and lose bits along the way, leaving rcc files that can be opened but contain potentially invalid resources. Currently, registering a compromised rcc crashes the application. See https://bugreports.qt.io/browse/QTBUG-119178

      The expected behaviour is the following: when calling QResource::registerResource, if the rcc file is compromised should return false.

      Attachments

        Issue Links

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

          Activity

            People

              hjk hjk
              jozzolo José Del Romano
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes