提交 568a0c60 编写于 作者: B Behdad Esfahbod

Remove pointless overflow check in pointer math

Fixes https://github.com/behdad/harfbuzz/issues/227
上级 aae28470
......@@ -104,7 +104,6 @@ hb_blob_create (const char *data,
if (!length ||
length >= 1u << 31 ||
data + length < data /* overflows */ ||
!(blob = hb_object_create<hb_blob_t> ())) {
if (destroy)
destroy (user_data);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册