Fix wrong exception handling about appid check 09/279609/1
authorHwankyu Jhun <h.jhun@samsung.com>
Fri, 12 Aug 2022 08:14:46 +0000 (17:14 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 12 Aug 2022 08:14:46 +0000 (17:14 +0900)
commit5e22c80ba58ab0593c803f5022ca212d3aaf73ab
tree5520d3b60b6cf5edffe62e7892c263355a83b4d1
parent9215f8ef55559c2e51209a6a4424b616c9e0ce1b
Fix wrong exception handling about appid check

If the appid is nullptr in the __check_request() function, the function
should return 0.

Change-Id: Ie8e5422172b11cdf55348f6408ef4f97c1179c0d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/lib/amd_request.c