-
Bug
-
Resolution: Fixed
-
Major
-
master
-
None
-
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=.