[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: possible bug in snprintf()
From: |
Paul Jarc |
Subject: |
Re: possible bug in snprintf() |
Date: |
Thu, 26 Aug 2004 00:28:01 -0400 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux) |
Ryan Ordway <address@hidden> wrote:
> snprintf(string, sizeof(string), "Gain the 100% natural");
The third argument must be a format string, not random data.
snprintf(string, sizeof(string), "%s", "Gain the 100% natural");
paul