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

QML compiled code suffers crash if FINAL is overriden in C++

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P1: Critical P1: Critical
    • 6.10
    • 6.8, 6.10
    • QML: Compiler

      The attached reproducer triggers a stack-buffer-overflow when used with ASAN (or an assert without).

       

      The runtime instead only generates a warning that the overriding property won't be used. We probably can fix this by ensuring that our readProperty considers the statically known meta-object which declared the final property

        1. QTBUG-141193.zip
          2 kB
          Fabian Kosmale
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtqmlteam Qt Qml Team User
            fabiankosmale Fabian Kosmale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes