-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: fix null pointer dereference for some case (#1075)
在 #973 __never_use_envp 被改名为 envp 并使用。 这导致 GKI 版本一旦代码运行到 [213](https://github.com/tiann/KernelSU/blob/344c08bb79ba12b692016750cda363f9f3500182/kernel/ksud.c#L213) 行(或许只有 WSA 等类似情况会跑到这?),就会触发一个空指针解引用。 此PR意在修复此问题,且已在WSA上测试。
- Loading branch information
1 parent
f349507
commit 1b67c1b
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters