Change-Id: Ibe121a4d98cec1fe4aaaf61dd8b321f0c88ddd9a
Name: crash-worker
Summary: Coredump handler and report generator for Tizen
-Version: 6.0.10
+Version: 6.0.11
Release: 1
Group: Framework/system
License: Apache-2.0 and BSD-2-Clause and MIT
Name: crash-worker_system-tests
Summary: Package with binaries and scripts for crash-worker system tests
-Version: 6.0.10
+Version: 6.0.11
Release: 1
Group: Framework/system
License: Apache-2.0 and BSD
have_appid = aid != NULL;
if (have_appid)
- *appid = aid;
+ *appid = strdup(aid);
out_free:
pkgmgrinfo_appinfo_filter_destroy(handle);
- return have_appid;
+ return have_appid && *appid != NULL;
}
static bool get_pkgid(char *appid, char **pkgid)
have_pkgid = p != NULL;
if (have_pkgid)
- *pkgid = p;
+ *pkgid = strdup(p);
out_free:
pkgmgrinfo_appinfo_destroy_appinfo(handle);
- return have_pkgid;
+ return have_pkgid && *pkgid != NULL;
}
static bool set_appinfo(char *exepath, char **appid, char **pkgid)