| 274 | } |
| 275 | |
| 276 | static void mi_check_padding(const mi_page_t* page, const mi_block_t* block) { |
| 277 | size_t size; |
| 278 | size_t wrong; |
| 279 | if (!mi_verify_padding(page,block,&size,&wrong)) { |
| 280 | _mi_error_message(EFAULT, "buffer overflow in heap block %p of size %zu: write after %zu bytes\n", block, size, wrong ); |
| 281 | } |
| 282 | } |
| 283 | |
| 284 | // When a non-thread-local block is freed, it becomes part of the thread delayed free |
| 285 | // list that is freed later by the owning heap. If the exact usable size is too small to |
no test coverage detected