diff options
author | Greg Kurz <groug@kaod.org> | 2017-07-25 19:58:40 +0200 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-09-08 09:30:54 +1000 |
commit | a205a053dcfd89c7ab57aef48d26cd9349388933 (patch) | |
tree | 1bedf500a5a235433844910ed75c3409f3513877 /po | |
parent | 5c3d70e9701402e2755cf5d43f62a305ade4def2 (diff) | |
download | qemu-a205a053dcfd89c7ab57aef48d26cd9349388933.zip qemu-a205a053dcfd89c7ab57aef48d26cd9349388933.tar.gz qemu-a205a053dcfd89c7ab57aef48d26cd9349388933.tar.bz2 |
spapr_iommu: use g_strdup_printf() instead of snprintf()
Passing a stack allocated buffer of arbitrary length to snprintf()
without checking the return value can cause the resultant strings
to be silently truncated.
Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'po')
0 files changed, 0 insertions, 0 deletions