]> git.sesse.net Git - vlc/commit
Fixed a potential integer overflow in MemToBlock().
authorLaurent Aimar <fenrir@videolan.org>
Thu, 12 Jan 2012 20:31:13 +0000 (21:31 +0100)
committerLaurent Aimar <fenrir@videolan.org>
Thu, 12 Jan 2012 20:46:22 +0000 (21:46 +0100)
commit04c9c0e7e8f4687c9881c6ad10d9e31152249697
tree1a61a38452654400d85b25494218e625b744feda
parent64756cf2a5f704774c16f0842edc00044a062be0
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.
modules/demux/mkv/mkv.cpp