When the integer overflow happens, the block_t returned will be smaller than requested. It fixes the second half of #5841.