mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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>
This commit is contained in:
parent
89bc0b6cae
commit
e9cf2fe07f
3 changed files with 7 additions and 5 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue