diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-10-31 05:14:50 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:17:04 +0200 |
commit | 7aa202d9a7e6efb87a17c6dcf83008fc513f1201 (patch) | |
tree | df2870aaf2a6f55baf230a0c4977ca0a38087ecd /vidix | |
parent | b9e50fb409fbd0458b5e6affc4bd856cce1b6fd2 (diff) | |
download | mpv-7aa202d9a7e6efb87a17c6dcf83008fc513f1201.tar.bz2 mpv-7aa202d9a7e6efb87a17c6dcf83008fc513f1201.tar.xz |
demux_mkv: add some sanity checks
Add some checks to prevent bad files from creating arbitrarily large
buffer blocks (which could result in integer overflows and memory
corruption). Remove a test with little use from demux_mkv_decode(); it
compared an int with size_t, and was useless on 64-bit platforms at
least.
Diffstat (limited to 'vidix')
0 files changed, 0 insertions, 0 deletions