From e9cf2fe07ff70e939f80c624b44c10a4442eef0b Mon Sep 17 00:00:00 2001 From: Daniel P. Berrange Date: Mon, 23 Nov 2015 15:29:59 +0000 Subject: qemu-char: convert to use error checked base64 decode Switch from using g_base64_decode over to qbase64_decode in order to get error checking of the base64 input data. Reviewed-by: Eric Blake Signed-off-by: Daniel P. Berrange --- qapi-schema.json | 2 -- 1 file changed, 2 deletions(-) (limited to 'qapi-schema.json') diff --git a/qapi-schema.json b/qapi-schema.json index 516b14526b..2e31733b21 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -295,8 +295,6 @@ # @format: #optional data encoding (default 'utf8'). # - base64: data must be base64 encoded text. Its binary # decoding gets written. -# Bug: invalid base64 is currently not rejected. -# Whitespace *is* invalid. # - utf8: data's UTF-8 encoding is written # - data itself is always Unicode regardless of format, like # any other string. -- cgit v1.2.3-55-g7522