提交 5769538a 编写于 作者: B Behdad Esfahbod

[HB] Add note about auditing sanitize code for overflows

上级 15232e26
......@@ -3,3 +3,4 @@
- cmap14 support in get_glyph callback
- size_t?
- Figure out compiler selection (add test for link to libstdc++)
- Audit sanitize for int overflows
......@@ -565,7 +565,7 @@ struct PairPosFormat2
SANITIZE_THIS2 (classDef1, classDef2) &&
SANITIZE_MEM (values,
(valueFormat1.get_size () + valueFormat2.get_size ()) *
class1Count * class2Count);
class1Count * class2Count); /* XXX overflow (in other places too) */
}
private:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册