[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 committed 2018-09-13 20:35:21 +02:00
1 parent 3789c557ca
commit ca746f261e
1 file changed
+1
+1
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)));
}