From e9027b2910c0ad903b0e6a88e4a4004a128f0630 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 12 Feb 2022 16:41:47 +0100 Subject: libar2_encode_base64: data may be NULL if buf is NULL MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libar2_encode_base64.3 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libar2_encode_base64.3') 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 -- cgit v1.2.3-70-g09d2