[dfont] Also check dataLen range in sanitize

Just to disagree with myself re being done with this code...
This commit is contained in:
Behdad Esfahbod 2018-09-13 20:35:21 +02:00
parent 3789c557ca
commit ca746f261e
1 changed files with 1 additions and 0 deletions

View File

@ -432,6 +432,7 @@ struct ResourceForkHeader
{
TRACE_SANITIZE (this);
return_trace (c->check_struct (this) &&
data.sanitize (c, this, dataLen) &&
map.sanitize (c, this, &(this+data)));
}