Uploaded image for project: 'Qt Safe Renderer'
  1. Qt Safe Renderer
  2. QSR-1002

QSafeLayoutFileReader has insufficient layoutDataArray for max capacity

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: QSR 1.2
    • Fix Version/s: QSR 1.2
    • Component/s: Runtime
    • Labels:
      None

      Description

      QSafeLayoutFileReader function in the QSafeLayoutFileReader.cpp

      Input: QML file with 128 images, each having 8 states. Indicators example used as a basis.

      Original code:
      //static quint8 layoutDataArray[(Constraints::MAX_ITEM_COUNT)*(Constraints::LAYOUTDATA_SIZE_V2+Constraints::LAYOUTDATA_HEADER_SIZE)];
      
      Modified hack:
      static quint8 layoutDataArray[(2*Constraints::MAX_ITEM_COUNT)*(Constraints::LAYOUTDATA_SIZE_V2)+Constraints::LAYOUTDATA_HEADER_SIZE];
      

       

        TestRail: Results

          Attachments

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

            Activity

              People

              Assignee:
              teemu.holappa Teemu Holappa
              Reporter:
              assaarel Asmo Saarela
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    TestRail: Runs

                      TestRail: Cases