apr_vformatter mishandles "%n" (patch included)
From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2000-10-30 21:44:56 CET
The call
apr_psprintf (pool, "%u%n", random_number, &random_portion_width);
was producing a string that had garbage bytes following the correctly
The patch below is a pretty quick job; if someone else has a more
-Karl
2000-10-30 Karl Fogel <kfogel@collab.net>
* apr_snprintf.c (apr_vformatter): don't print anything for "%n".
--- apr_snprintf.c Mon Oct 30 14:23:52 2000
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.