diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2015-11-23 15:29:59 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2015-12-18 16:25:08 +0000 |
commit | e9cf2fe07ff70e939f80c624b44c10a4442eef0b (patch) | |
tree | b95a5ea9918d7d1ede762b407d962d9a819a9f0a /qapi-schema.json | |
parent | 89bc0b6cae6e40e9247bf911162b0aee0c818c4c (diff) |
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 <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'qapi-schema.json')
-rw-r--r-- | qapi-schema.json | 2 |
1 files changed, 0 insertions, 2 deletions
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. |