Skip to content

Fix issue 579

Uli Schlachter requested to merge psychon/cairo:issue-579 into master

cairo-trutype-subset.c would blindly trust a font saying that its name list has thousands of entries. This commit changes find_name() to also get the size of the input memory region and to do some bounds checking on its memory accesses.

Fixes: #579 (closed) Signed-off-by: Uli Schlachter psychon@znc.in

Merge request reports