summaryrefslogtreecommitdiffstats
path: root/tests/.gitignore
diff options
context:
space:
mode:
authorDaniel P. Berrange2015-11-23 16:24:50 +0100
committerDaniel P. Berrange2015-12-18 17:25:08 +0100
commit89bc0b6cae6e40e9247bf911162b0aee0c818c4c (patch)
treebe3ea0fed48a497e04e74b999d63e979faed3eea /tests/.gitignore
parentconfigure: Fix shell syntax to placate OpenBSD's pdksh (diff)
downloadqemu-89bc0b6cae6e40e9247bf911162b0aee0c818c4c.tar.gz
qemu-89bc0b6cae6e40e9247bf911162b0aee0c818c4c.tar.xz
qemu-89bc0b6cae6e40e9247bf911162b0aee0c818c4c.zip
util: add base64 decoding function
The standard glib provided g_base64_decode doesn't provide any kind of sensible error checking on its input. Add a QEMU custom wrapper qbase64_decode which can be used with untrustworthy input that can contain invalid base64 characters, embedded NUL characters, or not be NUL terminated at all. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'tests/.gitignore')
-rw-r--r--tests/.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/.gitignore b/tests/.gitignore
index 77aaba6c2f..596fef3a34 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -8,6 +8,7 @@ check-qom-interface
check-qom-proplist
rcutorture
test-aio
+test-base64
test-bitops
test-blockjob-txn
test-coroutine