提交 62ed5850 编写于 作者: B Behdad Esfahbod

[HB] Fix another sanitize() bug; hopefully it's the last one

上级 90482b68
...@@ -48,7 +48,7 @@ struct Record ...@@ -48,7 +48,7 @@ struct Record
{ {
inline bool sanitize (SANITIZE_ARG_DEF, const void *base) { inline bool sanitize (SANITIZE_ARG_DEF, const void *base) {
SANITIZE_DEBUG (); SANITIZE_DEBUG ();
return SANITIZE (tag) == 0 && SANITIZE_BASE (offset, base); return SANITIZE (tag) && SANITIZE_BASE (offset, base);
} }
Tag tag; /* 4-byte Tag identifier */ Tag tag; /* 4-byte Tag identifier */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册