aboutsummaryrefslogtreecommitdiff
path: root/hw/isa
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2017-07-25 19:58:53 +0200
committerDavid Gibson <david@gibson.dropbear.id.au>2017-09-08 09:30:54 +1000
commitf5babeacc4abccbb32f318278135a43477bdaa20 (patch)
treec6b9868df124e4882de59fe53242fc0ee34a1eee /hw/isa
parenta205a053dcfd89c7ab57aef48d26cd9349388933 (diff)
spapr_drc: 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 'hw/isa')
0 files changed, 0 insertions, 0 deletions