aboutsummaryrefslogtreecommitdiffstats
path: root/libar2_encode_base64.3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2022-02-12 16:41:47 +0100
committerMattias Andrée <maandree@kth.se>2022-02-12 16:41:47 +0100
commite9027b2910c0ad903b0e6a88e4a4004a128f0630 (patch)
treea849a3122f13965a3685bed02e89bbacfca9c08b /libar2_encode_base64.3
parentAdd man pages, readme, and nonnull attributes and fix documentation typos (diff)
downloadlibar2-e9027b2910c0ad903b0e6a88e4a4004a128f0630.tar.gz
libar2-e9027b2910c0ad903b0e6a88e4a4004a128f0630.tar.bz2
libar2-e9027b2910c0ad903b0e6a88e4a4004a128f0630.tar.xz
libar2_encode_base64: data may be NULL if buf is NULL
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libar2_encode_base64.3')
-rw-r--r--libar2_encode_base64.35
1 files changed, 4 insertions, 1 deletions
diff --git a/libar2_encode_base64.3 b/libar2_encode_base64.3
index bb5b927..11bf98e 100644
--- a/libar2_encode_base64.3
+++ b/libar2_encode_base64.3
@@ -42,7 +42,10 @@ may only be
.I NULL
if
.I len
-is 0.
+is 0 or if
+.I buf
+is
+.IR NULL .
.SH RETURN VALUES
The