a0c3a13887af4a269e2848b4f30014ca16ef4823 |
|
03-Jun-2016 |
Baofeng Wang <baofeng.wang@dovecot.fi> |
liblib: *_strndup() and *_strconcat() shouldn't pass through NULLs.
Assert NULL string pointer in below functions:
i_strndup(), t_strndup() and p_strconcat(), t_strconcat(), i_strconcat() and
vstrconcat.
Replace former NULL condition check accordingly. |
947c73f0caf834776301bce14ae0a6e2b47d6683 |
|
16-May-2005 |
Timo Sirainen <tss@iki.fi> |
If p_malloc() used data stack (with DEBUG enabled it might have written a
warning about growing memory pool), p_strconcat() gave corrupted reply. It
also didn't work correctly if the given pool was a data stack.
Also made i_strconcat() to be sure it doesn't break if default_pool's
p_malloc() for some reason would some day use data stack.
--HG--
branch : HEAD |