On 22 September 2014 09:59, <miny...@acm.org> wrote: > From: Corey Minyard <cminy...@mvista.com> > > Signed-off-by: Corey Minyard <cminy...@mvista.com> > Reviewed-by: Paolo Bonzini <pbonz...@redhat.com>
Wouldn't it be better to just drop the max-size restriction by using g_strdup_printf (and then free when done) rather than snprintf into a fixed size buffer? thanks -- PMM