[dfont] Also check dataLen range in sanitize
Just to disagree with myself re being done with this code...
This commit is contained in:
parent
3789c557ca
commit
ca746f261e
|
@ -432,6 +432,7 @@ struct ResourceForkHeader
|
||||||
{
|
{
|
||||||
TRACE_SANITIZE (this);
|
TRACE_SANITIZE (this);
|
||||||
return_trace (c->check_struct (this) &&
|
return_trace (c->check_struct (this) &&
|
||||||
|
data.sanitize (c, this, dataLen) &&
|
||||||
map.sanitize (c, this, &(this+data)));
|
map.sanitize (c, this, &(this+data)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue