Ensure that the size calculation does not overflow when allocating memory for an array.
Add ISC_OVERFLOW macros for checked arithmetic operations. Use them to implement isc_mem_callocate()
. Use isc_mem_callocate()
where appropriate.
Ensure that the size calculation does not overflow when allocating memory for an array.
Add ISC_OVERFLOW macros for checked arithmetic operations. Use them to implement isc_mem_callocate()
. Use isc_mem_callocate()
where appropriate.