[HB] Add comment
This commit is contained in:
parent
a97ce570ab
commit
cf086adca1
|
@ -47,8 +47,10 @@ template <typename Type>
|
||||||
struct Record
|
struct Record
|
||||||
{
|
{
|
||||||
inline bool sanitize (SANITIZE_ARG_DEF, const char *base) {
|
inline bool sanitize (SANITIZE_ARG_DEF, const char *base) {
|
||||||
/* Note: Doesn't sanitize referenced object */
|
/* Note: Only accept ASCII-visible tags (mind DEL)
|
||||||
/* Only accept ASCII-visible tags (mind DEL) */
|
* This is one of the few times (only time?) we check
|
||||||
|
* for data integrity, as opposed o just boundary checks
|
||||||
|
*/
|
||||||
return (tag & 0x80808080) == 0 && offset.sanitize (SANITIZE_ARG, base);
|
return (tag & 0x80808080) == 0 && offset.sanitize (SANITIZE_ARG, base);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue