From 8892eca4a7463c15cc07091250a472dccfc75596 Mon Sep 17 00:00:00 2001 From: ThePedroo Date: Fri, 8 Nov 2024 17:21:54 -0300 Subject: [PATCH] fix: wrong longest root implementation name macro value This commit fixes the value of the macro that defines the size of the longest root implementation name, leading to Zygiskd crashes on Magisk Official. --- zygiskd/src/root_impl/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zygiskd/src/root_impl/common.h b/zygiskd/src/root_impl/common.h index 69893fc..dedb796 100644 --- a/zygiskd/src/root_impl/common.h +++ b/zygiskd/src/root_impl/common.h @@ -23,7 +23,7 @@ struct root_impl { uint8_t variant; }; -#define LONGEST_ROOT_IMPL_NAME sizeof("Magisk Kitsune") +#define LONGEST_ROOT_IMPL_NAME sizeof("Magisk Official") void root_impls_setup(void);