mirror of
https://github.com/amnezia-vpn/amneziawg-tools.git
synced 2026-10-13 21:34:42 +00:00
[PR #73] fix: bound device-level netlink attributes #74
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
amnezia-vpn/amneziawg-tools#74
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/amnezia-vpn/amneziawg-tools/pull/73
Author: @HeisLuka
Created: 9/14/2026
Status: 🔄 Open
Base:
master← Head:fix/device-netlink-buffer-overflow📝 Commits (1)
3360475fix: bound device netlink attributes📊 Changes
1 file changed (+55 additions, -33 deletions)
View changed files
📝
src/ipc-linux.h(+55 -33)📄 Description
Summary
I1–I5attributes againstSOCKET_BUFFER_SIZEWGDEVICE_A_PEERSnest start; if the device block fits but leaves no room for peers, send the device attributes first and continue peers in a fresh messageEMSGSIZEbefore sending when the device-level attribute block itself cannot fitThis removes the write-side heap overflow described in #69 without changing the existing peer-splitting behavior.
The read-side dump hang/leak discussed in the issue comments is separate and is not addressed here.
Fixes #69
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.