summaryrefslogtreecommitdiffstats
path: root/qapi-schema.json
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2015-11-23 15:29:59 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:28:20 -0600
commit299bfaa4fd6e36f662fb6de994b71b52c9cfa099 (patch)
tree7e1ad20629beeb0ae0c412a3fae30413d3bd6d55 /qapi-schema.json
parentaba0ad4fde5542eb4502e7838fe81d331b03d071 (diff)
downloadhqemu-299bfaa4fd6e36f662fb6de994b71b52c9cfa099.zip
hqemu-299bfaa4fd6e36f662fb6de994b71b52c9cfa099.tar.gz
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.json2
1 files changed, 0 insertions, 2 deletions
diff --git a/qapi-schema.json b/qapi-schema.json
index 516b145..2e31733 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.
OpenPOWER on IntegriCloud