aboutsummaryrefslogtreecommitdiffstats
path: root/common/estream-printf.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-01-20estream: Fix unclean usage of realloc.Werner Koch1-13/+29
* common/estream-printf.c (_ESTREAM_PRINTF_MALLOC): Remove. (_ESTREAM_PRINTF_FREE): Remove. (_ESTREAM_PRINTF_REALLOC): New. (fixed_realloc) [!_ESTREAM_PRINTF_REALLOC]): New. (estream_vasprintf): Use my_printf_realloc instead of my_printf_malloc and my_printf_free. (dynamic_buffer_out): Use my_printf_realloc instead of realloc. -- This bug will never happen in current GnuPG/Libgcrypt because we use the standard memory allocation functions via Libgcrypt. However, when used in other environments it would mess up the heap for an asprintf with an output length larger than ~512 bytes.
2012-01-11estream: Avoid printing leading zeroes by %p on 32 bit systems.Werner Koch1-1/+1
* common/estream-printf.c (pr_pointer): Synchronize definition of AULONG with its use.
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch1-96/+94
We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
2010-03-02First steps towards the W32CE portWerner Koch1-6/+57
2009-09-03Update estream.Werner Koch1-338/+16
2008-10-19Fix a bug in estream_snprintf. Found by a failed t-gettime under Windows.Werner Koch1-10/+40
2007-08-22Updated estream.Werner Koch1-3/+1
More changes for Windows.
2007-08-01Removed unportable testing code. Werner Koch1-135/+77
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-06-25Fixed a problem in estream-printf.c.Werner Koch1-16/+19
Changes for Windows (gpgsm -k does now work). Minor cleanups.
2007-05-15Adjusted symbols for printf and updated to latest version.Werner Koch1-12/+12
2007-05-15Use estream_asprintf instead of the GNU asprintf.Werner Koch1-0/+2139