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: Albert Chu
Subject: Re: [Freeipmi-devel] [bug #36591] error: format not a string literal and no format arguments [-Werror=format-security]
Date: Tue, 05 Jun 2012 11:21:14 -0700

Thanks Diego.  Yeah, it seems so obvious now :P

Al

On Tue, 2012-06-05 at 11:12 -0700, Yaroslav Halchenko wrote:
> 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.
-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory





reply via email to

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