forked from OpenVPN/openvpn3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sitnl: move large memory block from stack to heap
It is not recommended to allocate big blocks on the stack, however the sitnl sending routine is stacking a 16KB large buffer. Allocate it using heap memory and avoid using the stack. Addresses-Coverity: ("Large stack use") Signed-off-by: Antonio Quartulli <antonio@openvpn.net>
- Loading branch information
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters