diff options
author | 2016-05-30 12:57:21 +0000 | |
---|---|---|
committer | 2016-05-30 12:57:21 +0000 | |
commit | 086cfbad0002d5865856fd9f8dc6d6c1b77984ea (patch) | |
tree | 453c5eab4656478ad5f096d1e5eddec96893995e /lib/libssl/t1_lib.c | |
parent | Insert a hack to deal with interfaces removing the VLAN header before (diff) | |
download | wireguard-openbsd-086cfbad0002d5865856fd9f8dc6d6c1b77984ea.tar.xz wireguard-openbsd-086cfbad0002d5865856fd9f8dc6d6c1b77984ea.zip |
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 'lib/libssl/t1_lib.c')
0 files changed, 0 insertions, 0 deletions