summaryrefslogtreecommitdiffstats
path: root/lib/libssl/src
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2004-01-20 06:06:48 +0000
committermillert <millert@openbsd.org>2004-01-20 06:06:48 +0000
commit36d916d1212c9ab9fbaead1598459208e8b21625 (patch)
tree7f6901b3fd2279e40e165fefe8344bfa14277868 /lib/libssl/src
parentsome pieces of ufs2. help testing otto sturm (diff)
downloadwireguard-openbsd-36d916d1212c9ab9fbaead1598459208e8b21625.tar.xz
wireguard-openbsd-36d916d1212c9ab9fbaead1598459208e8b21625.zip
Fix the example code. The loop invariant 'i' was not bound by MAXTOKENS
which could result in writing a NUL byte outside of tokens[]. A fix, from Patrick Latifi, is to move the increment into the "i < MAXTOKENS - 1" block.
Diffstat (limited to 'lib/libssl/src')
0 files changed, 0 insertions, 0 deletions