|
From: | Diego Elio Pettenò |
Subject: | Re: [Freeipmi-devel] [bug #36591] error: format not a string literal and no format arguments [-Werror=format-security] |
Date: | Tue, 05 Jun 2012 20:03:39 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120528 Thunderbird/12.0.1 |
Il 05/06/2012 19:56, Albert Chu ha scritto: > 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. -- Diego Elio Pettenò — Flameeyes address@hidden — http://blog.flameeyes.eu/
[Prev in Thread] | Current Thread | [Next in Thread] |