Fixed
Details
Details
Assignee
Marius Vlad
Marius VladReporter
Bahyun Lee
Bahyun LeeFix versions
Labels
Hardware Platform(s) Affected
QEMU x86_64
Raspberry Pi 4
Affects versions
Priority
Created July 28, 2021 at 7:29 AM
Updated December 7, 2021 at 11:18 PM
Resolved October 5, 2021 at 1:10 PM
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=.