• Denis Charmet's avatar
    Check element size before reading it · 487cf6e4
    Denis Charmet authored
    This should avoid integer overflows inside the libebml causing heap buffer overflow. Since new called by the lib is limited to SIZE_MAX bytes.
    (cherry picked from commit 027380966251622435288af5b0f9bacfec549288)
    
    Conflicts:
    	modules/demux/mkv/matroska_segment.cpp
    487cf6e4
matroska_segment.cpp 57.3 KB