提交 48146e56 编写于 作者: B Behdad Esfahbod

Don't fail sanitize on NULL data

上级 d2c2ca8f
......@@ -290,6 +290,11 @@ struct Sanitizer
context->init (blob);
if (unlikely (!context->start)) {
context->finish ();
return blob;
}
Type *t = CastP<Type> (const_cast<char *> (context->start));
sane = t->sanitize (context);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册