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

This commit is contained in:
Behdad Esfahbod 2009-08-04 23:30:32 -04:00
parent 90482b6817
commit 62ed5850d9
1 changed files with 1 additions and 1 deletions

View File

@ -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 */