aboutsummaryrefslogtreecommitdiff
path: root/qmp-commands.hx
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2015-11-23 15:29:59 +0000
committerDaniel P. Berrange <berrange@redhat.com>2015-12-18 16:25:08 +0000
commite9cf2fe07ff70e939f80c624b44c10a4442eef0b (patch)
treeb95a5ea9918d7d1ede762b407d962d9a819a9f0a /qmp-commands.hx
parent89bc0b6cae6e40e9247bf911162b0aee0c818c4c (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 'qmp-commands.hx')
-rw-r--r--qmp-commands.hx2
1 files changed, 0 insertions, 2 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx
index 6f3a25d058..7b235eeff7 100644
--- a/qmp-commands.hx
+++ b/qmp-commands.hx
@@ -512,8 +512,6 @@ Arguments:
- "data": data to write (json-string)
- "format": data format (json-string, optional)
- Possible values: "utf8" (default), "base64"
- Bug: invalid base64 is currently not rejected.
- Whitespace *is* invalid.
Example: