diff options
author | Oneric <oneric@oneric.stub> | 2022-04-11 21:25:04 +0200 |
---|---|---|
committer | Oneric <oneric@oneric.stub> | 2022-04-13 00:05:45 +0200 |
commit | 6678a517f8fc839dbe17c0846c5368c4327aef5b (patch) | |
tree | b794c5a38ebcdebb7c7f94c7aefd651c4d82141a /libass/ass.c | |
parent | c5ee66dfb4b10c3c499aa804c6d1abb195c696e1 (diff) | |
download | libass-6678a517f8fc839dbe17c0846c5368c4327aef5b.tar.bz2 libass-6678a517f8fc839dbe17c0846c5368c4327aef5b.tar.xz |
rasterizer: fix pointer arithmetic in assert
path->points can be NULL and any pointer arithmetic
on NULL, even NULL + 0, is undefined behaviour.
The rest of the function should be safe with NULL.
Found by AFL++ and UBSAN.
Diffstat (limited to 'libass/ass.c')
0 files changed, 0 insertions, 0 deletions