#10 Always use a format string with sprintf()

open
nobody
None
5
2013-01-01
2011-09-27
Stephen Kitt
No

Hi,

Debian recently introduced "hardening" options by default when building packages; amongst other things this causes errors when print()-family functions are used without a format string. The attached patch fixes the occurrences of this usage in gnurobbo.

Regards,

Stephen

Discussion

  • Stephen Kitt
    Stephen Kitt
    2011-09-27

    Always use a format string with sprintf()

     
    Attachments
  • Thunor
    Thunor
    2011-09-28

    Many thanks for that Stephen.

    Regards,
    Thunor