diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-05-30 12:57:22 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2016-05-30 12:57:22 +0000 |
commit | 9be6e5b74ad4bc70cb6a82115bf73c03046db3d4 (patch) | |
tree | 618ab6f155b8f991df9a9e4a656d74d15d3a73c0 /usr.bin/ssh/ssh-add.1 | |
parent | 266fac72e1f616dd32bc3abff13fa36a63b26951 (diff) |
Even when only writing an unescaped character, the dst buffer may need to
grow, or it would be overrun; issue found by tb@ with malloc.conf(5) 'C'.
While here, reserve an additional byte for the terminating NUL
up front such that we don't have to realloc() later just for that.
OK tb@
Diffstat (limited to 'usr.bin/ssh/ssh-add.1')
0 files changed, 0 insertions, 0 deletions