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

Do not crash after registering an invalid resource file

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: Not Evaluated 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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes