[Developers] [CactusMaint] Cactus/2058: Util_snprintf() fails for format string "distance=%d threshold=%g %s"
schnetter at cct.lsu.edu
Thu Sep 28 11:01:33 CDT 2006
On Sep 28, 2006, at 07:59:38, Jonathan Thornburg wrote:
> Just to refresh everyone's memory, this bug (#2058) reports that
> Util_snprintf() writes incorrect (garbled) characters to the string
> buffer for the test format string "distance=%d threshold=%g %s" (with
> arguments 3, 0.0, and "order=2" respectively). The bug report
> a test thorn which demonstrates the problem.
> I suggested that rather than trying to patch Cactus's Util_snprintf(),
> we replace it with an existing one from some other license-compatible
> free software project. At the moment Apache1's src/ap/ap_snprintf.c
> looks like the best candidate -- it's a pretty standard BSD license,
> [unlike Apache2, which has a whole load of new
> legalese in their license terms]
> requiring only a credit in the Cactus documentation, and the code
> looks decently self-contained.
glibc is also distributed under the LGPL.
Erik Schnetter <schnetter at cct.lsu.edu>
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from www.keyserver.net.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://www.cactuscode.org/pipermail/developers/attachments/20060928/df945a24/attachment.bin
More information about the Developers