freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freeipmi-devel] [bug #36591] error: format not a string literal and


From: Yaroslav Halchenko
Subject: Re: [Freeipmi-devel] [bug #36591] error: format not a string literal and no format arguments [-Werror=format-security]
Date: Tue, 5 Jun 2012 14:12:10 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

shame on me -- I should have thought of this one !
Thanks Diego.

On Tue, 05 Jun 2012, Diego Elio Pettenò wrote:
> > Is there a suggested way to handle this from the Debian folks.

> snprintf(bar, sizeof(bar), "%s", foo);

> is the general suggestion in these cases.
-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        



reply via email to

[Prev in Thread] Current Thread [Next in Thread]