diff options
author | 2016-02-15 09:47:49 +0000 | |
---|---|---|
committer | 2016-02-15 09:47:49 +0000 | |
commit | e2395bfa04c44e5d75a338a4c3333a183b5bda50 (patch) | |
tree | fa4f8a11f1c9ba7f6acddb5b5acdf94ba8758f48 /usr.bin/ssh/ssh-agent.c | |
parent | To archive a 101 character absolute path in ustar format we must (diff) | |
download | wireguard-openbsd-e2395bfa04c44e5d75a338a4c3333a183b5bda50.tar.xz wireguard-openbsd-e2395bfa04c44e5d75a338a4c3333a183b5bda50.zip |
Add a function to enable security-related malloc_options. With and ok
deraadt@, something similar has been in the snaps for a while.
Diffstat (limited to 'usr.bin/ssh/ssh-agent.c')
-rw-r--r-- | usr.bin/ssh/ssh-agent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c index 771c4191f36..9b60b3857dc 100644 --- a/usr.bin/ssh/ssh-agent.c +++ b/usr.bin/ssh/ssh-agent.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-agent.c,v 1.211 2015/12/11 17:41:37 doug Exp $ */ +/* $OpenBSD: ssh-agent.c,v 1.212 2016/02/15 09:47:49 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1179,6 +1179,7 @@ main(int ac, char **av) size_t len; mode_t prev_mask; + ssh_malloc_init(); /* must be called before any mallocs */ /* Ensure that fds 0, 1 and 2 are open or directed to /dev/null */ sanitise_stdfd(); |