This commit is contained in:
Behdad Esfahbod 2010-04-15 14:00:25 -04:00
parent f85ec1c7da
commit 9b39755d10
1 changed files with 2 additions and 2 deletions

View File

@ -398,8 +398,8 @@ struct Tag : ULONG
inline bool sanitize (SANITIZE_ARG_DEF) { inline bool sanitize (SANITIZE_ARG_DEF) {
TRACE_SANITIZE (); TRACE_SANITIZE ();
/* Note: Only accept ASCII-visible tags (mind DEL) /* Note: Only accept ASCII-visible tags (mind DEL)
* This is one of the few times (only time?) we check * This is one of the few places (only place?) that we check
* for data integrity, as opposed o just boundary checks * for data integrity, as opposed to just boundary checks.
*/ */
return SANITIZE_SELF () && (((uint32_t) *this) & 0x80808080) == 0; return SANITIZE_SELF () && (((uint32_t) *this) & 0x80808080) == 0;
} }