diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2021-07-29 11:48:57 +0300 |
---|---|---|
committer | Marius Vlad <marius.vlad@collabora.com> | 2021-07-29 11:48:57 +0300 |
commit | 36574a78bc7baaf3dd254ed91641fd993fc90c14 (patch) | |
tree | 93205292f79d6dc0a5ce34c1c4e79a1e0dd5a390 /src/hs-proxy.cpp | |
parent | 66d1ba22264303e705bbe126578c0c99cdb80dba (diff) |
homescreen/hs-proxy: Guard against empty appidsneedlefish_13.93.0needlefish/13.93.0marlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.113.93.012.93.012.92.012.91.012.90.1
Bug-AGL: SPEC-4037
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Change-Id: I6a9b7fd74d81cb117afcb12639862288769b7fde
Diffstat (limited to 'src/hs-proxy.cpp')
-rw-r--r-- | src/hs-proxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hs-proxy.cpp b/src/hs-proxy.cpp index cdbf249..ea8976c 100644 --- a/src/hs-proxy.cpp +++ b/src/hs-proxy.cpp @@ -185,7 +185,7 @@ void HS_AfmMainProxy::start(struct hs_instance *instance, afb_req_t request, con * and client context there. We pass the closure_data with the client context * and the application id to remove it. */ - if (!instance) + if (!instance || id.empty()) return; cdata = static_cast<struct closure_data *>(calloc(1, sizeof(*cdata))); |