summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-07 13:43:00 +0200
committerwm4 <wm4@nowhere>2015-09-07 13:55:57 +0200
commit334e84893da668b353ae139858a263d65f4f788e (patch)
tree737bbbaeb7e905615e1789f5af701ee636147e83 /configure.ac
parent6bfcc29f458e597a323f26f30417e057a917cbe6 (diff)
downloadlibass-334e84893da668b353ae139858a263d65f4f788e.tar.bz2
libass-334e84893da668b353ae139858a263d65f4f788e.tar.xz
ass_bitmap: fix potential NULL deref
Another consequence of the trickiness in this code. This codepath for opaque_box=1 assumes both bm_o and bm_g are set, but if memory allocation fails somewhere, bm_o could be non-NULL, but bm_g NULL, which then would result in a crash when accessing bm_g. Possibly this code could be cleaned up to look much nicer (and not have dozens of hidden, obscure bugs), but for now this fixes the potential crash found by Coverity. Fixes CID 146125.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions