mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-31 00:03:07 +03:00
buffer: Add a secure buffer mechanism to avoid memory spills
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
committed by
Andreas Schneider
parent
2cb2587b55
commit
86ae6b2251
@ -9,6 +9,7 @@
|
||||
static void setup(void **state) {
|
||||
ssh_buffer buffer;
|
||||
buffer = ssh_buffer_new();
|
||||
ssh_buffer_set_secure(buffer);
|
||||
*state = (void *) buffer;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user