mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-22 09:05:59 +01:00
signal: fix invalid pointer access (#4207)
This commit is contained in:
parent
4eb42fab7b
commit
79f3888b4b
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ void handleUnrecoverableSignal(int sig) {
|
|||
signal(SIGABRT, SIG_DFL);
|
||||
signal(SIGSEGV, SIG_DFL);
|
||||
|
||||
if (g_pHookSystem->m_bCurrentEventPlugin) {
|
||||
if (g_pHookSystem && g_pHookSystem->m_bCurrentEventPlugin) {
|
||||
longjmp(g_pHookSystem->m_jbHookFaultJumpBuf, 1);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue