[Libvir] sprintf cleanup patch

Richard W.M. Jones rjones at redhat.com
Fri Mar 23 14:53:31 UTC 2007

Daniel Veillard wrote:
>  Sprintf is potentially dangerous, so I replaced all instances with
> snprintf (even in cases where the usage was garanteed to be safe to
> have a coherent approach).
>  Pending patch appended,

Very good idea.


Emerging Technologies, Red Hat  http://et.redhat.com/~rjones/
64 Baker Street, London, W1U 7DF     Mobile: +44 7866 314 421
  "[Negative numbers] darken the very whole doctrines of the equations
  and make dark of the things which are in their nature excessively
  obvious and simple" (Francis Maseres FRS, mathematician, 1759)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20070323/dbd77b10/attachment-0001.bin>

More information about the libvir-list mailing list