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

QSafeLayoutFileReader has insufficient layoutDataArray for max capacity

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • QSR 1.2
    • QSR 1.2
    • Runtime
    • 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];
      

       

      Attachments

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

        Activity

          People

            teemu.holappa Teemu Holappa
            assaarel Asmo Saarela (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes