Fixed a potential integer overflow in MemToBlock().
When the integer overflow happens, the block_t returned will be smaller than requested. It fixes the second half of #5841. (cherry picked from commit 04c9c0e7) Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Showing
Please register or sign in to comment