mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 22:41:10 +01:00
[dfont] Also check dataLen range in sanitize
Just to disagree with myself re being done with this code...
This commit is contained in:
1 parent
3789c557ca
commit
ca746f261e
1 file changed
+1
@@ -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)));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user