Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-4037

Occur Segmentation Fault with homescreen API tap_shortcut, showWindow verb

XMLWordPrintable

    • QEMU x86_64, Raspberry Pi 4

      Two verb take different actions, but the basic routines are similar.
      Segmentation Fault caused by incorrect validation when passing unintended application_id.

      Attempting to find the application id entered, but entering the else statement because if statement validation is incorrect. (hs-clientmanager.cpp:205)
      ret variable is set to AFB_REQ_NOT_STARTED_APPLICATION as it enters the internal else statement.
      After the handleRequest function, if statement validation is true (homescreen.cpp:163, 315), it enters the HS_AppInfo::getAppProperty function and returns "" (empty string) becase no value is found.
      empty string passed as HS_AfmMainProxy::start function. (hs-proxy.cpp:173)
      Assigning id passed to cdata->appid caused Segmentation Fault due to assign validation by basic_string operator=.

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

            mvlad Marius Vlad
            hikaii BaHyun Lee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: