freeipmi-devel
[Top][All Lists]
Advanced

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

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


From: Albert Chu
Subject: [Freeipmi-devel] [bug #36591] error: format not a string literal and no format arguments [-Werror=format-security]
Date: Tue, 05 Jun 2012 17:56:42 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120402 Firefox/10.0.3

Follow-up Comment #1, bug #36591 (project freeipmi):

(As discussed on mailing list)

A lot of those functions have snprintf-like return values, which is why I call
snprintf the way I do.  I'm not 100% sure how to deal with this cleanly. 
strncpy + strlen I don't think handle the end '\0' character the same. I will
research this a bit.

Is there a suggested way to handle this from the Debian folks.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?36591>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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