summaryrefslogtreecommitdiff
path: root/source/svg
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2018-08-12 20:55:17 +0800
committerSebastian Rasmussen <sebras@gmail.com>2018-08-14 20:56:54 +0800
commitdac34508c049d12c801416727652f94daed4fd4b (patch)
tree5cad811e8d1b49eae2997bf4acea7d711539a9a8 /source/svg
parent2c9c8b75de448ae0ee1394f672eb0baa4c7dd57a (diff)
downloadmupdf-dac34508c049d12c801416727652f94daed4fd4b.tar.xz
Bug 699631: Handle unsupported triangle mesh edge flags.
There were two issues with the code parsing the triangle mesh's edge flags: * meshes were not require to start with an independent triangle * out of range edge flags caused vertices to be ignored A mesh where the edge flag of the first vertice is out of range, and the edge flag of the second vertex indicates continuation of a prior triangle would result in trying to create a triangle where the third coordinate would be uninitialized. This commit requires the edge flag of the first vertex to indicate a new independent triangle and if out of range edge flags are encountered they are treated as if they indicate a new triangle. Thanks to oss-fuzz for reporting.
Diffstat (limited to 'source/svg')
0 files changed, 0 insertions, 0 deletions