-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ne_session_set_event_handler_block prototype #17
Comments
Thanks for reporting this weird issue. Could you please run |
While debugging arm64 version:
With SCNetworkConnection.c, line 2468 line 2746 |
…handler_block which could possibly lead to a crash.
@alxtplv Thanks a lot for the research and help. It appears that you are absolutely right and I incorrectly reverse-engineered the prototype of The fact that the parameters were not used might explain why the release version was not crashing? |
Debug version of VPNStatus.app crashes on [ACNEService setupEventCallback]_block_invoke when running on my M1 Apple Silicon. (XCode 13.2.1, MacOS 12.2.1)
M1 release version, and Intel/Rosetta versions work fine, though.
ACDefines.h, line 49
typedef void (^ne_session_set_event_handler_block)(xpc_object_t result);
Perhaps it should be
typedef void (^ne_session_set_event_handler_block)(ne_session_event_t event, void *event_data);
The text was updated successfully, but these errors were encountered: