[dovecot/core] 71b92c: lib: Add i_realloc_type() for i_realloc() that che...
GitHub
noreply at github.com
Thu Jun 8 14:00:10 EEST 2017
Branch: refs/heads/master
Home: https://github.com/dovecot/core
Commit: 71b92ca8e3ecfba24c2247df997719a4a482850c
https://github.com/dovecot/core/commit/71b92ca8e3ecfba24c2247df997719a4a482850c
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M src/lib/Makefile.am
M src/lib/imem.h
M src/lib/mempool.h
A src/lib/test-imem.c
M src/lib/test-lib.inc
Log Message:
-----------
lib: Add i_realloc_type() for i_realloc() that checks for overflows
Commit: 6509aa7306649042e828fef9e2f280f4535ea137
https://github.com/dovecot/core/commit/6509aa7306649042e828fef9e2f280f4535ea137
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M src/lib/Makefile.am
M src/lib/test-lib.inc
M src/lib/test-mempool-alloconly.c
A src/lib/test-mempool.c
Log Message:
-----------
lib: Add test-mempool unit test.
It verifies that the p_new() and p_realloc_type() handle overflows
correctly. test-malloc-overflow already does this for the low-level
MALLOC_*() macros, but here we're cheking that the actually used
memory allocation macros also work.
Commit: e6d4f540bf5c3b7ef5d6e154b217a2422210048c
https://github.com/dovecot/core/commit/e6d4f540bf5c3b7ef5d6e154b217a2422210048c
Author: Timo Sirainen <timo.sirainen at dovecot.fi>
Date: 2017-06-08 (Thu, 08 Jun 2017)
Changed paths:
M src/lib-index/mail-cache-fields.c
M src/lib-index/mail-cache-transaction.c
M src/lib/ioloop-poll.c
Log Message:
-----------
global: Use i_realloc_type() wherever possible
Compare: https://github.com/dovecot/core/compare/d8ed8d558654...e6d4f540bf5c
More information about the dovecot-cvs
mailing list