Skip to content
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

fix(macos): check IPC message body is null before dereference it, close tauri#9787 #1267

Merged
merged 1 commit into from
May 16, 2024

Conversation

pewsheen
Copy link
Contributor

Close tauri-apps/tauri#9787
When the message body is empty, the data_bytes is null. We should check it before dereference it.

@pewsheen pewsheen requested a review from a team as a code owner May 16, 2024 07:55
@pewsheen pewsheen changed the title fix(macos): check IPC message body is null before dereference it, close tauri-apps/tauri#9787 fix(macos): check IPC message body is null before dereference it, close tauri#9787 May 16, 2024
@dklassic dklassic merged commit 1e65049 into dev May 16, 2024
12 checks passed
@dklassic dklassic deleted the fix/macos-ipc-empty-body branch May 16, 2024 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug] can not send empty Unit8Array data by ipc in the v2
2 participants