mirror of
https://github.com/amnezia-vpn/amneziawg-linux-kernel-module.git
synced 2026-10-14 13:52:06 +00:00
[GH-ISSUE #102] A potential memory leak in junk.c #59
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-linux-kernel-module#59
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?
Originally created by @orange-banal-pole on GitHub (Oct 9, 2025).
Original GitHub issue: https://github.com/amnezia-vpn/amneziawg-linux-kernel-module/issues/102
Originally assigned to: @ygurov on GitHub.
github.com/amnezia-vpn/amneziawg-linux-kernel-module@87a06ff146/src/junk.c (L284-L289)If the first
kzallocsucceeds but the second one fails, the current code will return without freeingspec->pkt.