diff options
author | wm4 <wm4@nowhere> | 2020-02-04 21:24:30 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-03-06 13:07:13 +0100 |
commit | f353ccf1f3efa6c4ccddee1713b62f1c49627619 (patch) | |
tree | 870197ca99dd09dcff1721f2b55fc555986adf55 /libass/Makefile.am | |
parent | 6a670b485536e0398b3fc414fc4317a7b65b5622 (diff) | |
download | libass-f353ccf1f3efa6c4ccddee1713b62f1c49627619.tar.bz2 libass-f353ccf1f3efa6c4ccddee1713b62f1c49627619.tar.xz |
ass_blur: check for memory allocation size overflows
Check for overflows that could happen with alignment and the
multiplication. The INT_MAX / 4 is somewhat approximate and assumes that
degenerate alignment values won't happen.
This still assumes that a possibly overflowing end_w/end_h calculation
doesn't make the compiler's optimizer destroy the overflow checks.
Diffstat (limited to 'libass/Makefile.am')
0 files changed, 0 insertions, 0 deletions