On 09/02/2010 05:43 AM, Matthias Bolte wrote:
-/* Assuming can't have more then devices so
- * restricting to %04d
+/* Zero pad for nice alignment when fewer than
+ * devices.
2010/9/1 Eric Blake :
> * src/vbox/vbox_tmpl.c (vboxStartMachine, vboxAttachUSB): Use
> virAsprintf instead.
> ---
>
> This removes all use of sprintf in vbox. The first 3 use virAsprintf
> (DISPLAY may be arbitrarily long, and while we are unlikely to hit
> devices, it's better to be safe th
* src/vbox/vbox_tmpl.c (vboxStartMachine, vboxAttachUSB): Use
virAsprintf instead.
---
This removes all use of sprintf in vbox. The first 3 use virAsprintf
(DISPLAY may be arbitrarily long, and while we are unlikely to hit
devices, it's better to be safe than to risk silent buffer
overflow);