1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-01-30 16:17:02 +01:00
Werner Koch e97e2ced6c estream: Fix unclean usage of realloc.
* 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-20 14:27:36 +01:00
..
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2007-07-04 19:49:40 +00:00
2011-02-03 16:35:33 +01:00
2011-02-08 21:11:19 +01:00
2011-02-08 21:11:19 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2007-07-04 19:49:40 +00:00
2011-02-11 17:38:39 -08:00
2011-08-10 14:11:30 +02:00
2007-07-04 19:49:40 +00:00
2011-08-10 14:11:30 +02:00
2011-02-04 12:57:53 +01:00
2007-07-04 19:49:40 +00:00
2011-02-03 20:59:01 +01:00
2011-02-04 12:57:53 +01:00
2011-07-20 20:49:41 +02:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00

Stuff used by several modules of GnuPG.

These directories use it:

gpg
sm
agent

These directories don't use it:

kbx