Greg Kurz f5babeacc4 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>
2017-09-08 09:30:54 +10:00
..
2017-08-31 12:29:07 +02:00
2017-08-02 18:30:13 -03:00
2017-08-31 12:29:07 +02:00
2017-08-10 14:33:43 +01:00
2017-08-31 15:52:43 +01:00
2017-08-30 18:23:26 +02:00
2017-09-04 18:41:01 +01:00
2017-08-31 12:29:07 +02:00
2017-08-31 12:29:07 +02:00
2017-08-31 12:29:07 +02:00
2017-08-30 18:23:25 +02:00