[PATCH 0/1] MR8804: server: Return NULL from get_first_valid_hook when no hook is found.
21 Aug
2025
21 Aug
'25
8:24 a.m.
Fixes: 5b7b76432dffa453e75c6336d76fdb856ab8d0c7 -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8804
21 Aug
21 Aug
8:25 a.m.
New subject: [PATCH 1/1] server: Return NULL from get_first_valid_hook when no hook is found.
From: Rémi Bernon <rbernon(a)codeweavers.com> Fixes: 5b7b76432dffa453e75c6336d76fdb856ab8d0c7 --- server/hook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/hook.c b/server/hook.c index e0281d92b81..688174baab5 100644 --- a/server/hook.c +++ b/server/hook.c @@ -257,7 +257,7 @@ static inline struct hook *get_first_valid_hook( struct hook_table *table, int i } } } - return hook; + return NULL; } /* find the next hook in the chain, skipping the deleted ones */ -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8804
196
Age (days ago)
196
Last active (days ago)
1 comments
1 participants
participants (1)
-
Rémi Bernon