summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2014-09-17 06:21:46 +0000
committerjmc <jmc@openbsd.org>2014-09-17 06:21:46 +0000
commit84ed525c03db78b96f980079f08b344f2727eff3 (patch)
treeddd1596d2496d45c97e67446e57eadcd21db50f6
parentif userland asks for an unknown sysctl, return EOPNOTSUPP instead (diff)
downloadwireguard-openbsd-84ed525c03db78b96f980079f08b344f2727eff3.tar.xz
wireguard-openbsd-84ed525c03db78b96f980079f08b344f2727eff3.zip
diff From: Theo Buehler who notes of kn_encode_base64():
"Since the function is a simple wrapper around b64_ntop(), there is no restriction on the possible lengths of the raw data in `src'." ok millert
-rw-r--r--lib/libkeynote/keynote.36
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/libkeynote/keynote.3 b/lib/libkeynote/keynote.3
index 35e705fe5cf..8f0e831677f 100644
--- a/lib/libkeynote/keynote.3
+++ b/lib/libkeynote/keynote.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: keynote.3,v 1.46 2013/07/16 15:21:11 schwarze Exp $
+.\" $OpenBSD: keynote.3,v 1.47 2014/09/17 06:21:46 jmc Exp $
.\"
.\" The author of this code is Angelos D. Keromytis (angelos@dsl.cis.upenn.edu)
.\"
@@ -20,7 +20,7 @@
.\" MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR
.\" PURPOSE.
.\"
-.Dd $Mdocdate: July 16 2013 $
+.Dd $Mdocdate: September 17 2014 $
.Dt KEYNOTE 3
.\" .TH KeyNote 3 local
.Os
@@ -602,8 +602,6 @@ is returned.
should be long enough to also contain the trailing
string terminator.
If
-.Fa srclen
-is not a multiple of 4, or
.Fa dst
is not long enough to contain the encoded data, this function returns
\-1 and sets