diff options
-rw-r--r-- | src/common/src/launchpad_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/src/launchpad_common.c b/src/common/src/launchpad_common.c index 3c61837..1521634 100644 --- a/src/common/src/launchpad_common.c +++ b/src/common/src/launchpad_common.c @@ -603,10 +603,10 @@ static bool __validate_bundle_key(const char *key) if (!key) return false; - if (!strncmp(key, "__AUL_", sizeof("__AUL_"))) + if (!strncmp(key, "__AUL_", strlen("__AUL_"))) return false; - if (!strncmp(key, "__APP_SVC_", sizeof("__APP_SVC_"))) + if (!strncmp(key, "__APP_SVC_", strlen("__APP_SVC_"))) return false; return true; |