[PR #147] [MERGED] fix transmuting to pointer types UB #301

Closed
opened 2026-05-05 22:16:16 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/feschber/lan-mouse/pull/147
Author: @feschber
Created: 6/25/2024
Status: Merged
Merged: 6/25/2024
Merged by: @feschber

Base: mainHead: fix-UB-transmute


📝 Commits (1)

  • fc17f70 fix transmuting to pointer types UB

📊 Changes

1 file changed (+3 additions, -6 deletions)

View changed files

📝 src/capture/windows.rs (+3 -6)

📄 Description

transmuting to and from pointer types is UB


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/feschber/lan-mouse/pull/147 **Author:** [@feschber](https://github.com/feschber) **Created:** 6/25/2024 **Status:** ✅ Merged **Merged:** 6/25/2024 **Merged by:** [@feschber](https://github.com/feschber) **Base:** `main` ← **Head:** `fix-UB-transmute` --- ### 📝 Commits (1) - [`fc17f70`](https://github.com/feschber/lan-mouse/commit/fc17f7033fe3e5edd665ea00010ece6c020746e0) fix transmuting to pointer types UB ### 📊 Changes **1 file changed** (+3 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `src/capture/windows.rs` (+3 -6) </details> ### 📄 Description transmuting to and from pointer types is UB --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 22:16:16 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#301
No description provided.