summaryrefslogtreecommitdiffstats
path: root/libmpdemux/aac_hdr.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-10-31 05:14:50 +0200
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:17:04 +0200
commit7aa202d9a7e6efb87a17c6dcf83008fc513f1201 (patch)
treedf2870aaf2a6f55baf230a0c4977ca0a38087ecd /libmpdemux/aac_hdr.h
parentb9e50fb409fbd0458b5e6affc4bd856cce1b6fd2 (diff)
downloadmpv-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 'libmpdemux/aac_hdr.h')
0 files changed, 0 insertions, 0 deletions